Object/Trait

com.twitter.finagle.thrift.thriftscala

RequestHeader

Related Docs: trait RequestHeader | package thriftscala

Permalink

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
Visibility
  1. Public
  2. All

Type Members

  1. class Immutable extends RequestHeader

    Permalink

    The default read-only implementation of RequestHeader.

    The default read-only implementation of RequestHeader. You typically should not need to directly reference this class; instead, use the RequestHeader.apply method to construct new instances.

  2. trait Proxy extends RequestHeader

    Permalink

    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: 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. val ClientIdField: TField

    Permalink
  5. val ClientIdFieldManifest: Manifest[ClientId]

    Permalink
  6. val ContextsField: TField

    Permalink
  7. val ContextsFieldManifest: Manifest[Seq[RequestContext]]

    Permalink
  8. val DelegationsField: TField

    Permalink
  9. val DelegationsFieldManifest: Manifest[Seq[Delegation]]

    Permalink
  10. val DestField: TField

    Permalink
  11. val DestFieldManifest: Manifest[String]

    Permalink
  12. val FlagsField: TField

    Permalink
  13. val FlagsFieldManifest: Manifest[Long]

    Permalink
  14. object Immutable extends ThriftStructCodec3[RequestHeader] with Serializable

    Permalink
  15. val NoPassthroughFields: Map[Short, TFieldBlob]

    Permalink
  16. val ParentSpanIdField: TField

    Permalink
  17. val ParentSpanIdFieldManifest: Manifest[Long]

    Permalink
  18. val SampledField: TField

    Permalink
  19. val SampledFieldManifest: Manifest[Boolean]

    Permalink
  20. val SpanIdField: TField

    Permalink
  21. val SpanIdFieldManifest: Manifest[Long]

    Permalink
  22. val Struct: TStruct

    Permalink
  23. val TraceIdField: TField

    Permalink
  24. val TraceIdFieldManifest: Manifest[Long]

    Permalink
  25. 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

    Permalink
  26. final def asInstanceOf[T0]: T0

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

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

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

    Permalink
    Definition Classes
    RequestHeader → ThriftStructCodec
  30. final def eq(arg0: AnyRef): Boolean

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

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

    Permalink

    Field information in declaration order.

  33. def finalize(): Unit

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

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

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

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

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

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

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

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

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

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

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

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

    Permalink
  46. def validate(_item: RequestHeader): Unit

    Permalink

    Checks that all required fields are non-null.

  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 withoutPassthroughFields(original: RequestHeader): RequestHeader

    Permalink

Inherited from Serializable

Inherited from Serializable

Inherited from ThriftStructCodec3[RequestHeader]

Inherited from ThriftStructCodec[RequestHeader]

Inherited from AnyRef

Inherited from Any

Ungrouped