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.FromIntegerArguments

    Nested classes/interfaces inherited from class tools.jackson.databind.ValueDeserializer

    tools.jackson.databind.ValueDeserializer.None
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    protected final boolean
     
     
     
     

    Fields inherited from class tools.jackson.databind.ext.javatime.deser.InstantDeserializer

    _adjustToContextTZOverride, _readTimestampsAsNanosOverride, adjust, fromMilliseconds, fromNanoseconds, ISO8601_COLONLESS_OFFSET_REGEX, parsedToValue, replaceZeroOffsetAsZ

    Fields inherited from class tools.jackson.databind.ext.javatime.deser.JSR310DateTimeDeserializerBase

    _formatter, _shape

    Fields inherited from class tools.jackson.databind.deser.std.StdDeserializer

    _valueClass, _valueType, F_MASK_INT_COERCIONS
  • Constructor Summary

    Constructors
    Modifier
    Constructor
    Description
    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 Summary

    Modifier and Type
    Method
    Description
    protected 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 boolean
     
     
    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 boolean
     
    tools.jackson.databind.type.LogicalType
     

    Methods inherited from class tools.jackson.databind.ext.javatime.deser.InstantDeserializer

    _countPeriods, _fromDecimal, _fromLong, _truncateToMillis, _withFormatOverrides, deserialize, shouldAdjustToContextTimezone, shouldReadTimestampsAsNanoseconds, withDateFormat, withLeniency

    Methods inherited from class tools.jackson.databind.ext.javatime.deser.JSR310DateTimeDeserializerBase

    _throwNoNumericTimestampNeedTimeZone, createContextual, withShape

    Methods inherited from class tools.jackson.databind.deser.std.StdScalarDeserializer

    deserialize, getEmptyAccessPattern, getNullAccessPattern, supportsUpdate

    Methods 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, isDefaultKeyDeserializer

    Methods inherited from class tools.jackson.databind.ValueDeserializer

    collectAllPropertyNamesTo, deserializeWithType, findBackReference, getAbsentValue, getDelegatee, getEmptyValue, getKnownPropertyNames, getNullValue, getObjectIdReader, hasAnySetter, isCachable, replaceDelegatee, resolve, unwrappingDeserializer

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

  • 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

      protected T _fromString(tools.jackson.core.JsonParser p, tools.jackson.databind.DeserializationContext ctxt, String string0) throws tools.jackson.core.JacksonException
      Overrides:
      _fromString in class tools.jackson.databind.ext.javatime.deser.InstantDeserializer<T extends Temporal>
      Throws:
      tools.jackson.core.JacksonException
    • 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:
      logicalType in class tools.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:
      deserializeWithType in class tools.jackson.databind.deser.std.StdScalarDeserializer<T extends Object>
      Throws:
      tools.jackson.core.JacksonException
    • _isValidTimestampString

      protected boolean _isValidTimestampString(String arg0)
    • _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

      protected <R extends Object> R _handleUnexpectedToken(tools.jackson.databind.DeserializationContext arg0, tools.jackson.core.JsonParser arg1, String arg2, Object... arg3)
    • _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

      protected DateTimeException _peelDTE(DateTimeException arg0)