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 API
getAPI()
String
getVersion()
String
getVersionType()
-
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:
getVersion
in interfaceVersionStrategy
-
getAPI
public API getAPI()
-
getVersionType
public String getVersionType()
- Specified by:
getVersionType
in interfaceVersionStrategy
-
-