Top Constructors Methods
com.fasterxml.jackson.jakarta.rs.cfg

public abstract Class ObjectWriterModifier

extends Object
Class Inheritance
Imports
java.io.IOException, jakarta.ws.rs.core.MultivaluedMap, com.fasterxml.jackson.core.*, com.fasterxml.jackson.databind.*

Since
2.3

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public abstract ObjectWriter
modify(EndpointConfigBase<?> endpoint, MultivaluedMap<String, Object>
HTTP headers being returned with response (mutable)
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.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Constructor Detail

ObjectWriterModifierback to summary
public ObjectWriterModifier()

Method Detail

modifyback to summary
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:MultivaluedMap<String, Object>

HTTP headers being returned with response (mutable)