object ResponseHeader extends ValidatingThriftStructCodec3[ResponseHeader] with StructBuilderFactory[ResponseHeader] with Serializable
The Response carries a reply header for tracing. These are empty unless the request is being debugged, in which case a transcript is copied.
- Alphabetic
- By Inheritance
- ResponseHeader
- Serializable
- Serializable
- StructBuilderFactory
- ValidatingThriftStructCodec3
- ThriftStructCodec3
- ThriftStructCodec
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Type Members
-
class
Immutable extends ResponseHeader
The default read-only implementation of ResponseHeader.
The default read-only implementation of ResponseHeader. You typically should not need to directly reference this class; instead, use the ResponseHeader.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 ContextsField: TField
- val ContextsFieldManifest: Manifest[Seq[RequestContext]]
- val SpansField: TField
- val SpansFieldManifest: Manifest[Seq[Span]]
- val Struct: TStruct
- def apply(spans: Seq[Span] = ..., contexts: Seq[RequestContext] = ...): ResponseHeader
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
def
decode(_iprot: TProtocol): ResponseHeader
- Definition Classes
- ResponseHeader → ThriftStructCodec
-
def
encode(_item: ResponseHeader, _oproto: TProtocol): Unit
- Definition Classes
- ResponseHeader → 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[ResponseHeader]
- Definition Classes
- ResponseHeader → ThriftStructCodec
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
newBuilder(): StructBuilder[ResponseHeader]
- Definition Classes
- ResponseHeader → StructBuilderFactory
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- lazy val nullableIndices: Set[Int]
- 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: ResponseHeader): Option[(Seq[Span], Seq[RequestContext])]
- lazy val unsafeEmpty: ResponseHeader
-
def
validate(_item: ResponseHeader): Unit
Checks that all required fields are non-null.
-
final
def
validateField[U <: ValidatingThriftStruct[U]](any: Any): Seq[Issue]
- Attributes
- protected
- Definition Classes
- ValidatingThriftStructCodec3
-
final
def
validateFieldValue[U <: ValidatingThriftStruct[U]](fieldName: String, fieldValue: Any, fieldAnnotations: Map[String, String], thriftValidatorOpt: Option[ThriftValidator]): Set[ThriftValidationViolation]
- Attributes
- protected
- Definition Classes
- ValidatingThriftStructCodec3
-
def
validateInstanceValue(item: ResponseHeader): Set[ThriftValidationViolation]
Validate that all validation annotations on the struct meet the criteria defined in the corresponding com.twitter.scrooge.validation.ThriftConstraintValidator.
Validate that all validation annotations on the struct meet the criteria defined in the corresponding com.twitter.scrooge.validation.ThriftConstraintValidator.
- Definition Classes
- ResponseHeader → ValidatingThriftStructCodec3
-
def
validateNewInstance(item: ResponseHeader): 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
- ResponseHeader → 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: ResponseHeader): ResponseHeader
- object Immutable extends ThriftStructCodec3[ResponseHeader] with Serializable