Package com.bandwidth
Class DateTimeHelper.Rfc1123DateTimeDeserializer
java.lang.Object
com.fasterxml.jackson.databind.JsonDeserializer<java.time.ZonedDateTime>
com.bandwidth.DateTimeHelper.Rfc1123DateTimeDeserializer
- All Implemented Interfaces:
com.fasterxml.jackson.databind.deser.NullValueProvider
- Enclosing class:
- DateTimeHelper
public static class DateTimeHelper.Rfc1123DateTimeDeserializer
extends com.fasterxml.jackson.databind.JsonDeserializer<java.time.ZonedDateTime>
A class to handle deserialization of DateTime objects to Rfc1123 format strings
-
Nested Class Summary
-
Constructor Summary
Constructors Constructor Description Rfc1123DateTimeDeserializer()
-
Method Summary
Modifier and Type Method Description java.time.ZonedDateTime
deserialize(com.fasterxml.jackson.core.JsonParser jp, com.fasterxml.jackson.databind.DeserializationContext ctxt)
Methods inherited from class com.fasterxml.jackson.databind.JsonDeserializer
deserialize, deserializeWithType, findBackReference, getDelegatee, getEmptyAccessPattern, getEmptyValue, getEmptyValue, getKnownPropertyNames, getNullAccessPattern, getNullValue, getNullValue, getObjectIdReader, handledType, isCachable, replaceDelegatee, supportsUpdate, unwrappingDeserializer
-
Constructor Details
-
Rfc1123DateTimeDeserializer
public Rfc1123DateTimeDeserializer()
-
-
Method Details
-
deserialize
public java.time.ZonedDateTime deserialize(com.fasterxml.jackson.core.JsonParser jp, com.fasterxml.jackson.databind.DeserializationContext ctxt) throws java.io.IOException, com.fasterxml.jackson.core.JsonProcessingException- Specified by:
deserialize
in classcom.fasterxml.jackson.databind.JsonDeserializer<java.time.ZonedDateTime>
- Throws:
java.io.IOException
com.fasterxml.jackson.core.JsonProcessingException
-