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 Object
Request response

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `RequestResponseStorage()`

- ## Method Summary

  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 constructor
  `RequestResponseStorage`
  `setResult(com.fasterxml.jackson.databind.JsonNode result)`
  RequestResponse constructor

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Constructor Details

  - ### RequestResponseStorage

    public RequestResponseStorage()

- ## Method Details

  - ### 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