Class ObjectWriterModifier
java.lang.Object
org.glassfish.jersey.jackson.internal.jackson.jaxrs.cfg.ObjectWriterModifier
- Since:
- 2.3
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract com.fasterxml.jackson.databind.ObjectWriter
modify
(EndpointConfigBase<?> endpoint, MultivaluedMap<String, Object> responseHeaders, 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.
-
Constructor Details
-
ObjectWriterModifier
public ObjectWriterModifier()
-
-
Method Details
-
modify
public abstract com.fasterxml.jackson.databind.ObjectWriter modify(EndpointConfigBase<?> endpoint, MultivaluedMap<String, Object> responseHeaders, Object valueToWrite, com.fasterxml.jackson.databind.ObjectWriter w, com.fasterxml.jackson.core.JsonGenerator g) throws IOExceptionMethod 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
-