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
Modifier and TypeFieldDescriptionprotected 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
-
Method Summary
Modifier and TypeMethodDescriptionprotected 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
-
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 classAbstractKanbanSerializer<com.vaadin.flow.server.StreamResource>
- Throws:
IOException
-
clearCache
protected void clearCache()
-