com.atlassian.confluence.rest.serialization
Class PageResponseSerializer
java.lang.Object
org.codehaus.jackson.map.JsonSerializer<T>
org.codehaus.jackson.map.ser.std.SerializerBase<PageResponse<?>>
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 classes/interfaces inherited from class org.codehaus.jackson.map.JsonSerializer |
org.codehaus.jackson.map.JsonSerializer.None |
Fields inherited from class org.codehaus.jackson.map.ser.std.SerializerBase |
_handledType |
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 |
PageResponseSerializer
public PageResponseSerializer()
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.