public abstract class MessageJacksonDeserializer<T extends Message<?>>
extends com.fasterxml.jackson.databind.deser.std.StdNodeBasedDeserializer<T>
StdNodeBasedDeserializer
extension for Message
implementations.Modifier | Constructor and Description |
---|---|
protected |
MessageJacksonDeserializer(Class<T> targetType) |
Modifier and Type | Method and Description |
---|---|
protected abstract T |
buildMessage(MutableMessageHeaders headers,
Object payload,
com.fasterxml.jackson.databind.JsonNode root,
com.fasterxml.jackson.databind.DeserializationContext ctxt) |
T |
convert(com.fasterxml.jackson.databind.JsonNode root,
com.fasterxml.jackson.databind.DeserializationContext ctxt) |
protected com.fasterxml.jackson.databind.ObjectMapper |
getMapper() |
void |
setMapper(com.fasterxml.jackson.databind.ObjectMapper mapper) |
protected void |
setPayloadType(com.fasterxml.jackson.databind.JavaType payloadType) |
deserialize, deserializeWithType, resolve
_byteOverflow, _coercedTypeDesc, _coerceEmptyString, _coerceIntegral, _coerceNullToken, _coerceTextualNull, _deserializeFromArray, _deserializeFromEmpty, _deserializeWrappedValue, _failDoubleToIntCoercion, _findNullProvider, _hasTextualNull, _intOverflow, _isEmptyOrTextualNull, _isIntNumber, _isNaN, _isNegInf, _isPosInf, _neitherNull, _nonNullNumber, _parseBooleanFromInt, _parseBooleanPrimitive, _parseBooleanPrimitive, _parseBytePrimitive, _parseDate, _parseDate, _parseDateFromArray, _parseDoublePrimitive, _parseDoublePrimitive, _parseFloatPrimitive, _parseFloatPrimitive, _parseIntPrimitive, _parseIntPrimitive, _parseLongPrimitive, _parseLongPrimitive, _parseShortPrimitive, _parseString, _reportFailedNullCoerce, _shortOverflow, _verifyEndArrayForSingle, _verifyNullForPrimitive, _verifyNullForPrimitiveCoercion, _verifyNullForScalarCoercion, _verifyNumberForScalarCoercion, _verifyStringForScalarCoercion, findContentNullProvider, findContentNullStyle, findConvertingContentDeserializer, findDeserializer, findFormatFeature, findFormatOverrides, findValueNullProvider, getValueClass, getValueType, getValueType, handledType, handleMissingEndArrayForSingle, handleUnknownProperty, isDefaultDeserializer, isDefaultKeyDeserializer, parseDouble
deserialize, deserializeWithType, findBackReference, getDelegatee, getEmptyAccessPattern, getEmptyValue, getEmptyValue, getKnownPropertyNames, getNullAccessPattern, getNullValue, getNullValue, getObjectIdReader, isCachable, replaceDelegatee, supportsUpdate, unwrappingDeserializer
public void setMapper(com.fasterxml.jackson.databind.ObjectMapper mapper)
protected final void setPayloadType(com.fasterxml.jackson.databind.JavaType payloadType)
protected com.fasterxml.jackson.databind.ObjectMapper getMapper()
public T convert(com.fasterxml.jackson.databind.JsonNode root, com.fasterxml.jackson.databind.DeserializationContext ctxt) throws IOException
convert
in class com.fasterxml.jackson.databind.deser.std.StdNodeBasedDeserializer<T extends Message<?>>
IOException
protected abstract T buildMessage(MutableMessageHeaders headers, Object payload, com.fasterxml.jackson.databind.JsonNode root, com.fasterxml.jackson.databind.DeserializationContext ctxt) throws IOException
IOException