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
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    serialize(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

    Methods inherited from class Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 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:
      serialize in class tools.jackson.databind.ValueSerializer<PageableDTO>