public abstract class ObjectWriterModifier extends Object
Constructor and Description |
---|
ObjectWriterModifier() |
Modifier and Type | Method and Description |
---|---|
abstract com.fasterxml.jackson.databind.ObjectWriter |
modify(EndpointConfigBase<?> endpoint,
javax.ws.rs.core.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.
|
public abstract com.fasterxml.jackson.databind.ObjectWriter modify(EndpointConfigBase<?> endpoint, javax.ws.rs.core.MultivaluedMap<String,Object> responseHeaders, Object valueToWrite, com.fasterxml.jackson.databind.ObjectWriter w, com.fasterxml.jackson.core.JsonGenerator g) throws IOException
responseHeaders
- HTTP headers being returned with response (mutable)IOException
Copyright © 2017 FasterXML. All rights reserved.