Packages

class TimeStringSerializer extends StdScalarSerializer[Time] with ContextualSerializer

A Jackson JsonSerializer for com.twitter.util.Time.

Linear Supertypes
ContextualSerializer, StdScalarSerializer[Time], StdSerializer[Time], Serializable, SchemaAware, JsonSerializer[Time], JsonFormatVisitable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. TimeStringSerializer
  2. ContextualSerializer
  3. StdScalarSerializer
  4. StdSerializer
  5. Serializable
  6. SchemaAware
  7. JsonSerializer
  8. JsonFormatVisitable
  9. AnyRef
  10. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new TimeStringSerializer(timeFormat: TimeFormat)

    timeFormat

    the configured com.twitter.util.TimeFormat for this serializer.

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. def acceptJsonFormatVisitor(arg0: JsonFormatVisitorWrapper, arg1: JavaType): Unit
    Definition Classes
    StdScalarSerializer → StdSerializer → JsonSerializer → JsonFormatVisitable
    Annotations
    @throws(classOf[com.fasterxml.jackson.databind.JsonMappingException])
  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  7. def createContextual(provider: SerializerProvider, property: BeanProperty): JsonSerializer[_]

    This method allows extracting the JsonFormat annotation and create a TimeFormat based on the specifications provided in the annotation.

    This method allows extracting the JsonFormat annotation and create a TimeFormat based on the specifications provided in the annotation. The implementation follows the Jackson's java8 & joda-time versions

    provider

    Serialization provider to access configuration, additional deserializers that may be needed by this deserializer

    property

    Method, field or constructor parameter that represents the property (and is used to assign serialized value). Should be available; but there may be cases where caller can not provide it and null is passed instead (in which case impls usually pass 'this' serializer as is)

    returns

    Serializer to use for serializing values of specified property; may be this instance or a new instance.

    Definition Classes
    TimeStringSerializer → ContextualSerializer
    See also

    https://github.com/FasterXML/jackson-modules-java8/blob/master/datetime/src/main/java/com/fasterxml/jackson/datatype/jsr310/ser/JSR310FormattedSerializerBase.java#L114

  8. def createSchemaNode(arg0: String, arg1: Boolean): ObjectNode
    Attributes
    protected[std]
    Definition Classes
    StdSerializer
  9. def createSchemaNode(arg0: String): ObjectNode
    Attributes
    protected[std]
    Definition Classes
    StdSerializer
  10. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  11. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  12. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  13. def findAnnotatedContentSerializer(arg0: SerializerProvider, arg1: BeanProperty): JsonSerializer[_ <: AnyRef]
    Attributes
    protected[std]
    Definition Classes
    StdSerializer
    Annotations
    @throws(classOf[com.fasterxml.jackson.databind.JsonMappingException])
  14. def findContextualConvertingSerializer(arg0: SerializerProvider, arg1: BeanProperty, arg2: JsonSerializer[_ <: AnyRef]): JsonSerializer[_ <: AnyRef]
    Attributes
    protected[std]
    Definition Classes
    StdSerializer
    Annotations
    @throws(classOf[com.fasterxml.jackson.databind.JsonMappingException])
  15. def findFormatFeature(arg0: SerializerProvider, arg1: BeanProperty, arg2: Class[_ <: AnyRef], arg3: Feature): Boolean
    Attributes
    protected[std]
    Definition Classes
    StdSerializer
  16. def findFormatOverrides(arg0: SerializerProvider, arg1: BeanProperty, arg2: Class[_ <: AnyRef]): Value
    Attributes
    protected[std]
    Definition Classes
    StdSerializer
  17. def findIncludeOverrides(arg0: SerializerProvider, arg1: BeanProperty, arg2: Class[_ <: AnyRef]): Value
    Attributes
    protected[std]
    Definition Classes
    StdSerializer
  18. def findPropertyFilter(arg0: SerializerProvider, arg1: AnyRef, arg2: AnyRef): PropertyFilter
    Attributes
    protected[std]
    Definition Classes
    StdSerializer
    Annotations
    @throws(classOf[com.fasterxml.jackson.databind.JsonMappingException])
  19. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  20. def getDelegatee(): JsonSerializer[_ <: AnyRef]
    Definition Classes
    JsonSerializer
  21. def getSchema(arg0: SerializerProvider, arg1: Type): JsonNode
    Definition Classes
    StdScalarSerializer → StdSerializer → SchemaAware
    Annotations
    @throws(classOf[com.fasterxml.jackson.databind.JsonMappingException])
  22. def getSchema(arg0: SerializerProvider, arg1: Type, arg2: Boolean): JsonNode
    Definition Classes
    StdSerializer → SchemaAware
    Annotations
    @throws(classOf[com.fasterxml.jackson.databind.JsonMappingException])
  23. def handledType(): Class[Time]
    Definition Classes
    StdSerializer → JsonSerializer
  24. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  25. def isDefaultSerializer(arg0: JsonSerializer[_ <: AnyRef]): Boolean
    Attributes
    protected[std]
    Definition Classes
    StdSerializer
  26. def isEmpty(arg0: SerializerProvider, arg1: Time): Boolean
    Definition Classes
    JsonSerializer
  27. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  28. def isUnwrappingSerializer(): Boolean
    Definition Classes
    JsonSerializer
  29. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  30. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  31. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  32. def properties(): Iterator[PropertyWriter]
    Definition Classes
    JsonSerializer
  33. def replaceDelegatee(arg0: JsonSerializer[_ <: AnyRef]): JsonSerializer[Time]
    Definition Classes
    JsonSerializer
  34. def serialize(value: Time, jgen: JsonGenerator, provider: SerializerProvider): Unit
    Definition Classes
    TimeStringSerializer → StdSerializer → JsonSerializer
  35. def serializeWithType(arg0: Time, arg1: JsonGenerator, arg2: SerializerProvider, arg3: TypeSerializer): Unit
    Definition Classes
    StdScalarSerializer → JsonSerializer
    Annotations
    @throws(classOf[java.io.IOException])
  36. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  37. def toString(): String
    Definition Classes
    AnyRef → Any
  38. def unwrappingSerializer(arg0: NameTransformer): JsonSerializer[Time]
    Definition Classes
    JsonSerializer
  39. def usesObjectId(): Boolean
    Definition Classes
    JsonSerializer
  40. def visitArrayFormat(arg0: JsonFormatVisitorWrapper, arg1: JavaType, arg2: JsonFormatTypes): Unit
    Attributes
    protected[std]
    Definition Classes
    StdSerializer
    Annotations
    @throws(classOf[com.fasterxml.jackson.databind.JsonMappingException])
  41. def visitArrayFormat(arg0: JsonFormatVisitorWrapper, arg1: JavaType, arg2: JsonSerializer[_ <: AnyRef], arg3: JavaType): Unit
    Attributes
    protected[std]
    Definition Classes
    StdSerializer
    Annotations
    @throws(classOf[com.fasterxml.jackson.databind.JsonMappingException])
  42. def visitFloatFormat(arg0: JsonFormatVisitorWrapper, arg1: JavaType, arg2: NumberType): Unit
    Attributes
    protected[std]
    Definition Classes
    StdSerializer
    Annotations
    @throws(classOf[com.fasterxml.jackson.databind.JsonMappingException])
  43. def visitIntFormat(arg0: JsonFormatVisitorWrapper, arg1: JavaType, arg2: NumberType, arg3: JsonValueFormat): Unit
    Attributes
    protected[std]
    Definition Classes
    StdSerializer
    Annotations
    @throws(classOf[com.fasterxml.jackson.databind.JsonMappingException])
  44. def visitIntFormat(arg0: JsonFormatVisitorWrapper, arg1: JavaType, arg2: NumberType): Unit
    Attributes
    protected[std]
    Definition Classes
    StdSerializer
    Annotations
    @throws(classOf[com.fasterxml.jackson.databind.JsonMappingException])
  45. def visitStringFormat(arg0: JsonFormatVisitorWrapper, arg1: JavaType, arg2: JsonValueFormat): Unit
    Attributes
    protected[std]
    Definition Classes
    StdSerializer
    Annotations
    @throws(classOf[com.fasterxml.jackson.databind.JsonMappingException])
  46. def visitStringFormat(arg0: JsonFormatVisitorWrapper, arg1: JavaType): Unit
    Attributes
    protected[std]
    Definition Classes
    StdSerializer
    Annotations
    @throws(classOf[com.fasterxml.jackson.databind.JsonMappingException])
  47. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  48. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  49. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  50. def withFilterId(arg0: AnyRef): JsonSerializer[_ <: AnyRef]
    Definition Classes
    JsonSerializer
  51. def wrapAndThrow(arg0: SerializerProvider, arg1: Throwable, arg2: AnyRef, arg3: Int): Unit
    Definition Classes
    StdSerializer
    Annotations
    @throws(classOf[java.io.IOException])
  52. def wrapAndThrow(arg0: SerializerProvider, arg1: Throwable, arg2: AnyRef, arg3: String): Unit
    Definition Classes
    StdSerializer
    Annotations
    @throws(classOf[java.io.IOException])

Deprecated Value Members

  1. def findConvertingContentSerializer(arg0: SerializerProvider, arg1: BeanProperty, arg2: JsonSerializer[_ <: AnyRef]): JsonSerializer[_ <: AnyRef]
    Attributes
    protected[std]
    Definition Classes
    StdSerializer
    Annotations
    @throws(classOf[com.fasterxml.jackson.databind.JsonMappingException]) @Deprecated
    Deprecated
  2. def isEmpty(arg0: Time): Boolean
    Definition Classes
    JsonSerializer
    Annotations
    @Deprecated
    Deprecated

Inherited from ContextualSerializer

Inherited from StdScalarSerializer[Time]

Inherited from StdSerializer[Time]

Inherited from Serializable

Inherited from SchemaAware

Inherited from JsonSerializer[Time]

Inherited from JsonFormatVisitable

Inherited from AnyRef

Inherited from Any

Ungrouped