Package fr.gouv.vitam.common.model
Class RequestResponseStorage
- java.lang.Object
-
- fr.gouv.vitam.common.model.RequestResponseStorage
-
- Direct Known Subclasses:
RequestResponseError
public class RequestResponseStorage extends java.lang.Object
Request response
-
-
Constructor Summary
Constructors Constructor Description RequestResponseStorage()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.fasterxml.jackson.databind.JsonNode
getQuery()
com.fasterxml.jackson.databind.JsonNode
getResult()
RequestResponseStorage
setQuery(com.fasterxml.jackson.databind.JsonNode query)
RequestResponse constructorRequestResponseStorage
setResult(com.fasterxml.jackson.databind.JsonNode result)
RequestResponse constructor
-
-
-
Method Detail
-
getResult
public com.fasterxml.jackson.databind.JsonNode getResult()
- Returns:
- the Result part
-
setResult
public RequestResponseStorage setResult(com.fasterxml.jackson.databind.JsonNode result)
RequestResponse constructor- Parameters:
result
- the result of type JsonNode which will be setted for RequestResponse- Returns:
- this
-
getQuery
public com.fasterxml.jackson.databind.JsonNode getQuery()
- Returns:
- the query as JsonNode of Response
-
setQuery
public RequestResponseStorage setQuery(com.fasterxml.jackson.databind.JsonNode query)
RequestResponse constructor- Parameters:
query
- the query of type JsonNode which will be setted for RequestResponse- Returns:
- this
-
-