object RequestHeader extends ValidatingThriftStructCodec3[RequestHeader] with StructBuilderFactory[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.
- Alphabetic
- By Inheritance
- RequestHeader
- Serializable
- Serializable
- StructBuilderFactory
- ValidatingThriftStructCodec3
- ThriftStructCodec3
- ThriftStructCodec
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Type Members
-
class
Immutable extends RequestHeader
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.
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- val ClientIdField: TField
- val ClientIdFieldManifest: Manifest[ClientId]
- val ContextsField: TField
- val ContextsFieldManifest: Manifest[Seq[RequestContext]]
- val DelegationsField: TField
- val DelegationsFieldManifest: Manifest[Seq[Delegation]]
- val DestField: TField
- val DestFieldManifest: Manifest[String]
- val FlagsField: TField
- val FlagsFieldManifest: Manifest[Long]
- val ParentSpanIdField: TField
- val ParentSpanIdFieldManifest: Manifest[Long]
- val SampledField: TField
- val SampledFieldManifest: Manifest[Boolean]
- val SpanIdField: TField
- val SpanIdFieldManifest: Manifest[Long]
- val Struct: TStruct
- val TraceIdField: TField
- val TraceIdFieldManifest: Manifest[Long]
- val TraceIdHighField: TField
- val TraceIdHighFieldManifest: Manifest[Long]
- 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, traceIdHigh: Option[Long] = _root_.scala.None): RequestHeader
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
def
decode(_iprot: TProtocol): RequestHeader
- Definition Classes
- RequestHeader → ThriftStructCodec
-
def
encode(_item: RequestHeader, _oproto: TProtocol): Unit
- Definition Classes
- RequestHeader → ThriftStructCodec
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
lazy val
fieldInfos: List[ThriftStructFieldInfo]
Field information in declaration order.
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
lazy val
metaData: ThriftStructMetaData[RequestHeader]
- Definition Classes
- RequestHeader → ThriftStructCodec
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
newBuilder(): StructBuilder[RequestHeader]
- Definition Classes
- RequestHeader → StructBuilderFactory
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- val structAnnotations: Map[String, String]
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
def
ttypeToString(byte: Byte): String
- Attributes
- protected
- Definition Classes
- ThriftStructCodec3
- def unapply(_item: RequestHeader): Option[(Long, Long, Option[Long], Option[Boolean], Option[ClientId], Option[Long], Seq[RequestContext], Option[String], Option[Seq[Delegation]], Option[Long])]
- lazy val unsafeEmpty: RequestHeader
-
def
validate(_item: RequestHeader): Unit
Checks that all required fields are non-null.
-
final
def
validateField[U <: ValidatingThriftStruct[U]](any: Any): Seq[Issue]
- Attributes
- protected
- Definition Classes
- ValidatingThriftStructCodec3
-
def
validateNewInstance(item: RequestHeader): Seq[Issue]
Checks that the struct is a valid as a new instance.
Checks that the struct is a valid as a new instance. If there are any missing required or construction required fields, return a non-empty list.
- Definition Classes
- RequestHeader → ValidatingThriftStructCodec3
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
- def withoutPassthroughFields(original: RequestHeader): RequestHeader
- object Immutable extends ThriftStructCodec3[RequestHeader] with Serializable