Class JsonRequest
- java.lang.Object
-
- de.fraunhofer.iosb.ilt.frostserver.plugin.batchprocessing.batch.Request
-
- de.fraunhofer.iosb.ilt.frostserver.plugin.batchprocessing.json.JsonRequest
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classJsonRequest.ODataResponseOData Batch response.
-
Field Summary
-
Fields inherited from class de.fraunhofer.iosb.ilt.frostserver.plugin.batchprocessing.batch.Request
batchVersion, contentId, contentIdValue, data, errors, executeFailed, headersInner, headersOuter, logIndent, method, parseFailed, path, requireContentId, version
-
-
Constructor Summary
Constructors Constructor Description JsonRequest(de.fraunhofer.iosb.ilt.frostserver.path.Version batchVersion)JsonRequest(de.fraunhofer.iosb.ilt.frostserver.path.Version batchVersion, boolean requireContentId)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetContent(boolean allHeaders)Get the String content for response.voidsetStatus(int status, String text)StringtoString()-
Methods inherited from class de.fraunhofer.iosb.ilt.frostserver.plugin.batchprocessing.batch.Request
addData, getContentId, getContentIdValue, getData, getErrors, getHeaders, getHttpHeaders, getMethod, getPath, getVersion, isExecuteFailed, isParseFailed, parseUrl, setContentId, setContentIdValue, setExecuteFailed, setLogIndent, setMethod, setPath, updateUsingContentIds
-
-
-
-
Method Detail
-
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.
-
-