Class ObjectWriterModifier


  • public abstract class ObjectWriterModifier
    extends Object
    Since:
    2.3
    • Constructor Detail

      • ObjectWriterModifier

        public ObjectWriterModifier()
    • Method Detail

      • modify

        public abstract com.fasterxml.jackson.databind.ObjectWriter modify​(EndpointConfigBase<?> endpoint,
                                                                           jakarta.ws.rs.core.MultivaluedMap<String,​Object> responseHeaders,
                                                                           Object valueToWrite,
                                                                           com.fasterxml.jackson.databind.ObjectWriter w,
                                                                           com.fasterxml.jackson.core.JsonGenerator g)
                                                                    throws 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:
        IOException