Class NuxeoIdempotentResponse


  • public class NuxeoIdempotentResponse
    extends Object
    POJO representing response to be serialized and served by NuxeoIdempotentFilter.
    Since:
    11.5
    • Field Detail

      • SKIPPED_HEADERS

        public static final Set<String> SKIPPED_HEADERS
      • status

        protected int status
      • 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 Detail

      • NuxeoIdempotentResponse

        public NuxeoIdempotentResponse()
    • Method Detail

      • getStatus

        public int getStatus()
      • setStatus

        public void setStatus​(int status)
      • 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