com.twitter.finagle.thrift.thriftscala

RequestHeader

object RequestHeader extends ThriftStructCodec3[RequestHeader] with Serializable

RequestHeader defines headers for the request. These carry the span data, and a flag indicating whether the request is to be debugged.

Linear Supertypes
Serializable, Serializable, ThriftStructCodec3[RequestHeader], ThriftStructCodec[RequestHeader], AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. RequestHeader
  2. Serializable
  3. Serializable
  4. ThriftStructCodec3
  5. ThriftStructCodec
  6. AnyRef
  7. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Type Members

  1. class Immutable extends RequestHeader

    The default read-only implementation of RequestHeader.

  2. trait Proxy extends RequestHeader

    This Proxy trait allows you to extend the RequestHeader trait with additional state or behavior and implement the read-only methods from RequestHeader using an underlying instance.

Value Members

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

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

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

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  6. val ClientIdField: TField

  7. val ClientIdFieldManifest: Manifest[ClientId]

  8. val ContextsField: TField

  9. val ContextsFieldManifest: Manifest[Seq[RequestContext]]

  10. val DelegationsField: TField

  11. val DelegationsFieldManifest: Manifest[Seq[Delegation]]

  12. val DestField: TField

  13. val DestFieldManifest: Manifest[String]

  14. val FlagsField: TField

  15. val FlagsFieldManifest: Manifest[Long]

  16. object Immutable extends ThriftStructCodec3[RequestHeader] with Serializable

  17. val ParentSpanIdField: TField

  18. val ParentSpanIdFieldManifest: Manifest[Long]

  19. val SampledField: TField

  20. val SampledFieldManifest: Manifest[Boolean]

  21. val SpanIdField: TField

  22. val SpanIdFieldManifest: Manifest[Long]

  23. val Struct: TStruct

  24. val TraceIdField: TField

  25. val TraceIdFieldManifest: Manifest[Long]

  26. def apply(traceId: Long, spanId: Long, parentSpanId: Option[Long] = _root_.scala.None, sampled: Option[Boolean] = _root_.scala.None, clientId: Option[ClientId] = _root_.scala.None, flags: Option[Long] = _root_.scala.None, contexts: Seq[RequestContext] = ..., dest: Option[String] = _root_.scala.None, delegations: Option[Seq[Delegation]] = _root_.scala.None): RequestHeader

  27. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  28. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  29. def decode(_iprot: TProtocol): RequestHeader

    Definition Classes
    RequestHeader → ThriftStructCodec
  30. val decoder: (TProtocol) ⇒ RequestHeader

    Definition Classes
    ThriftStructCodec3 → ThriftStructCodec
  31. def encode(_item: RequestHeader, _oproto: TProtocol): Unit

    Definition Classes
    RequestHeader → ThriftStructCodec
  32. val encoder: (RequestHeader, TProtocol) ⇒ Unit

    Definition Classes
    ThriftStructCodec3 → ThriftStructCodec
  33. final def eq(arg0: AnyRef): Boolean

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

    Definition Classes
    AnyRef → Any
  35. lazy val fieldInfos: List[ThriftStructFieldInfo]

    Field information in declaration order.

  36. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  37. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  38. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  39. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  40. lazy val metaData: ThriftStructMetaData[RequestHeader]

    Definition Classes
    ThriftStructCodec
  41. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  42. final def notify(): Unit

    Definition Classes
    AnyRef
  43. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  44. lazy val structAnnotations: Map[String, String]

  45. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  46. def toString(): String

    Definition Classes
    AnyRef → Any
  47. def ttypeToString(byte: Byte): String

    Attributes
    protected
    Definition Classes
    ThriftStructCodec3
  48. def unapply(_item: RequestHeader): Option[Product9[Long, Long, Option[Long], Option[Boolean], Option[ClientId], Option[Long], Seq[RequestContext], Option[String], Option[Seq[Delegation]]]]

  49. def validate(_item: RequestHeader): Unit

    Checks that all required fields are non-null.

  50. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  53. def withoutPassthroughFields(original: RequestHeader): RequestHeader

Inherited from Serializable

Inherited from Serializable

Inherited from ThriftStructCodec3[RequestHeader]

Inherited from ThriftStructCodec[RequestHeader]

Inherited from AnyRef

Inherited from Any

Ungrouped