Class KanbanDownloadHandlerSerializer

java.lang.Object
tools.jackson.databind.ValueSerializer<com.vaadin.flow.server.streams.DownloadHandler>
tools.jackson.databind.ser.std.StdSerializer<com.vaadin.flow.server.streams.DownloadHandler>
io.jmix.kanbanflowui.kit.serialization.AbstractKanbanSerializer<com.vaadin.flow.server.streams.DownloadHandler>
io.jmix.kanbanflowui.component.serialization.KanbanDownloadHandlerSerializer
All Implemented Interfaces:
tools.jackson.databind.jsonFormatVisitors.JsonFormatVisitable

public class KanbanDownloadHandlerSerializer extends AbstractKanbanSerializer<com.vaadin.flow.server.streams.DownloadHandler>
Serializer for DownloadHandler. Used to provide user icons for kanban tasks.
  • Nested Class Summary

    Nested classes/interfaces inherited from class tools.jackson.databind.ValueSerializer

    tools.jackson.databind.ValueSerializer.None
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    protected final Map<com.vaadin.flow.server.streams.DownloadHandler,com.vaadin.flow.server.StreamRegistration>
     

    Fields inherited from class tools.jackson.databind.ser.std.StdSerializer

    _handledType
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected void
     
    void
    serializeNonNullValue(com.vaadin.flow.server.streams.DownloadHandler value, tools.jackson.core.JsonGenerator gen, tools.jackson.databind.SerializationContext provider)
     

    Methods inherited from class io.jmix.kanbanflowui.kit.serialization.AbstractKanbanSerializer

    serialize

    Methods inherited from class tools.jackson.databind.ser.std.StdSerializer

    _neitherNull, _nonEmpty, _wrapIOFailure, acceptJsonFormatVisitor, acceptJsonFormatVisitorForBinary, createSchemaNode, createSchemaNode, findAnnotatedContentSerializer, findContextualConvertingSerializer, findFormatFeature, findFormatOverrides, findIncludeOverrides, findPropertyFilter, handledType, isDefaultSerializer, visitArrayFormat, visitArrayFormat, visitFloatFormat, visitIntFormat, visitIntFormat, visitStringFormat, visitStringFormat, wrapAndThrow, wrapAndThrow

    Methods inherited from class tools.jackson.databind.ValueSerializer

    createContextual, getDelegatee, isEmpty, isUnwrappingSerializer, properties, replaceDelegatee, resolve, serializeWithType, unwrappingSerializer, usesObjectId, withFilterId, withFormatOverrides, withIgnoredProperties

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • uriCache

      protected final Map<com.vaadin.flow.server.streams.DownloadHandler,com.vaadin.flow.server.StreamRegistration> uriCache
  • Constructor Details

    • KanbanDownloadHandlerSerializer

      public KanbanDownloadHandlerSerializer()
  • Method Details

    • serializeNonNullValue

      public void serializeNonNullValue(com.vaadin.flow.server.streams.DownloadHandler value, tools.jackson.core.JsonGenerator gen, tools.jackson.databind.SerializationContext provider) throws tools.jackson.core.JacksonException
      Specified by:
      serializeNonNullValue in class AbstractKanbanSerializer<com.vaadin.flow.server.streams.DownloadHandler>
      Throws:
      tools.jackson.core.JacksonException
    • clearCache

      protected void clearCache()