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
-
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)Collection<String>getFormatNames()StringgetRequestTypeFor(String path, HttpMethod method)Collection<String>getRequestTypes()ResultFormattergetResultFormatter()Collection<String>getUrlPaths()voidinit(CoreSettings settings)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
-
-
-
-
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()
- Specified by:
getResultFormatterin interfacePluginResultFormat
-
modifyServiceDocument
public void modifyServiceDocument(ServiceRequest request, Map<String,Object> result)
- Specified by:
modifyServiceDocumentin interfacePluginRootDocument
-
getUrlPaths
public Collection<String> getUrlPaths()
- Specified by:
getUrlPathsin interfacePluginService
-
getRequestTypes
public Collection<String> getRequestTypes()
- Specified by:
getRequestTypesin interfacePluginService
-
getRequestTypeFor
public String getRequestTypeFor(String path, HttpMethod method)
- Specified by:
getRequestTypeForin interfacePluginService
-
execute
public ServiceResponse execute(Service service, ServiceRequest request)
- Specified by:
executein interfacePluginService
-
modifyEntityFormatter
public static void modifyEntityFormatter()
-
-