Class JsonBatchResultItem
java.lang.Object
de.fraunhofer.iosb.ilt.frostserver.plugin.batchprocessing.json.JsonBatchResultItem
The result of an individual batch request item.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddHeaders(String name, List<String> values) addHeaders(Map<String, List<String>> values) getBody()de.fraunhofer.iosb.ilt.frostserver.model.EntityTypegetId()de.fraunhofer.iosb.ilt.frostserver.model.core.PkValueintbooleanisFailed()setBodyJsonFormatted(String body) setBodyNotFormatted(Object body) setEntityType(de.fraunhofer.iosb.ilt.frostserver.model.EntityType entityType) setIdValue(de.fraunhofer.iosb.ilt.frostserver.model.core.PkValue idValue) setLocation(String location) setStatus(int code)
-
Field Details
-
entityType
public de.fraunhofer.iosb.ilt.frostserver.model.EntityType entityType -
id
-
idValue
public de.fraunhofer.iosb.ilt.frostserver.model.core.PkValue idValue -
status
public int status -
headers
-
body
-
location
For backwards compatibility, should be in headers.
-
-
Constructor Details
-
JsonBatchResultItem
public JsonBatchResultItem()
-
-
Method Details
-
getBody
-
setBodyNotFormatted
-
setBodyJsonFormatted
-
getEntityType
public de.fraunhofer.iosb.ilt.frostserver.model.EntityType getEntityType() -
setEntityType
public JsonBatchResultItem setEntityType(de.fraunhofer.iosb.ilt.frostserver.model.EntityType entityType) -
getHeaders
-
addHeaders
-
addHeaders
-
addHeader
-
setHeader
-
getId
-
setId
-
getIdValue
public de.fraunhofer.iosb.ilt.frostserver.model.core.PkValue getIdValue() -
setIdValue
public JsonBatchResultItem setIdValue(de.fraunhofer.iosb.ilt.frostserver.model.core.PkValue idValue) -
getLocation
-
setLocation
-
getStatus
public int getStatus() -
isFailed
public boolean isFailed() -
setStatus
-