Class 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  
      • Fields inherited from class org.restlet.ext.jackson.JacksonRepresentation

        XML_EXPANDING_ENTITY_REFS, XML_VALIDATING_DTD
      • Fields inherited from class org.restlet.representation.Representation

        UNKNOWN_SIZE
    • 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.OutputRepresentation

        getChannel, getStream
      • 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
      • Methods inherited from class org.restlet.representation.Variant

        createClientInfo, equals, getCharacterSet, getEncodings, getLanguages, getLocationRef, getMediaType, hashCode, includes, isCompatible, setCharacterSet, setEncodings, setLanguages, setLocationRef, setLocationRef, setMediaType, toString
    • 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 class org.restlet.ext.jackson.JacksonRepresentation<T>
      • createObjectWriter

        protected com.fasterxml.jackson.databind.ObjectWriter createObjectWriter()
        Overrides:
        createObjectWriter in class org.restlet.ext.jackson.JacksonRepresentation<T>