Package com.joutvhu.spring.formjson
Class FormJsonDeserializer
java.lang.Object
com.fasterxml.jackson.databind.JsonDeserializer<org.springframework.web.multipart.MultipartFile>
com.joutvhu.spring.formjson.FormJsonDeserializer
- All Implemented Interfaces:
com.fasterxml.jackson.databind.deser.NullValueProvider
public class FormJsonDeserializer
extends com.fasterxml.jackson.databind.JsonDeserializer<org.springframework.web.multipart.MultipartFile>
-
Nested Class Summary
Nested classes/interfaces inherited from class com.fasterxml.jackson.databind.JsonDeserializer
com.fasterxml.jackson.databind.JsonDeserializer.None -
Constructor Summary
ConstructorsConstructorDescriptionFormJsonDeserializer(org.springframework.web.multipart.MultipartRequest request) -
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.web.multipart.MultipartFiledeserialize(com.fasterxml.jackson.core.JsonParser jsonParser, com.fasterxml.jackson.databind.DeserializationContext deserializationContext) Methods inherited from class com.fasterxml.jackson.databind.JsonDeserializer
deserialize, deserializeWithType, deserializeWithType, findBackReference, getAbsentValue, getDelegatee, getEmptyAccessPattern, getEmptyValue, getEmptyValue, getKnownPropertyNames, getNullAccessPattern, getNullValue, getNullValue, getObjectIdReader, handledType, isCachable, logicalType, replaceDelegatee, supportsUpdate, unwrappingDeserializer
-
Constructor Details
-
FormJsonDeserializer
public FormJsonDeserializer(org.springframework.web.multipart.MultipartRequest request)
-
-
Method Details
-
deserialize
public org.springframework.web.multipart.MultipartFile deserialize(com.fasterxml.jackson.core.JsonParser jsonParser, com.fasterxml.jackson.databind.DeserializationContext deserializationContext) throws IOException, com.fasterxml.jackson.core.JacksonException - Specified by:
deserializein classcom.fasterxml.jackson.databind.JsonDeserializer<org.springframework.web.multipart.MultipartFile>- Throws:
IOExceptioncom.fasterxml.jackson.core.JacksonException
-