public class JacksonRepresentationImpl<T>
extends org.restlet.ext.jackson.JacksonRepresentation<T>
Modifier and Type | Field and Description |
---|---|
static String |
ADDITIONAL_MIXINS_ATTRIBUTE |
Constructor and Description |
---|
JacksonRepresentationImpl(org.restlet.data.MediaType mediaType,
T object) |
JacksonRepresentationImpl(org.restlet.representation.Representation representation,
Class<T> objectClass) |
JacksonRepresentationImpl(T object) |
Modifier and Type | Method and Description |
---|---|
protected com.fasterxml.jackson.databind.ObjectMapper |
createObjectMapper() |
protected com.fasterxml.jackson.databind.ObjectWriter |
createObjectWriter() |
createCsvSchema, createObjectReader, getCsvSchema, getObject, getObjectClass, getObjectMapper, getObjectReader, getObjectWriter, isExpandingEntityRefs, isValidatingDtd, setCsvSchema, setExpandingEntityRefs, setObject, setObjectClass, setObjectMapper, setObjectReader, setObjectWriter, setValidatingDtd, write
getReader, write, write
append, exhaust, getAvailableSize, getDigest, getDisposition, getExpirationDate, getRange, getRegistration, getSize, getText, hasKnownSize, isAvailable, isEmpty, isSelectable, isTransient, release, setAvailable, setDigest, setDisposition, setExpirationDate, setListener, setRange, setSize, setTransient
getModificationDate, getTag, setModificationDate, setTag
public static final String ADDITIONAL_MIXINS_ATTRIBUTE
public JacksonRepresentationImpl(org.restlet.data.MediaType mediaType, T object)
public JacksonRepresentationImpl(org.restlet.representation.Representation representation, Class<T> objectClass)
public JacksonRepresentationImpl(T object)
protected com.fasterxml.jackson.databind.ObjectMapper createObjectMapper()
createObjectMapper
in class org.restlet.ext.jackson.JacksonRepresentation<T>
protected com.fasterxml.jackson.databind.ObjectWriter createObjectWriter()
createObjectWriter
in class org.restlet.ext.jackson.JacksonRepresentation<T>