Class JsonBatch
- java.lang.Object
-
- de.fraunhofer.iosb.ilt.frostserver.plugin.batchprocessing.batch.Batch<Content>
-
- de.fraunhofer.iosb.ilt.frostserver.plugin.batchprocessing.json.JsonBatch
-
-
Field Summary
-
Fields inherited from class de.fraunhofer.iosb.ilt.frostserver.plugin.batchprocessing.batch.Batch
batchVersion, errors, isChangeSet, logIndent, parseFailed, parts, settings
-
-
Constructor Summary
Constructors Constructor Description JsonBatch(de.fraunhofer.iosb.ilt.frostserver.path.Version batchVersion, CoreSettings settings, boolean isChangeSet)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetContent(boolean allHeaders)Get the String content for response.Map<String,String>getHeaders()Get the headers.booleanparse(ServiceRequest serviceRequest)-
Methods inherited from class de.fraunhofer.iosb.ilt.frostserver.plugin.batchprocessing.batch.Batch
addPart, getErrors, getParts, isParseFailed, setLogIndent
-
-
-
-
Constructor Detail
-
JsonBatch
public JsonBatch(de.fraunhofer.iosb.ilt.frostserver.path.Version batchVersion, CoreSettings settings, boolean isChangeSet)
-
-
Method Detail
-
parse
public boolean parse(ServiceRequest serviceRequest)
-
getContent
public String getContent(boolean allHeaders)
Description copied from interface:ContentGet the String content for response.- Parameters:
allHeaders- flag indicating all headers should be included. If the content is going to be added to a HttpServletResponse, the headers need to be set separately.- Returns:
- The content.
-
-