Package org.apache.synapse.api.version
Class AbstractVersionStrategy
- java.lang.Object
-
- org.apache.synapse.api.version.AbstractVersionStrategy
-
- All Implemented Interfaces:
VersionStrategy
- Direct Known Subclasses:
ContextVersionStrategy,DefaultStrategy,URLBasedVersionStrategy
public abstract class AbstractVersionStrategy extends Object implements VersionStrategy
-
-
Constructor Summary
Constructors Constructor Description AbstractVersionStrategy(API api, String version, String versionType)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description APIgetAPI()StringgetVersion()StringgetVersionType()-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.apache.synapse.api.version.VersionStrategy
getVersionParam, isMatchingVersion
-
-
-
-
Method Detail
-
getVersion
public String getVersion()
- Specified by:
getVersionin interfaceVersionStrategy
-
getAPI
public API getAPI()
-
getVersionType
public String getVersionType()
- Specified by:
getVersionTypein interfaceVersionStrategy
-
-