public class PageResponseSerializer extends org.codehaus.jackson.map.ser.std.SerializerBase<PageResponse<?>>
Seems like this code path is used only within tests.
Whereas in production because of EnricherResourceFilterFactory
RestEntityConverter
is applied to each response before it gets serialized forcing it to pass via RestList
or RestEntity
serialization path.
Constructor and Description |
---|
PageResponseSerializer() |
Modifier and Type | Method and Description |
---|---|
void |
serialize(PageResponse<?> value,
org.codehaus.jackson.JsonGenerator jsonGen,
org.codehaus.jackson.map.SerializerProvider provider) |
createObjectNode, createSchemaNode, createSchemaNode, getSchema, handledType, isDefaultSerializer, wrapAndThrow, wrapAndThrow, wrapAndThrow, wrapAndThrow
public void serialize(PageResponse<?> value, org.codehaus.jackson.JsonGenerator jsonGen, org.codehaus.jackson.map.SerializerProvider provider) throws IOException
serialize
in class org.codehaus.jackson.map.ser.std.SerializerBase<PageResponse<?>>
IOException
Copyright © 2003–2018 Atlassian. All rights reserved.