Class PluginOData
- java.lang.Object
-
- de.fraunhofer.iosb.ilt.frostserver.plugin.odata.PluginOData
-
- All Implemented Interfaces:
Plugin,PluginService,ConfigDefaults
public class PluginOData extends Object implements PluginService, ConfigDefaults
- Author:
- hylke
-
-
Field Summary
Fields Modifier and Type Field Description static StringPARAM_METADATAstatic StringPATH_METADATAstatic StringREQUEST_TYPE_METADATAstatic StringTAG_ENABLE_ODATAstatic de.fraunhofer.iosb.ilt.frostserver.path.VersionVERSION_ODATA_40static de.fraunhofer.iosb.ilt.frostserver.path.VersionVERSION_ODATA_401
-
Constructor Summary
Constructors Constructor Description PluginOData()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleandefinesVersions()ServiceResponseexecute(Service mainService, ServiceRequest request, ServiceResponse response)StringgetRequestTypeFor(de.fraunhofer.iosb.ilt.frostserver.path.Version version, String path, HttpMethod method, String contentType)Collection<String>getRequestTypes()Collection<String>getVersionedUrlPaths()Collection<de.fraunhofer.iosb.ilt.frostserver.path.Version>getVersions()voidinit(CoreSettings settings)booleanisEnabled()-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface de.fraunhofer.iosb.ilt.frostserver.settings.ConfigDefaults
configDefaults, configDefaultsInt, configTags, defaultValue, defaultValueBoolean, defaultValueInt
-
-
-
-
Field Detail
-
VERSION_ODATA_40
public static final de.fraunhofer.iosb.ilt.frostserver.path.Version VERSION_ODATA_40
-
VERSION_ODATA_401
public static final de.fraunhofer.iosb.ilt.frostserver.path.Version VERSION_ODATA_401
-
PARAM_METADATA
public static final String PARAM_METADATA
- See Also:
- Constant Field Values
-
PATH_METADATA
public static final String PATH_METADATA
- See Also:
- Constant Field Values
-
REQUEST_TYPE_METADATA
public static final String REQUEST_TYPE_METADATA
- See Also:
- Constant Field Values
-
TAG_ENABLE_ODATA
public static final String TAG_ENABLE_ODATA
- See Also:
- Constant Field Values
-
-
Method Detail
-
init
public void init(CoreSettings settings)
-
getVersions
public Collection<de.fraunhofer.iosb.ilt.frostserver.path.Version> getVersions()
- Specified by:
getVersionsin interfacePluginService
-
definesVersions
public boolean definesVersions()
- Specified by:
definesVersionsin interfacePluginService
-
getVersionedUrlPaths
public Collection<String> getVersionedUrlPaths()
- Specified by:
getVersionedUrlPathsin interfacePluginService
-
getRequestTypes
public Collection<String> getRequestTypes()
- Specified by:
getRequestTypesin interfacePluginService
-
getRequestTypeFor
public String getRequestTypeFor(de.fraunhofer.iosb.ilt.frostserver.path.Version version, String path, HttpMethod method, String contentType)
- Specified by:
getRequestTypeForin interfacePluginService
-
execute
public ServiceResponse execute(Service mainService, ServiceRequest request, ServiceResponse response)
- Specified by:
executein interfacePluginService
-
-