Top Description Fields Constructors Methods
tools.jackson.jakarta.rs.cfg

public abstract Class EndpointConfigBase<THIS extends EndpointConfigBase<THIS>>

extends Object
Class Inheritance
Imports
java.lang.annotation.Annotation, com.fasterxml.jackson.annotation.JacksonAnnotationsInside, .JsonRootName, .JsonView, tools.jackson.databind.*, tools.jackson.databind.cfg.MapperConfig, tools.jackson.jakarta.rs.annotation.JacksonFeatures

Container class for figuring out annotation-based configuration for Jakarta-RS end points.

Field Summary

Modifier and TypeField and Description
protected Class<?>
protected final MapperConfig<?>
protected DeserializationFeature[]
protected DeserializationFeature[]
protected ObjectReader
protected String
protected SerializationFeature[]
protected SerializationFeature[]
protected ObjectWriter

Constructor Summary

AccessConstructor and Description
protected

Method Summary

Modifier and TypeMethod and Description
protected THIS
add(Annotation[] annotations, boolean forWriting)

protected void
addAnnotation(Class<? extends Annotation> type, Annotation annotation, boolean forWriting)

public Class<?>
public final ObjectReader
public String
public final ObjectWriter
protected THIS
protected THIS
public abstract Object
protected static <T> T[]
nullIfEmpty(T[] arg)

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

_activeViewback to summary
protected Class<?> _activeView
_configback to summary
protected final MapperConfig<?> _config
_deserDisableback to summary
protected DeserializationFeature[] _deserDisable
_deserEnableback to summary
protected DeserializationFeature[] _deserEnable
_readerback to summary
protected ObjectReader _reader
_rootNameback to summary
protected String _rootName
_serDisableback to summary
protected SerializationFeature[] _serDisable
_serEnableback to summary
protected SerializationFeature[] _serEnable
_writerback to summary
protected ObjectWriter _writer

Constructor Detail

EndpointConfigBaseback to summary
protected EndpointConfigBase(MapperConfig<?> config)

Method Detail

addback to summary
protected THIS add(Annotation[] annotations, boolean forWriting)
Annotations
@SuppressWarnings:unchecked
addAnnotationback to summary
protected void addAnnotation(Class<? extends Annotation> type, Annotation annotation, boolean forWriting)
getActiveViewback to summary
public Class<?> getActiveView()
getReaderback to summary
public final ObjectReader getReader()
getRootNameback to summary
public String getRootName()
getWriterback to summary
public final ObjectWriter getWriter()
initReaderback to summary
protected THIS initReader(ObjectReader reader)
Annotations
@SuppressWarnings:unchecked
initWriterback to summary
protected THIS initWriter(ObjectWriter writer)
Annotations
@SuppressWarnings:unchecked
modifyBeforeWriteback to summary
public abstract Object modifyBeforeWrite(Object value)
nullIfEmptyback to summary
protected static <T> T[] nullIfEmpty(T[] arg)