com.atlassian.confluence.rest.serialization
Class PageResponseSerializer

java.lang.Object
  extended by org.codehaus.jackson.map.JsonSerializer<T>
      extended by org.codehaus.jackson.map.ser.std.SerializerBase<PageResponse<?>>
          extended by com.atlassian.confluence.rest.serialization.PageResponseSerializer
All Implemented Interfaces:
org.codehaus.jackson.schema.SchemaAware

public class PageResponseSerializer
extends org.codehaus.jackson.map.ser.std.SerializerBase<PageResponse<?>>

A Serializer that can handle PageResponses, that also includes special case logic to handle RestList's enriched properties.

Since:
5.7

Nested Class Summary
 
Nested classes/interfaces inherited from class org.codehaus.jackson.map.JsonSerializer
org.codehaus.jackson.map.JsonSerializer.None
 
Field Summary
 
Fields inherited from class org.codehaus.jackson.map.ser.std.SerializerBase
_handledType
 
Constructor Summary
PageResponseSerializer()
           
 
Method Summary
 void serialize(PageResponse<?> value, org.codehaus.jackson.JsonGenerator jsonGen, org.codehaus.jackson.map.SerializerProvider provider)
           
 
Methods inherited from class org.codehaus.jackson.map.ser.std.SerializerBase
createObjectNode, createSchemaNode, createSchemaNode, getSchema, handledType, isDefaultSerializer, wrapAndThrow, wrapAndThrow, wrapAndThrow, wrapAndThrow
 
Methods inherited from class org.codehaus.jackson.map.JsonSerializer
isUnwrappingSerializer, serializeWithType, unwrappingSerializer
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PageResponseSerializer

public PageResponseSerializer()
Method Detail

serialize

public void serialize(PageResponse<?> value,
                      org.codehaus.jackson.JsonGenerator jsonGen,
                      org.codehaus.jackson.map.SerializerProvider provider)
               throws IOException
Specified by:
serialize in class org.codehaus.jackson.map.ser.std.SerializerBase<PageResponse<?>>
Throws:
IOException


Copyright © 2003–2015 Atlassian. All rights reserved.