Class ObjectReaderModifier
java.lang.Object
org.glassfish.jersey.jackson.internal.jackson.jaxrs.cfg.ObjectReaderModifier
- Since:
- 2.3
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract com.fasterxml.jackson.databind.ObjectReader
modify
(EndpointConfigBase<?> endpoint, MultivaluedMap<String, String> httpHeaders, com.fasterxml.jackson.databind.JavaType resultType, com.fasterxml.jackson.databind.ObjectReader r, com.fasterxml.jackson.core.JsonParser p) Method called to let modifier make any changes it wants to to objects used for reading request objects for specified endpoint.
-
Constructor Details
-
ObjectReaderModifier
public ObjectReaderModifier()
-
-
Method Details
-
modify
public abstract com.fasterxml.jackson.databind.ObjectReader modify(EndpointConfigBase<?> endpoint, MultivaluedMap<String, String> httpHeaders, com.fasterxml.jackson.databind.JavaType resultType, com.fasterxml.jackson.databind.ObjectReader r, com.fasterxml.jackson.core.JsonParser p) throws IOExceptionMethod 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 usedhttpHeaders
- HTTP headers sent with request (read-only)resultType
- Type that input is to be bound tor
- ObjectReader as constructed for endpoint, type to handlep
- Parser to use for reading content- Throws:
IOException
-