Class EndpointTransferMapper.MultipartFileDeserializer
java.lang.Object
tools.jackson.databind.ValueDeserializer<org.springframework.web.multipart.MultipartFile>
com.vaadin.hilla.endpointransfermapper.EndpointTransferMapper.MultipartFileDeserializer
- All Implemented Interfaces:
tools.jackson.databind.deser.NullValueProvider
- Enclosing class:
EndpointTransferMapper
public static class EndpointTransferMapper.MultipartFileDeserializer
extends tools.jackson.databind.ValueDeserializer<org.springframework.web.multipart.MultipartFile>
A deserializer for MultipartFile. It is needed because otherwise Jackson
tries to deserialize the object which is already a POJO.
-
Nested Class Summary
Nested classes/interfaces inherited from class tools.jackson.databind.ValueDeserializer
tools.jackson.databind.ValueDeserializer.None -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.web.multipart.MultipartFiledeserialize(tools.jackson.core.JsonParser p, tools.jackson.databind.DeserializationContext ctxt) Methods inherited from class tools.jackson.databind.ValueDeserializer
createContextual, deserialize, deserializeWithType, deserializeWithType, findBackReference, getAbsentValue, getDelegatee, getEmptyAccessPattern, getEmptyValue, getKnownPropertyNames, getNullAccessPattern, getNullValue, getObjectIdReader, handledType, isCachable, logicalType, replaceDelegatee, resolve, supportsUpdate, unwrappingDeserializer
-
Constructor Details
-
MultipartFileDeserializer
public MultipartFileDeserializer()
-
-
Method Details
-
deserialize
public org.springframework.web.multipart.MultipartFile deserialize(tools.jackson.core.JsonParser p, tools.jackson.databind.DeserializationContext ctxt) - Specified by:
deserializein classtools.jackson.databind.ValueDeserializer<org.springframework.web.multipart.MultipartFile>
-