public class EndpointConfig extends Object
| Modifier and Type | Field and Description |
|---|---|
protected Class<?> |
_activeView |
protected com.fasterxml.jackson.databind.DeserializationFeature[] |
_deserDisable |
protected com.fasterxml.jackson.databind.DeserializationFeature[] |
_deserEnable |
protected JSONP.Def |
_jsonp |
protected com.fasterxml.jackson.databind.ObjectReader |
_reader |
protected String |
_rootName |
protected com.fasterxml.jackson.databind.SerializationFeature[] |
_serDisable |
protected com.fasterxml.jackson.databind.SerializationFeature[] |
_serEnable |
protected com.fasterxml.jackson.databind.ObjectWriter |
_writer |
| Modifier | Constructor and Description |
|---|---|
protected |
EndpointConfig() |
| Modifier and Type | Method and Description |
|---|---|
protected EndpointConfig |
add(Annotation[] annotations,
boolean forWriting) |
Object |
applyJSONP(Object value)
Method that will add JSONP wrapper object, if and as
configured by collected annotations.
|
static EndpointConfig |
forReading(com.fasterxml.jackson.databind.ObjectMapper mapper,
Annotation[] annotations) |
static EndpointConfig |
forWriting(com.fasterxml.jackson.databind.ObjectMapper mapper,
Annotation[] annotations,
String defaultJsonpMethod) |
com.fasterxml.jackson.databind.ObjectReader |
getReader() |
com.fasterxml.jackson.databind.ObjectWriter |
getWriter() |
protected EndpointConfig |
initReader(com.fasterxml.jackson.databind.ObjectMapper mapper) |
protected EndpointConfig |
initWriter(com.fasterxml.jackson.databind.ObjectMapper mapper) |
protected Class<?> _activeView
protected String _rootName
protected com.fasterxml.jackson.databind.DeserializationFeature[] _deserEnable
protected com.fasterxml.jackson.databind.DeserializationFeature[] _deserDisable
protected com.fasterxml.jackson.databind.ObjectReader _reader
protected JSONP.Def _jsonp
protected com.fasterxml.jackson.databind.SerializationFeature[] _serEnable
protected com.fasterxml.jackson.databind.SerializationFeature[] _serDisable
protected com.fasterxml.jackson.databind.ObjectWriter _writer
public static EndpointConfig forReading(com.fasterxml.jackson.databind.ObjectMapper mapper, Annotation[] annotations)
public static EndpointConfig forWriting(com.fasterxml.jackson.databind.ObjectMapper mapper, Annotation[] annotations, String defaultJsonpMethod)
protected EndpointConfig add(Annotation[] annotations, boolean forWriting)
protected EndpointConfig initReader(com.fasterxml.jackson.databind.ObjectMapper mapper)
protected EndpointConfig initWriter(com.fasterxml.jackson.databind.ObjectMapper mapper)
public com.fasterxml.jackson.databind.ObjectReader getReader()
public com.fasterxml.jackson.databind.ObjectWriter getWriter()
Copyright © 2012 FasterXML. All Rights Reserved.