Class NuxeoIdempotentResponse
java.lang.Object
org.nuxeo.ecm.platform.web.common.idempotency.NuxeoIdempotentResponse
POJO representing response to be serialized and served by
NuxeoIdempotentFilter
.- Since:
- 11.5
-
Field Summary
Modifier and TypeFieldDescriptionprotected Map<String,
Collection<String>> protected static final com.fasterxml.jackson.databind.ObjectMapper
protected static final com.fasterxml.jackson.databind.ObjectReader
protected int
protected static final com.fasterxml.jackson.databind.ObjectWriter
-
Constructor Summary
-
Method Summary
-
Field Details
-
SKIPPED_HEADERS
-
status
protected int status -
headers
-
MAPPER
protected static final com.fasterxml.jackson.databind.ObjectMapper MAPPER -
READ_MAPPER
protected static final com.fasterxml.jackson.databind.ObjectReader READ_MAPPER -
WRITE_MAPPER
protected static final com.fasterxml.jackson.databind.ObjectWriter WRITE_MAPPER
-
-
Constructor Details
-
NuxeoIdempotentResponse
public NuxeoIdempotentResponse()
-
-
Method Details
-
getStatus
public int getStatus() -
setStatus
public void setStatus(int status) -
getHeaders
-
setHeader
-
restore
public static final void restore(javax.servlet.http.HttpServletResponse response, byte[] bytes) throws IOException - Throws:
IOException
-
save
public static final byte[] save(javax.servlet.http.HttpServletResponse response) throws com.fasterxml.jackson.core.JsonProcessingException - Throws:
com.fasterxml.jackson.core.JsonProcessingException
-