Package org.apache.ofbiz.ws.rs.spi.impl
Class LinkSerializer
java.lang.Object
com.fasterxml.jackson.databind.JsonSerializer<javax.ws.rs.core.Link>
org.apache.ofbiz.ws.rs.spi.impl.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
-
Method Summary
Modifier and TypeMethodDescriptionvoid
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, withIgnoredProperties
-
Constructor Details
-
LinkSerializer
public LinkSerializer()
-
-
Method Details
-
serialize
public void serialize(javax.ws.rs.core.Link link, com.fasterxml.jackson.core.JsonGenerator jsonGenerator, com.fasterxml.jackson.databind.SerializerProvider serializerProvider) throws IOException Serialize.- Specified by:
serialize
in classcom.fasterxml.jackson.databind.JsonSerializer<javax.ws.rs.core.Link>
- Parameters:
link
- the linkjsonGenerator
- the json generatorserializerProvider
- the serializer provider- Throws:
IOException
- the io exception
-