public abstract class EndpointConfigBase<THIS extends EndpointConfigBase<THIS>> extends Object
Modifier and Type | Field and Description |
---|---|
protected Class<?> |
_activeView |
protected MapperConfig<?> |
_config |
protected DeserializationFeature[] |
_deserDisable |
protected DeserializationFeature[] |
_deserEnable |
protected ObjectReader |
_reader |
protected String |
_rootName |
protected SerializationFeature[] |
_serDisable |
protected SerializationFeature[] |
_serEnable |
protected ObjectWriter |
_writer |
Modifier | Constructor and Description |
---|---|
protected |
EndpointConfigBase()
Deprecated.
|
protected |
EndpointConfigBase(MapperConfig<?> config) |
Modifier and Type | Method and Description |
---|---|
protected THIS |
add(Annotation[] annotations,
boolean forWriting) |
protected void |
addAnnotation(Class<? extends Annotation> type,
Annotation annotation,
boolean forWriting) |
Class<?> |
getActiveView() |
ObjectReader |
getReader() |
String |
getRootName() |
ObjectWriter |
getWriter() |
protected THIS |
initReader(ObjectReader reader) |
protected THIS |
initWriter(ObjectWriter writer) |
abstract Object |
modifyBeforeWrite(Object value) |
protected static <T> T[] |
nullIfEmpty(T[] arg) |
protected final MapperConfig<?> _config
protected Class<?> _activeView
protected String _rootName
protected DeserializationFeature[] _deserEnable
protected DeserializationFeature[] _deserDisable
protected ObjectReader _reader
protected SerializationFeature[] _serEnable
protected SerializationFeature[] _serDisable
protected ObjectWriter _writer
protected EndpointConfigBase(MapperConfig<?> config)
@Deprecated protected EndpointConfigBase()
protected THIS add(Annotation[] annotations, boolean forWriting)
protected void addAnnotation(Class<? extends Annotation> type, Annotation annotation, boolean forWriting)
protected THIS initReader(ObjectReader reader)
protected THIS initWriter(ObjectWriter writer)
public String getRootName()
public Class<?> getActiveView()
public final ObjectReader getReader()
public final ObjectWriter getWriter()
protected static <T> T[] nullIfEmpty(T[] arg)
Copyright © 2019 JBoss by Red Hat. All rights reserved.