com.fasterxml.jackson.jaxrs.xml.annotation
Class EndpointConfig

java.lang.Object
  extended by com.fasterxml.jackson.jaxrs.xml.annotation.EndpointConfig

public class EndpointConfig
extends Object

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


Field Summary
protected  Class<?> _activeView
           
protected  com.fasterxml.jackson.databind.DeserializationFeature[] _deserDisable
           
protected  com.fasterxml.jackson.databind.DeserializationFeature[] _deserEnable
           
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
           
 
Constructor Summary
protected EndpointConfig()
           
 
Method Summary
protected  EndpointConfig add(Annotation[] annotations, boolean forWriting)
           
static EndpointConfig forReading(com.fasterxml.jackson.databind.ObjectMapper mapper, Annotation[] annotations)
           
static EndpointConfig forWriting(com.fasterxml.jackson.databind.ObjectMapper mapper, Annotation[] annotations)
           
 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)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

_activeView

protected Class<?> _activeView

_rootName

protected 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
Constructor Detail

EndpointConfig

protected EndpointConfig()
Method Detail

forReading

public static EndpointConfig forReading(com.fasterxml.jackson.databind.ObjectMapper mapper,
                                        Annotation[] annotations)

forWriting

public static EndpointConfig forWriting(com.fasterxml.jackson.databind.ObjectMapper mapper,
                                        Annotation[] annotations)

add

protected EndpointConfig add(Annotation[] annotations,
                             boolean forWriting)

initReader

protected EndpointConfig initReader(com.fasterxml.jackson.databind.ObjectMapper mapper)

initWriter

protected EndpointConfig initWriter(com.fasterxml.jackson.databind.ObjectMapper mapper)

getReader

public com.fasterxml.jackson.databind.ObjectReader getReader()

getWriter

public com.fasterxml.jackson.databind.ObjectWriter getWriter()


Copyright © 2012 FasterXML. All Rights Reserved.