Class/Object

com.twitter.finatra.jackson.serde

TimeStringSerializer

Related Docs: object TimeStringSerializer | package serde

Permalink

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

Instance Constructors

  1. new TimeStringSerializer(timeFormat: TimeFormat)

    Permalink

    timeFormat

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

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. def acceptJsonFormatVisitor(arg0: JsonFormatVisitorWrapper, arg1: JavaType): Unit

    Permalink
    Definition Classes
    StdScalarSerializer → StdSerializer → JsonSerializer → JsonFormatVisitable
    Annotations
    @throws( ... )
  5. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  6. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  7. def createContextual(provider: SerializerProvider, property: BeanProperty): JsonSerializer[_]

    Permalink

    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

    Permalink
    Attributes
    protected[com.fasterxml.jackson.databind.ser.std]
    Definition Classes
    StdSerializer
  9. def createSchemaNode(arg0: String): ObjectNode

    Permalink
    Attributes
    protected[com.fasterxml.jackson.databind.ser.std]
    Definition Classes
    StdSerializer
  10. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  11. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  12. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  13. def findAnnotatedContentSerializer(arg0: SerializerProvider, arg1: BeanProperty): JsonSerializer[_]

    Permalink
    Attributes
    protected[com.fasterxml.jackson.databind.ser.std]
    Definition Classes
    StdSerializer
    Annotations
    @throws( ... )
  14. def findContextualConvertingSerializer(arg0: SerializerProvider, arg1: BeanProperty, arg2: JsonSerializer[_]): JsonSerializer[_]

    Permalink
    Attributes
    protected[com.fasterxml.jackson.databind.ser.std]
    Definition Classes
    StdSerializer
    Annotations
    @throws( ... )
  15. def findFormatFeature(arg0: SerializerProvider, arg1: BeanProperty, arg2: Class[_], arg3: Feature): Boolean

    Permalink
    Attributes
    protected[com.fasterxml.jackson.databind.ser.std]
    Definition Classes
    StdSerializer
  16. def findFormatOverrides(arg0: SerializerProvider, arg1: BeanProperty, arg2: Class[_]): Value

    Permalink
    Attributes
    protected[com.fasterxml.jackson.databind.ser.std]
    Definition Classes
    StdSerializer
  17. def findIncludeOverrides(arg0: SerializerProvider, arg1: BeanProperty, arg2: Class[_]): Value

    Permalink
    Attributes
    protected[com.fasterxml.jackson.databind.ser.std]
    Definition Classes
    StdSerializer
  18. def findPropertyFilter(arg0: SerializerProvider, arg1: Any, arg2: Any): PropertyFilter

    Permalink
    Attributes
    protected[com.fasterxml.jackson.databind.ser.std]
    Definition Classes
    StdSerializer
    Annotations
    @throws( ... )
  19. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  20. def getDelegatee(): JsonSerializer[_]

    Permalink
    Definition Classes
    JsonSerializer
  21. def getSchema(arg0: SerializerProvider, arg1: Type): JsonNode

    Permalink
    Definition Classes
    StdScalarSerializer → StdSerializer → SchemaAware
    Annotations
    @throws( ... )
  22. def getSchema(arg0: SerializerProvider, arg1: Type, arg2: Boolean): JsonNode

    Permalink
    Definition Classes
    StdSerializer → SchemaAware
    Annotations
    @throws( ... )
  23. def handledType(): Class[Time]

    Permalink
    Definition Classes
    StdSerializer → JsonSerializer
  24. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  25. def isDefaultSerializer(arg0: JsonSerializer[_]): Boolean

    Permalink
    Attributes
    protected[com.fasterxml.jackson.databind.ser.std]
    Definition Classes
    StdSerializer
  26. def isEmpty(arg0: SerializerProvider, arg1: Time): Boolean

    Permalink
    Definition Classes
    JsonSerializer
  27. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  28. def isUnwrappingSerializer(): Boolean

    Permalink
    Definition Classes
    JsonSerializer
  29. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  30. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  31. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  32. def properties(): Iterator[PropertyWriter]

    Permalink
    Definition Classes
    JsonSerializer
  33. def replaceDelegatee(arg0: JsonSerializer[_]): JsonSerializer[Time]

    Permalink
    Definition Classes
    JsonSerializer
  34. def serialize(value: Time, jgen: JsonGenerator, provider: SerializerProvider): Unit

    Permalink
    Definition Classes
    TimeStringSerializer → StdSerializer → JsonSerializer
  35. def serializeWithType(arg0: Time, arg1: JsonGenerator, arg2: SerializerProvider, arg3: TypeSerializer): Unit

    Permalink
    Definition Classes
    StdScalarSerializer → JsonSerializer
    Annotations
    @throws( classOf[java.io.IOException] )
  36. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  37. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  38. def unwrappingSerializer(arg0: NameTransformer): JsonSerializer[Time]

    Permalink
    Definition Classes
    JsonSerializer
  39. def usesObjectId(): Boolean

    Permalink
    Definition Classes
    JsonSerializer
  40. def visitArrayFormat(arg0: JsonFormatVisitorWrapper, arg1: JavaType, arg2: JsonFormatTypes): Unit

    Permalink
    Attributes
    protected[com.fasterxml.jackson.databind.ser.std]
    Definition Classes
    StdSerializer
    Annotations
    @throws( ... )
  41. def visitArrayFormat(arg0: JsonFormatVisitorWrapper, arg1: JavaType, arg2: JsonSerializer[_], arg3: JavaType): Unit

    Permalink
    Attributes
    protected[com.fasterxml.jackson.databind.ser.std]
    Definition Classes
    StdSerializer
    Annotations
    @throws( ... )
  42. def visitFloatFormat(arg0: JsonFormatVisitorWrapper, arg1: JavaType, arg2: NumberType): Unit

    Permalink
    Attributes
    protected[com.fasterxml.jackson.databind.ser.std]
    Definition Classes
    StdSerializer
    Annotations
    @throws( ... )
  43. def visitIntFormat(arg0: JsonFormatVisitorWrapper, arg1: JavaType, arg2: NumberType, arg3: JsonValueFormat): Unit

    Permalink
    Attributes
    protected[com.fasterxml.jackson.databind.ser.std]
    Definition Classes
    StdSerializer
    Annotations
    @throws( ... )
  44. def visitIntFormat(arg0: JsonFormatVisitorWrapper, arg1: JavaType, arg2: NumberType): Unit

    Permalink
    Attributes
    protected[com.fasterxml.jackson.databind.ser.std]
    Definition Classes
    StdSerializer
    Annotations
    @throws( ... )
  45. def visitStringFormat(arg0: JsonFormatVisitorWrapper, arg1: JavaType, arg2: JsonValueFormat): Unit

    Permalink
    Attributes
    protected[com.fasterxml.jackson.databind.ser.std]
    Definition Classes
    StdSerializer
    Annotations
    @throws( ... )
  46. def visitStringFormat(arg0: JsonFormatVisitorWrapper, arg1: JavaType): Unit

    Permalink
    Attributes
    protected[com.fasterxml.jackson.databind.ser.std]
    Definition Classes
    StdSerializer
    Annotations
    @throws( ... )
  47. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  48. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  49. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  50. def withFilterId(arg0: Any): JsonSerializer[_]

    Permalink
    Definition Classes
    JsonSerializer
  51. def wrapAndThrow(arg0: SerializerProvider, arg1: Throwable, arg2: Any, arg3: Int): Unit

    Permalink
    Definition Classes
    StdSerializer
    Annotations
    @throws( classOf[java.io.IOException] )
  52. def wrapAndThrow(arg0: SerializerProvider, arg1: Throwable, arg2: Any, arg3: String): Unit

    Permalink
    Definition Classes
    StdSerializer
    Annotations
    @throws( classOf[java.io.IOException] )

Deprecated Value Members

  1. def findConvertingContentSerializer(arg0: SerializerProvider, arg1: BeanProperty, arg2: JsonSerializer[_]): JsonSerializer[_]

    Permalink
    Attributes
    protected[com.fasterxml.jackson.databind.ser.std]
    Definition Classes
    StdSerializer
    Annotations
    @Deprecated @deprecated @throws( ... )
    Deprecated

    (Since version ) see corresponding Javadoc for more information.

  2. def isEmpty(arg0: Time): Boolean

    Permalink
    Definition Classes
    JsonSerializer
    Annotations
    @Deprecated @deprecated
    Deprecated

    (Since version ) see corresponding Javadoc for more information.

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