Package com.fasterxml.jackson.jaxrs.cfg
Class EndpointConfigBase<THIS extends EndpointConfigBase<THIS>>
- java.lang.Object
-
- com.fasterxml.jackson.jaxrs.cfg.EndpointConfigBase<THIS>
-
- Direct Known Subclasses:
JsonEndpointConfig
public abstract class EndpointConfigBase<THIS extends EndpointConfigBase<THIS>> extends java.lang.ObjectContainer class for figuring out annotation-based configuration for JAX-RS end points.
-
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.Class<?>_activeViewprotected com.fasterxml.jackson.databind.cfg.MapperConfig<?>_configprotected com.fasterxml.jackson.databind.DeserializationFeature[]_deserDisableprotected com.fasterxml.jackson.databind.DeserializationFeature[]_deserEnableprotected com.fasterxml.jackson.databind.ObjectReader_readerprotected java.lang.String_rootNameprotected com.fasterxml.jackson.databind.SerializationFeature[]_serDisableprotected com.fasterxml.jackson.databind.SerializationFeature[]_serEnableprotected com.fasterxml.jackson.databind.ObjectWriter_writer
-
Constructor Summary
Constructors Modifier Constructor Description protectedEndpointConfigBase(com.fasterxml.jackson.databind.cfg.MapperConfig<?> config)
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected THISadd(java.lang.annotation.Annotation[] annotations, boolean forWriting)protected voidaddAnnotation(java.lang.Class<? extends java.lang.annotation.Annotation> type, java.lang.annotation.Annotation annotation, boolean forWriting)java.lang.Class<?>getActiveView()com.fasterxml.jackson.databind.ObjectReadergetReader()java.lang.StringgetRootName()com.fasterxml.jackson.databind.ObjectWritergetWriter()protected THISinitReader(com.fasterxml.jackson.databind.ObjectReader reader)protected THISinitWriter(com.fasterxml.jackson.databind.ObjectWriter writer)abstract java.lang.ObjectmodifyBeforeWrite(java.lang.Object value)protected static <T> T[]nullIfEmpty(T[] arg)
-
-
-
Field Detail
-
_config
protected final com.fasterxml.jackson.databind.cfg.MapperConfig<?> _config
- Since:
- 2.6
-
_activeView
protected java.lang.Class<?> _activeView
-
_rootName
protected java.lang.String _rootName
-
_deserEnable
protected com.fasterxml.jackson.databind.DeserializationFeature[] _deserEnable
-
_deserDisable
protected com.fasterxml.jackson.databind.DeserializationFeature[] _deserDisable
-
_reader
protected com.fasterxml.jackson.databind.ObjectReader _reader
-
_serEnable
protected com.fasterxml.jackson.databind.SerializationFeature[] _serEnable
-
_serDisable
protected com.fasterxml.jackson.databind.SerializationFeature[] _serDisable
-
_writer
protected com.fasterxml.jackson.databind.ObjectWriter _writer
-
-
Method Detail
-
add
protected THIS add(java.lang.annotation.Annotation[] annotations, boolean forWriting)
-
addAnnotation
protected void addAnnotation(java.lang.Class<? extends java.lang.annotation.Annotation> type, java.lang.annotation.Annotation annotation, boolean forWriting)
-
initReader
protected THIS initReader(com.fasterxml.jackson.databind.ObjectReader reader)
-
initWriter
protected THIS initWriter(com.fasterxml.jackson.databind.ObjectWriter writer)
-
getRootName
public java.lang.String getRootName()
- Since:
- 2.3
-
getActiveView
public java.lang.Class<?> getActiveView()
- Since:
- 2.3
-
getReader
public final com.fasterxml.jackson.databind.ObjectReader getReader()
-
getWriter
public final com.fasterxml.jackson.databind.ObjectWriter getWriter()
-
modifyBeforeWrite
public abstract java.lang.Object modifyBeforeWrite(java.lang.Object value)
-
nullIfEmpty
protected static <T> T[] nullIfEmpty(T[] arg)
-
-