Class StreamResourceSerializer
java.lang.Object
com.fasterxml.jackson.databind.JsonSerializer<T>
com.fasterxml.jackson.databind.ser.std.StdSerializer<T>
io.jmix.mapsflowui.kit.component.serialization.AbstractSerializer<com.vaadin.flow.server.StreamResource>
io.jmix.mapsflowui.component.serialization.StreamResourceSerializer
- All Implemented Interfaces:
com.fasterxml.jackson.databind.jsonFormatVisitors.JsonFormatVisitable
,com.fasterxml.jackson.databind.jsonschema.SchemaAware
,Serializable
public class StreamResourceSerializer
extends AbstractSerializer<com.vaadin.flow.server.StreamResource>
- 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 TypeMethodDescriptionvoid
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.mapsflowui.kit.component.serialization.AbstractSerializer
serialize, writeIfNotNull, writeListIfNotEmpty
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
-
Field Details
-
uriCache
protected final Map<com.vaadin.flow.server.StreamResource,com.vaadin.flow.server.StreamRegistration> uriCache
-
-
Constructor Details
-
StreamResourceSerializer
public StreamResourceSerializer()
-
-
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 classAbstractSerializer<com.vaadin.flow.server.StreamResource>
- Throws:
IOException
-
clearCache
public void clearCache()
-