Class ObjectReaderModifier


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

      • ObjectReaderModifier

        public ObjectReaderModifier()
    • Method Detail

      • modify

        public abstract ObjectReader modify​(EndpointConfigBase<?> endpoint,
                                            MultivaluedMap<String,​String> httpHeaders,
                                            JavaType resultType,
                                            ObjectReader r,
                                            JsonParser p)
                                     throws IOException
        Method called to let modifier make any changes it wants to to objects used for reading request objects for specified endpoint.
        Parameters:
        endpoint - End point for which reader is used
        httpHeaders - HTTP headers sent with request (read-only)
        resultType - Type that input is to be bound to
        r - ObjectReader as constructed for endpoint, type to handle
        p - Parser to use for reading content
        Throws:
        IOException