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

public abstract Class ObjectReaderModifier

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 ObjectReader
modify(EndpointConfigBase<?>
End point for which reader is used
endpoint
,
MultivaluedMap<String, String>
HTTP headers sent with request (read-only)
httpHeaders
,
JavaType
Type that input is to be bound to
resultType
,
ObjectReader
ObjectReader as constructed for endpoint, type to handle
r
,
JsonParser
Parser to use for reading content
p
)

Method called to let modifier make any changes it wants to to objects used for reading request objects for specified endpoint.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Constructor Detail

ObjectReaderModifierback to summary
public ObjectReaderModifier()

Method Detail

modifyback to summary
public abstract ObjectReader modify(EndpointConfigBase<?> endpoint, MultivaluedMap<String, String> httpHeaders, JavaType resultType, ObjectReader r, JsonParser p) throws IOException

Method called to let modifier make any changes it wants to to objects used for reading request objects for specified endpoint.

Parameters
endpoint:EndpointConfigBase<?>

End point for which reader is used

httpHeaders:MultivaluedMap<String, String>

HTTP headers sent with request (read-only)

resultType:JavaType

Type that input is to be bound to

r:ObjectReader

ObjectReader as constructed for endpoint, type to handle

p:JsonParser

Parser to use for reading content