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
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    org.springframework.web.multipart.MultipartFile
    deserialize(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

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 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:
      deserialize in class tools.jackson.databind.ValueDeserializer<org.springframework.web.multipart.MultipartFile>