Class JacksonRepresentationImpl<T>
- java.lang.Object
-
- org.restlet.representation.Variant
-
- org.restlet.representation.RepresentationInfo
-
- org.restlet.representation.Representation
-
- org.restlet.representation.StreamRepresentation
-
- org.restlet.representation.OutputRepresentation
-
- org.restlet.ext.jackson.JacksonRepresentation<T>
-
- net.ontopia.topicmaps.rest.converters.jackson.JacksonRepresentationImpl<T>
-
public class JacksonRepresentationImpl<T> extends org.restlet.ext.jackson.JacksonRepresentation<T>
-
-
Field Summary
Fields Modifier and Type Field Description static String
ADDITIONAL_MIXINS_ATTRIBUTE
-
Constructor Summary
Constructors Constructor Description JacksonRepresentationImpl(org.restlet.data.MediaType mediaType, T object)
JacksonRepresentationImpl(org.restlet.representation.Representation representation, Class<T> objectClass)
JacksonRepresentationImpl(T object)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected com.fasterxml.jackson.databind.ObjectMapper
createObjectMapper()
protected com.fasterxml.jackson.databind.ObjectWriter
createObjectWriter()
-
Methods inherited from class org.restlet.ext.jackson.JacksonRepresentation
createCsvSchema, createObjectReader, getCsvSchema, getObject, getObjectClass, getObjectMapper, getObjectReader, getObjectWriter, isExpandingEntityRefs, isValidatingDtd, setCsvSchema, setExpandingEntityRefs, setObject, setObjectClass, setObjectMapper, setObjectReader, setObjectWriter, setValidatingDtd, write
-
Methods inherited from class org.restlet.representation.StreamRepresentation
getReader, write, write
-
Methods inherited from class org.restlet.representation.Representation
append, exhaust, getAvailableSize, getDigest, getDisposition, getExpirationDate, getRange, getRegistration, getSize, getText, hasKnownSize, isAvailable, isEmpty, isSelectable, isTransient, release, setAvailable, setDigest, setDisposition, setExpirationDate, setListener, setRange, setSize, setTransient
-
Methods inherited from class org.restlet.representation.RepresentationInfo
getModificationDate, getTag, setModificationDate, setTag
-
-
-
-
Field Detail
-
ADDITIONAL_MIXINS_ATTRIBUTE
public static final String ADDITIONAL_MIXINS_ATTRIBUTE
-
-
Constructor Detail
-
JacksonRepresentationImpl
public JacksonRepresentationImpl(org.restlet.data.MediaType mediaType, T object)
-
JacksonRepresentationImpl
public JacksonRepresentationImpl(org.restlet.representation.Representation representation, Class<T> objectClass)
-
JacksonRepresentationImpl
public JacksonRepresentationImpl(T object)
-
-
Method Detail
-
createObjectMapper
protected com.fasterxml.jackson.databind.ObjectMapper createObjectMapper()
- Overrides:
createObjectMapper
in classorg.restlet.ext.jackson.JacksonRepresentation<T>
-
createObjectWriter
protected com.fasterxml.jackson.databind.ObjectWriter createObjectWriter()
- Overrides:
createObjectWriter
in classorg.restlet.ext.jackson.JacksonRepresentation<T>
-
-