Class ObjectWriterModifier

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      abstract com.fasterxml.jackson.databind.ObjectWriter modify​(EndpointConfigBase<?> endpoint, javax.ws.rs.core.MultivaluedMap<java.lang.String,​java.lang.Object> responseHeaders, java.lang.Object valueToWrite, com.fasterxml.jackson.databind.ObjectWriter w, com.fasterxml.jackson.core.JsonGenerator g)
      Method called to let modifier make any changes it wants to to objects used for writing response for specified endpoint.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ObjectWriterModifier

        public ObjectWriterModifier()
    • Method Detail

      • modify

        public abstract com.fasterxml.jackson.databind.ObjectWriter modify​(EndpointConfigBase<?> endpoint,
                                                                           javax.ws.rs.core.MultivaluedMap<java.lang.String,​java.lang.Object> responseHeaders,
                                                                           java.lang.Object valueToWrite,
                                                                           com.fasterxml.jackson.databind.ObjectWriter w,
                                                                           com.fasterxml.jackson.core.JsonGenerator g)
                                                                    throws java.io.IOException
        Method called to let modifier make any changes it wants to to objects used for writing response for specified endpoint.
        Parameters:
        responseHeaders - HTTP headers being returned with response (mutable)
        Throws:
        java.io.IOException