Class ObjectWriterModifier
- java.lang.Object
-
- com.fasterxml.jackson.jakarta.rs.cfg.ObjectWriterModifier
-
public abstract class ObjectWriterModifier extends Object
- Since:
- 2.3
-
-
Constructor Summary
Constructors Constructor Description ObjectWriterModifier()
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description abstract ObjectWritermodify(EndpointConfigBase<?> endpoint, MultivaluedMap<String,Object> responseHeaders, Object valueToWrite, ObjectWriter w, JsonGenerator g)Method called to let modifier make any changes it wants to to objects used for writing response for specified endpoint.
-
-
-
Method Detail
-
modify
public abstract ObjectWriter modify(EndpointConfigBase<?> endpoint, MultivaluedMap<String,Object> responseHeaders, Object valueToWrite, ObjectWriter w, 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
-
-