Class LinkSerializer

  • All Implemented Interfaces:
    com.fasterxml.jackson.databind.jsonFormatVisitors.JsonFormatVisitable

    public class LinkSerializer
    extends com.fasterxml.jackson.databind.JsonSerializer<javax.ws.rs.core.Link>
    • Nested Class Summary

      • Nested classes/interfaces inherited from class com.fasterxml.jackson.databind.JsonSerializer

        com.fasterxml.jackson.databind.JsonSerializer.None
    • Constructor Summary

      Constructors 
      Constructor Description
      LinkSerializer()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void serialize​(javax.ws.rs.core.Link link, com.fasterxml.jackson.core.JsonGenerator jsonGenerator, com.fasterxml.jackson.databind.SerializerProvider serializerProvider)
      Serialize.
      • Methods inherited from class com.fasterxml.jackson.databind.JsonSerializer

        acceptJsonFormatVisitor, getDelegatee, handledType, isEmpty, isEmpty, isUnwrappingSerializer, properties, replaceDelegatee, serializeWithType, unwrappingSerializer, usesObjectId, withFilterId
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • LinkSerializer

        public LinkSerializer()
    • Method Detail

      • serialize

        public void serialize​(javax.ws.rs.core.Link link,
                              com.fasterxml.jackson.core.JsonGenerator jsonGenerator,
                              com.fasterxml.jackson.databind.SerializerProvider serializerProvider)
                       throws java.io.IOException
        Serialize.
        Specified by:
        serialize in class com.fasterxml.jackson.databind.JsonSerializer<javax.ws.rs.core.Link>
        Parameters:
        link - the link
        jsonGenerator - the json generator
        serializerProvider - the serializer provider
        Throws:
        java.io.IOException - the io exception