Class ContentDeserializer

  • All Implemented Interfaces:
    org.codehaus.jackson.map.ResolvableDeserializer

    public class ContentDeserializer
    extends org.codehaus.jackson.map.JsonDeserializer<Content>
    implements org.codehaus.jackson.map.ResolvableDeserializer
    Extracts Content links map from specific "hidden" _links map entries.
    • Nested Class Summary

      • Nested classes/interfaces inherited from class org.codehaus.jackson.map.JsonDeserializer

        org.codehaus.jackson.map.JsonDeserializer.None
    • Constructor Summary

      Constructors 
      Constructor Description
      ContentDeserializer​(org.codehaus.jackson.map.JsonDeserializer<?> defaultDeserializer)  
    • Constructor Detail

      • ContentDeserializer

        public ContentDeserializer​(org.codehaus.jackson.map.JsonDeserializer<?> defaultDeserializer)
    • Method Detail

      • resolve

        public void resolve​(org.codehaus.jackson.map.DeserializationConfig config,
                            org.codehaus.jackson.map.DeserializerProvider provider)
                     throws org.codehaus.jackson.map.JsonMappingException
        Specified by:
        resolve in interface org.codehaus.jackson.map.ResolvableDeserializer
        Throws:
        org.codehaus.jackson.map.JsonMappingException
      • deserialize

        public Content deserialize​(org.codehaus.jackson.JsonParser jp,
                                   org.codehaus.jackson.map.DeserializationContext ctxt)
                            throws IOException
        Specified by:
        deserialize in class org.codehaus.jackson.map.JsonDeserializer<Content>
        Throws:
        IOException