Class PluginResultFormatDataArray
- java.lang.Object
-
- de.fraunhofer.iosb.ilt.frostserver.plugin.format.dataarray.PluginResultFormatDataArray
-
- All Implemented Interfaces:
Plugin,PluginResultFormat,PluginRootDocument,PluginService,ConfigDefaults
public class PluginResultFormatDataArray extends Object implements PluginResultFormat, PluginService, PluginRootDocument, ConfigDefaults
- Author:
- scf
-
-
Field Summary
Fields Modifier and Type Field Description static StringDATA_ARRAY_FORMAT_NAMEThe "name" of the dataArray resultFormatter.static StringTAG_ENABLE_DATA_ARRAY-
Fields inherited from interface de.fraunhofer.iosb.ilt.frostserver.service.PluginResultFormat
FORMAT_NAME_DEFAULT, FORMAT_NAME_EMPTY
-
-
Constructor Summary
Constructors Constructor Description PluginResultFormatDataArray()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ServiceResponseexecute(Service service, ServiceRequest request, ServiceResponse response)Collection<String>getFormatNames()StringgetRequestTypeFor(de.fraunhofer.iosb.ilt.frostserver.path.Version version, String path, HttpMethod method, String contentType)Collection<String>getRequestTypes()ResultFormattergetResultFormatter(String format)Collection<String>getVersionedUrlPaths()Collection<de.fraunhofer.iosb.ilt.frostserver.path.Version>getVersions()voidinit(CoreSettings settings)booleanisEnabled()static voidmodifyEntityFormatter()voidmodifyServiceDocument(ServiceRequest request, Map<String,Object> result)-
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
-
Methods inherited from interface de.fraunhofer.iosb.ilt.frostserver.service.PluginService
definesVersions
-
-
-
-
Field Detail
-
TAG_ENABLE_DATA_ARRAY
public static final String TAG_ENABLE_DATA_ARRAY
- See Also:
- Constant Field Values
-
DATA_ARRAY_FORMAT_NAME
public static final String DATA_ARRAY_FORMAT_NAME
The "name" of the dataArray resultFormatter.- See Also:
- Constant Field Values
-
-
Method Detail
-
init
public void init(CoreSettings settings)
-
getFormatNames
public Collection<String> getFormatNames()
- Specified by:
getFormatNamesin interfacePluginResultFormat
-
getResultFormatter
public ResultFormatter getResultFormatter(String format)
- Specified by:
getResultFormatterin interfacePluginResultFormat
-
modifyServiceDocument
public void modifyServiceDocument(ServiceRequest request, Map<String,Object> result)
- Specified by:
modifyServiceDocumentin interfacePluginRootDocument
-
getVersions
public Collection<de.fraunhofer.iosb.ilt.frostserver.path.Version> getVersions()
- Specified by:
getVersionsin interfacePluginResultFormat- Specified by:
getVersionsin 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 service, ServiceRequest request, ServiceResponse response)
- Specified by:
executein interfacePluginService
-
modifyEntityFormatter
public static void modifyEntityFormatter()
-
-