Class PermalinkDeserializer
java.lang.Object
- All Implemented Interfaces:
tools.jackson.databind.deser.NullValueProvider, tools.jackson.databind.deser.ValueInstantiator.Gettable
public class PermalinkDeserializer
extends tools.jackson.databind.deser.jdk.JDKFromStringDeserializer
Deserializer for Reddit permalink fields. It constructs a full URL by combining the Reddit host with the permalink
path.
-
Nested Class Summary
Nested classes/interfaces inherited from class tools.jackson.databind.ValueDeserializer
tools.jackson.databind.ValueDeserializer.None -
Field Summary
Fields inherited from class tools.jackson.databind.deser.jdk.JDKFromStringDeserializer
_kind, STD_CHARSET, STD_CLASS, STD_CURRENCY, STD_FILE, STD_INET_ADDRESS, STD_INET_SOCKET_ADDRESS, STD_JAVA_TYPE, STD_LOCALE, STD_PATH, STD_PATTERN, STD_TIME_ZONE, STD_URI, STD_URLFields inherited from class tools.jackson.databind.deser.std.StdDeserializer
_valueClass, _valueType, F_MASK_INT_COERCIONS -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription_deserialize(String path, tools.jackson.databind.DeserializationContext ctxt) Methods inherited from class tools.jackson.databind.deser.jdk.JDKFromStringDeserializer
_deserializeFromEmptyStringDefault, _firstHyphenOrUnderscore, _shouldTrim, findDeserializer, getEmptyValue, typesMethods inherited from class tools.jackson.databind.deser.std.FromStringDeserializer
_deserializeEmbedded, _deserializeFromEmptyString, _deserializeFromOther, deserialize, logicalTypeMethods inherited from class tools.jackson.databind.deser.std.StdScalarDeserializer
deserialize, deserializeWithType, getEmptyAccessPattern, getNullAccessPattern, supportsUpdateMethods inherited from class tools.jackson.databind.deser.std.StdDeserializer
_byteOverflow, _checkBooleanToStringCoercion, _checkCoercionFail, _checkDoubleSpecialValue, _checkFloatSpecialValue, _checkFloatToIntCoercion, _checkFloatToStringCoercion, _checkFromStringCoercion, _checkFromStringCoercion, _checkIntToFloatCoercion, _checkIntToStringCoercion, _checkTextualNull, _checkToStringCoercion, _coerceBooleanFromInt, _coercedTypeDesc, _coercedTypeDesc, _coerceIntegral, _deserializeFromArray, _deserializeFromEmptyString, _deserializeFromString, _deserializeFromStringForContainer, _deserializeWrappedValue, _findCoercionFromBlankString, _findCoercionFromEmptyArray, _findCoercionFromEmptyString, _findNullProvider, _hasTextualNull, _intOverflow, _isBlank, _isFalse, _isIntNumber, _isNaN, _isNegInf, _isPosInf, _isTrue, _neitherNull, _nonNullNumber, _parseBoolean, _parseBooleanPrimitive, _parseBytePrimitive, _parseDate, _parseDate, _parseDateFromArray, _parseDouble, _parseDoublePrimitive, _parseDoublePrimitive, _parseFloatPrimitive, _parseFloatPrimitive, _parseInteger, _parseInteger, _parseIntPrimitive, _parseIntPrimitive, _parseLong, _parseLong, _parseLongPrimitive, _parseLongPrimitive, _parseShortPrimitive, _parseString, _reportFailedNullCoerce, _shortOverflow, _verifyEndArrayForSingle, _verifyNullForPrimitive, _verifyNullForPrimitive, _verifyNullForPrimitiveCoercion, _wrapIOFailure, findContentNullProvider, findContentNullStyle, findConvertingContentDeserializer, findDeserializer, findFormatFeature, findFormatFeature, findFormatOverrides, findFormatOverrides, findValueNullProvider, getValueInstantiator, getValueType, getValueType, handledType, handleMissingEndArrayForSingle, handleNestedArrayForSingle, handleUnknownProperty, isDefaultDeserializer, isDefaultKeyDeserializerMethods inherited from class tools.jackson.databind.ValueDeserializer
createContextual, deserializeWithType, findBackReference, getAbsentValue, getDelegatee, getKnownPropertyNames, getNullValue, getObjectIdReader, isCachable, replaceDelegatee, resolve, unwrappingDeserializer
-
Constructor Details
-
PermalinkDeserializer
-
-
Method Details
-
_deserialize
public Object _deserialize(String path, tools.jackson.databind.DeserializationContext ctxt) throws tools.jackson.core.JacksonException, MalformedURLException, UnknownHostException - Overrides:
_deserializein classtools.jackson.databind.deser.jdk.JDKFromStringDeserializer- Throws:
tools.jackson.core.JacksonExceptionMalformedURLExceptionUnknownHostException
-