Package software.xdev.mailpit.client
Class RFC3339InstantDeserializer<T extends Temporal>
java.lang.Object
tools.jackson.databind.ValueDeserializer<T>
tools.jackson.databind.deser.std.StdDeserializer<T>
tools.jackson.databind.deser.std.StdScalarDeserializer<T>
tools.jackson.databind.ext.javatime.deser.JSR310DateTimeDeserializerBase<T>
tools.jackson.databind.ext.javatime.deser.InstantDeserializer<T>
software.xdev.mailpit.client.RFC3339InstantDeserializer<T>
- All Implemented Interfaces:
tools.jackson.databind.deser.NullValueProvider,tools.jackson.databind.deser.ValueInstantiator.Gettable
public class RFC3339InstantDeserializer<T extends Temporal>
extends tools.jackson.databind.ext.javatime.deser.InstantDeserializer<T>
-
Nested Class Summary
Nested classes/interfaces inherited from class tools.jackson.databind.ext.javatime.deser.InstantDeserializer
tools.jackson.databind.ext.javatime.deser.InstantDeserializer.FromDecimalArguments, tools.jackson.databind.ext.javatime.deser.InstantDeserializer.FromIntegerArgumentsNested classes/interfaces inherited from class tools.jackson.databind.ValueDeserializer
tools.jackson.databind.ValueDeserializer.None -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final booleanstatic final RFC3339InstantDeserializer<Instant>static final RFC3339InstantDeserializer<OffsetDateTime>static final RFC3339InstantDeserializer<ZonedDateTime>Fields inherited from class tools.jackson.databind.ext.javatime.deser.InstantDeserializer
_adjustToContextTZOverride, _readTimestampsAsNanosOverride, adjust, fromMilliseconds, fromNanoseconds, ISO8601_COLONLESS_OFFSET_REGEX, parsedToValue, replaceZeroOffsetAsZFields inherited from class tools.jackson.databind.ext.javatime.deser.JSR310DateTimeDeserializerBase
_formatter, _shapeFields inherited from class tools.jackson.databind.deser.std.StdDeserializer
_valueClass, _valueType, F_MASK_INT_COERCIONS -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedRFC3339InstantDeserializer(Class<T> supportedType, DateTimeFormatter formatter, Function<TemporalAccessor, T> parsedToValue, Function<tools.jackson.databind.ext.javatime.deser.InstantDeserializer.FromIntegerArguments, T> fromMilliseconds, Function<tools.jackson.databind.ext.javatime.deser.InstantDeserializer.FromDecimalArguments, T> fromNanoseconds, BiFunction<T, ZoneId, T> adjust, boolean replaceZeroOffsetAsZ, boolean normalizeZoneId, boolean readNumericStringsAsTimestamp) -
Method Summary
Modifier and TypeMethodDescriptionprotected T_failForNotLenient(tools.jackson.core.JsonParser arg0, tools.jackson.databind.DeserializationContext arg1, tools.jackson.core.JsonToken arg2) protected T_fromEmptyString(tools.jackson.core.JsonParser arg0, tools.jackson.databind.DeserializationContext arg1, String arg2) protected T_fromString(tools.jackson.core.JsonParser p, tools.jackson.databind.DeserializationContext ctxt, String string0) protected <R extends Object>
R_handleDateTimeException(tools.jackson.databind.DeserializationContext arg0, DateTimeException arg1, String arg2) protected <R extends Object>
R_handleDateTimeFormatException(tools.jackson.databind.DeserializationContext arg0, DateTimeException arg1, DateTimeFormatter arg2, String arg3) protected <R extends Object>
R_handleUnexpectedToken(tools.jackson.databind.DeserializationContext arg0, tools.jackson.core.JsonParser arg1, String arg2, Object... arg3) protected <R extends Object>
R_handleUnexpectedToken(tools.jackson.databind.DeserializationContext arg0, tools.jackson.core.JsonParser arg1, tools.jackson.core.JsonToken... arg2) protected booleanprotected DateTimeException_peelDTE(DateTimeException arg0) protected <BOGUS extends Object>
BOGUS_reportWrongToken(tools.jackson.core.JsonParser arg0, tools.jackson.databind.DeserializationContext arg1, tools.jackson.core.JsonToken... arg2) protected <BOGUS extends Object>
BOGUS_reportWrongToken(tools.jackson.databind.DeserializationContext arg0, tools.jackson.core.JsonToken arg1, String arg2) deserializeWithType(tools.jackson.core.JsonParser arg0, tools.jackson.databind.DeserializationContext arg1, tools.jackson.databind.jsontype.TypeDeserializer arg2) protected booleantools.jackson.databind.type.LogicalTypeMethods inherited from class tools.jackson.databind.ext.javatime.deser.InstantDeserializer
_countPeriods, _fromDecimal, _fromLong, _truncateToMillis, _withFormatOverrides, deserialize, shouldAdjustToContextTimezone, shouldReadTimestampsAsNanoseconds, withDateFormat, withLeniencyMethods inherited from class tools.jackson.databind.ext.javatime.deser.JSR310DateTimeDeserializerBase
_throwNoNumericTimestampNeedTimeZone, createContextual, withShapeMethods inherited from class tools.jackson.databind.deser.std.StdScalarDeserializer
deserialize, 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
collectAllPropertyNamesTo, deserializeWithType, findBackReference, getAbsentValue, getDelegatee, getEmptyValue, getKnownPropertyNames, getNullValue, getObjectIdReader, hasAnySetter, isCachable, replaceDelegatee, resolve, unwrappingDeserializer
-
Field Details
-
INSTANT
-
OFFSET_DATE_TIME
-
ZONED_DATE_TIME
-
_isLenient
protected final boolean _isLenient
-
-
Constructor Details
-
RFC3339InstantDeserializer
protected RFC3339InstantDeserializer(Class<T> supportedType, DateTimeFormatter formatter, Function<TemporalAccessor, T> parsedToValue, Function<tools.jackson.databind.ext.javatime.deser.InstantDeserializer.FromIntegerArguments, T> fromMilliseconds, Function<tools.jackson.databind.ext.javatime.deser.InstantDeserializer.FromDecimalArguments, T> fromNanoseconds, BiFunction<T, ZoneId, T> adjust, boolean replaceZeroOffsetAsZ, boolean normalizeZoneId, boolean readNumericStringsAsTimestamp)
-
-
Method Details
-
_fromString
-
isLenient
protected boolean isLenient() -
_fromEmptyString
protected T _fromEmptyString(tools.jackson.core.JsonParser arg0, tools.jackson.databind.DeserializationContext arg1, String arg2) throws tools.jackson.core.JacksonException - Throws:
tools.jackson.core.JacksonException
-
logicalType
public tools.jackson.databind.type.LogicalType logicalType()- Overrides:
logicalTypein classtools.jackson.databind.deser.std.StdScalarDeserializer<T extends Object>
-
deserializeWithType
public Object deserializeWithType(tools.jackson.core.JsonParser arg0, tools.jackson.databind.DeserializationContext arg1, tools.jackson.databind.jsontype.TypeDeserializer arg2) throws tools.jackson.core.JacksonException - Overrides:
deserializeWithTypein classtools.jackson.databind.deser.std.StdScalarDeserializer<T extends Object>- Throws:
tools.jackson.core.JacksonException
-
_isValidTimestampString
-
_reportWrongToken
protected <BOGUS extends Object> BOGUS _reportWrongToken(tools.jackson.databind.DeserializationContext arg0, tools.jackson.core.JsonToken arg1, String arg2) throws tools.jackson.core.JacksonException - Throws:
tools.jackson.core.JacksonException
-
_reportWrongToken
protected <BOGUS extends Object> BOGUS _reportWrongToken(tools.jackson.core.JsonParser arg0, tools.jackson.databind.DeserializationContext arg1, tools.jackson.core.JsonToken... arg2) throws tools.jackson.core.JacksonException - Throws:
tools.jackson.core.JacksonException
-
_handleDateTimeException
protected <R extends Object> R _handleDateTimeException(tools.jackson.databind.DeserializationContext arg0, DateTimeException arg1, String arg2) throws tools.jackson.core.JacksonException - Throws:
tools.jackson.core.JacksonException
-
_handleDateTimeFormatException
protected <R extends Object> R _handleDateTimeFormatException(tools.jackson.databind.DeserializationContext arg0, DateTimeException arg1, DateTimeFormatter arg2, String arg3) throws tools.jackson.core.JacksonException - Throws:
tools.jackson.core.JacksonException
-
_handleUnexpectedToken
-
_handleUnexpectedToken
protected <R extends Object> R _handleUnexpectedToken(tools.jackson.databind.DeserializationContext arg0, tools.jackson.core.JsonParser arg1, tools.jackson.core.JsonToken... arg2) -
_failForNotLenient
protected T _failForNotLenient(tools.jackson.core.JsonParser arg0, tools.jackson.databind.DeserializationContext arg1, tools.jackson.core.JsonToken arg2) throws tools.jackson.core.JacksonException - Throws:
tools.jackson.core.JacksonException
-
_peelDTE
-