public class HttpQueryDeserializer extends com.fasterxml.jackson.databind.deser.std.StdDeserializer<Object>
| Constructor and Description |
|---|
HttpQueryDeserializer(com.fasterxml.jackson.databind.JavaType javaType,
boolean ignoreUnknown,
boolean decodeNames,
boolean decodeValues)
Create a deserializer for converting a Http query string to a typed object.
|
| Modifier and Type | Method and Description |
|---|---|
Object |
deserialize(com.fasterxml.jackson.core.JsonParser jp,
com.fasterxml.jackson.databind.DeserializationContext ctxt) |
void |
deserializeNameValue(List<String> encodedValues,
com.fasterxml.jackson.databind.deser.SettableBeanProperty prop,
com.fasterxml.jackson.core.JsonParser p,
com.fasterxml.jackson.databind.DeserializationContext ctxt,
Object bean)
Set an object value using the supplied query param.
|
_byteOverflow, _coercedTypeDesc, _coerceEmptyString, _coerceIntegral, _coerceNullToken, _coerceTextualNull, _deserializeFromArray, _deserializeFromEmpty, _deserializeWrappedValue, _failDoubleToIntCoercion, _findNullProvider, _hasTextualNull, _intOverflow, _isEmptyOrTextualNull, _isIntNumber, _isNaN, _isNegInf, _isPosInf, _neitherNull, _nonNullNumber, _parseBooleanFromInt, _parseBooleanPrimitive, _parseBytePrimitive, _parseDate, _parseDate, _parseDateFromArray, _parseDoublePrimitive, _parseDoublePrimitive, _parseFloatPrimitive, _parseFloatPrimitive, _parseIntPrimitive, _parseIntPrimitive, _parseLongPrimitive, _parseLongPrimitive, _parseShortPrimitive, _parseString, _reportFailedNullCoerce, _shortOverflow, _verifyEndArrayForSingle, _verifyNullForPrimitive, _verifyNullForPrimitiveCoercion, _verifyNullForScalarCoercion, _verifyNumberForScalarCoercion, _verifyStringForScalarCoercion, deserializeWithType, findContentNullProvider, findContentNullStyle, findConvertingContentDeserializer, findDeserializer, findFormatFeature, findFormatOverrides, findValueNullProvider, getValueClass, getValueType, getValueType, handledType, handleMissingEndArrayForSingle, handleUnknownProperty, isDefaultDeserializer, isDefaultKeyDeserializer, parseDoubledeserialize, deserializeWithType, findBackReference, getDelegatee, getEmptyAccessPattern, getEmptyValue, getEmptyValue, getKnownPropertyNames, getNullAccessPattern, getNullValue, getNullValue, getObjectIdReader, isCachable, replaceDelegatee, supportsUpdate, unwrappingDeserializerpublic HttpQueryDeserializer(com.fasterxml.jackson.databind.JavaType javaType,
boolean ignoreUnknown,
boolean decodeNames,
boolean decodeValues)
javaType - The type to deserializer into.ignoreUnknown - Whether to ignore unknown parametersdecodeNames - Should names be URL decodeddecodeValues - Should values be URL decodedpublic Object deserialize(com.fasterxml.jackson.core.JsonParser jp, com.fasterxml.jackson.databind.DeserializationContext ctxt) throws IOException, com.fasterxml.jackson.core.JsonProcessingException
deserialize in class com.fasterxml.jackson.databind.JsonDeserializer<Object>IOExceptioncom.fasterxml.jackson.core.JsonProcessingExceptionpublic void deserializeNameValue(List<String> encodedValues, com.fasterxml.jackson.databind.deser.SettableBeanProperty prop, com.fasterxml.jackson.core.JsonParser p, com.fasterxml.jackson.databind.DeserializationContext ctxt, Object bean) throws IOException
encodedValues - The encoded valuesprop - The property we are settingp - The parserctxt - The deserialization contextbean - The bean that holds the propertyIOException - if unable to deserializeCopyright © 2020. All rights reserved.