Package org.web3j.protocol.deserializer
Class RawResponseDeserializer
- java.lang.Object
-
- com.fasterxml.jackson.databind.JsonDeserializer<T>
-
- com.fasterxml.jackson.databind.deser.std.StdDeserializer<Response>
-
- org.web3j.protocol.deserializer.RawResponseDeserializer
-
- All Implemented Interfaces:
com.fasterxml.jackson.databind.deser.ResolvableDeserializer
,java.io.Serializable
public class RawResponseDeserializer extends com.fasterxml.jackson.databind.deser.std.StdDeserializer<Response> implements com.fasterxml.jackson.databind.deser.ResolvableDeserializer
A jackson deserializer that sets the rawResponse variable of Response objects.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description RawResponseDeserializer(com.fasterxml.jackson.databind.JsonDeserializer<?> defaultDeserializer)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Response
deserialize(com.fasterxml.jackson.core.JsonParser jp, com.fasterxml.jackson.databind.DeserializationContext ctxt)
void
resolve(com.fasterxml.jackson.databind.DeserializationContext ctxt)
-
Methods inherited from class com.fasterxml.jackson.databind.deser.std.StdDeserializer
_coerceIntegral, _deserializeFromEmpty, _failDoubleToIntCoercion, _hasTextualNull, _isIntNumber, _isNaN, _isNegInf, _isPosInf, _parseBoolean, _parseBooleanFromInt, _parseBooleanFromOther, _parseBooleanPrimitive, _parseByte, _parseDate, _parseDate, _parseDouble, _parseDoublePrimitive, _parseFloat, _parseFloatPrimitive, _parseInteger, _parseIntPrimitive, _parseLong, _parseLongPrimitive, _parseShort, _parseShortPrimitive, _parseString, deserializeWithType, findConvertingContentDeserializer, findDeserializer, findFormatFeature, findFormatOverrides, getValueClass, getValueType, handledType, handleMissingEndArrayForSingle, handleUnknownProperty, isDefaultDeserializer, isDefaultKeyDeserializer, parseDouble
-
-
-
-
Method Detail
-
deserialize
public Response deserialize(com.fasterxml.jackson.core.JsonParser jp, com.fasterxml.jackson.databind.DeserializationContext ctxt) throws java.io.IOException
- Specified by:
deserialize
in classcom.fasterxml.jackson.databind.JsonDeserializer<Response>
- Throws:
java.io.IOException
-
resolve
public void resolve(com.fasterxml.jackson.databind.DeserializationContext ctxt) throws com.fasterxml.jackson.databind.JsonMappingException
- Specified by:
resolve
in interfacecom.fasterxml.jackson.databind.deser.ResolvableDeserializer
- Throws:
com.fasterxml.jackson.databind.JsonMappingException
-
-