Class KanbanStreamResourceSerializer

java.lang.Object
com.fasterxml.jackson.databind.JsonSerializer<T>
com.fasterxml.jackson.databind.ser.std.StdSerializer<T>
io.jmix.kanbanflowui.kit.serialization.AbstractKanbanSerializer<com.vaadin.flow.server.StreamResource>
io.jmix.kanbanflowui.component.serialization.KanbanStreamResourceSerializer
All Implemented Interfaces:
com.fasterxml.jackson.databind.jsonFormatVisitors.JsonFormatVisitable, com.fasterxml.jackson.databind.jsonschema.SchemaAware, Serializable

public class KanbanStreamResourceSerializer extends AbstractKanbanSerializer<com.vaadin.flow.server.StreamResource>
Serializer for StreamResource. Used to provide user icons for kanban tasks.
See Also:
  • Nested Class Summary

    Nested classes/interfaces inherited from class com.fasterxml.jackson.databind.JsonSerializer

    com.fasterxml.jackson.databind.JsonSerializer.None
  • Field Summary

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

    Fields inherited from class com.fasterxml.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.StreamResource value, com.fasterxml.jackson.core.JsonGenerator gen, com.fasterxml.jackson.databind.SerializerProvider provider)
     

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

    serialize

    Methods inherited from class com.fasterxml.jackson.databind.ser.std.StdSerializer

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

    Methods inherited from class com.fasterxml.jackson.databind.JsonSerializer

    getDelegatee, isEmpty, isEmpty, isUnwrappingSerializer, properties, replaceDelegatee, serializeWithType, unwrappingSerializer, usesObjectId, withFilterId, 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.StreamResource,com.vaadin.flow.server.StreamRegistration> uriCache
  • Constructor Details

    • KanbanStreamResourceSerializer

      public KanbanStreamResourceSerializer()
  • Method Details

    • serializeNonNullValue

      public void serializeNonNullValue(com.vaadin.flow.server.StreamResource value, com.fasterxml.jackson.core.JsonGenerator gen, com.fasterxml.jackson.databind.SerializerProvider provider) throws IOException
      Specified by:
      serializeNonNullValue in class AbstractKanbanSerializer<com.vaadin.flow.server.StreamResource>
      Throws:
      IOException
    • clearCache

      protected void clearCache()