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 final String
     

    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
  • Constructor Summary

    Constructors
    Constructor
    Description
    JacksonRepresentationImpl(org.restlet.data.MediaType mediaType, T object)
     
    JacksonRepresentationImpl(org.restlet.representation.Representation representation, Class<T> objectClass)
     
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected com.fasterxml.jackson.databind.ObjectMapper
     
    protected com.fasterxml.jackson.databind.ObjectWriter
     

    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

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • Field Details

    • ADDITIONAL_MIXINS_ATTRIBUTE

      public static final String ADDITIONAL_MIXINS_ATTRIBUTE
  • Constructor Details

    • 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 Details

    • 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>