Class PageableDTO.Serializer
java.lang.Object
tools.jackson.databind.ValueSerializer<PageableDTO>
info.ejava.examples.common.dto.paging.PageableDTO.Serializer
- All Implemented Interfaces:
tools.jackson.databind.jsonFormatVisitors.JsonFormatVisitable
- Enclosing class:
PageableDTO
public static class PageableDTO.Serializer
extends tools.jackson.databind.ValueSerializer<PageableDTO>
This adapter is called by Jackson to marshal the unmutable PageableDTO. It does so by
copying the details to the mutable DtoFacade that is used to marshal pageable contents.
-
Nested Class Summary
Nested classes/interfaces inherited from class tools.jackson.databind.ValueSerializer
tools.jackson.databind.ValueSerializer.None -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidserialize(PageableDTO value, tools.jackson.core.JsonGenerator gen, tools.jackson.databind.SerializationContext serializers) Methods inherited from class tools.jackson.databind.ValueSerializer
acceptJsonFormatVisitor, createContextual, getDelegatee, handledType, isEmpty, isUnwrappingSerializer, properties, replaceDelegatee, resolve, serializeWithType, unwrappingSerializer, usesObjectId, withFilterId, withFormatOverrides, withIgnoredProperties
-
Constructor Details
-
Serializer
public Serializer()
-
-
Method Details
-
serialize
public void serialize(PageableDTO value, tools.jackson.core.JsonGenerator gen, tools.jackson.databind.SerializationContext serializers) - Specified by:
serializein classtools.jackson.databind.ValueSerializer<PageableDTO>
-