Class EndpointConfigBase<THIS extends EndpointConfigBase<THIS>>
java.lang.Object
com.fasterxml.jackson.jakarta.rs.cfg.EndpointConfigBase<THIS>
- Direct Known Subclasses:
JsonEndpointConfig
Container class for figuring out annotation-based configuration
for Jakarta-RS end points.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Class<?>protected final MapperConfig<?>protected DeserializationFeature[]protected DeserializationFeature[]protected ObjectReaderprotected Stringprotected SerializationFeature[]protected SerializationFeature[]protected ObjectWriter -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected THISadd(Annotation[] annotations, boolean forWriting) protected voidaddAnnotation(Class<? extends Annotation> type, Annotation annotation, boolean forWriting) Class<?>final ObjectReaderfinal ObjectWriterprotected THISinitReader(ObjectReader reader) protected THISinitWriter(ObjectWriter writer) abstract ObjectmodifyBeforeWrite(Object value) protected static <T> T[]nullIfEmpty(T[] arg)
-
Field Details
-
_config
-
_activeView
-
_rootName
-
_deserEnable
-
_deserDisable
-
_reader
-
_serEnable
-
_serDisable
-
_writer
-
-
Constructor Details
-
EndpointConfigBase
-
-
Method Details
-
add
-
addAnnotation
protected void addAnnotation(Class<? extends Annotation> type, Annotation annotation, boolean forWriting) -
initReader
-
initWriter
-
getRootName
- Since:
- 2.3
-
getActiveView
- Since:
- 2.3
-
getReader
-
getWriter
-
modifyBeforeWrite
-
nullIfEmpty
protected static <T> T[] nullIfEmpty(T[] arg)
-