com.twitter.finagle.thrift.thriftscala.RequestContext

Proxy

trait Proxy extends RequestContext

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

Linear Supertypes
RequestContext, Serializable, Product2[ByteBuffer, ByteBuffer], Product, Equals, ThriftStruct, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Proxy
  2. RequestContext
  3. Serializable
  4. Product2
  5. Product
  6. Equals
  7. ThriftStruct
  8. AnyRef
  9. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Abstract Value Members

  1. abstract def _underlying_RequestContext: RequestContext

    Attributes
    protected

Concrete 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. def _1: ByteBuffer

    Definition Classes
    RequestContext → Product2
  7. def _2: ByteBuffer

    Definition Classes
    RequestContext → Product2
  8. def _passthroughFields: Map[Short, TFieldBlob]

    Definition Classes
    ProxyRequestContext
  9. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  10. def canEqual(other: Any): Boolean

    Definition Classes
    RequestContext → Equals
  11. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  12. def copy(key: ByteBuffer = this.key, value: ByteBuffer = this.value, _passthroughFields: Map[Short, TFieldBlob] = this._passthroughFields): RequestContext

    Definition Classes
    RequestContext
  13. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  14. def equals(other: Any): Boolean

    Definition Classes
    RequestContext → Equals → AnyRef → Any
  15. def finalize(): Unit

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

    Definition Classes
    AnyRef → Any
  17. def getFieldBlob(_fieldId: Short): Option[TFieldBlob]

    Gets a field value encoded as a binary blob using TCompactProtocol.

    Gets a field value encoded as a binary blob using TCompactProtocol. If the specified field is present in the passthrough map, that value is returned. Otherwise, if the specified field is known and not optional and set to None, then the field is serialized and returned.

    Definition Classes
    RequestContext
  18. def getFieldBlobs(ids: TraversableOnce[Short]): Map[Short, TFieldBlob]

    Collects TCompactProtocol-encoded field values according to getFieldBlob into a map.

    Collects TCompactProtocol-encoded field values according to getFieldBlob into a map.

    Definition Classes
    RequestContext
  19. def hashCode(): Int

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

    Definition Classes
    Any
  21. def key: ByteBuffer

    Definition Classes
    ProxyRequestContext
  22. final def ne(arg0: AnyRef): Boolean

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

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

    Definition Classes
    AnyRef
  25. def productArity: Int

    Definition Classes
    RequestContext → Product2 → Product
  26. def productElement(n: Int): Any

    Definition Classes
    RequestContext → Product2 → Product
  27. def productIterator: Iterator[Any]

    Definition Classes
    Product
  28. def productPrefix: String

    Definition Classes
    RequestContext → Product
  29. def setField(_blob: TFieldBlob): RequestContext

    Sets a field using a TCompactProtocol-encoded binary blob.

    Sets a field using a TCompactProtocol-encoded binary blob. If the field is a known field, the blob is decoded and the field is set to the decoded value. If the field is unknown and passthrough fields are enabled, then the blob will be stored in _passthroughFields.

    Definition Classes
    RequestContext
  30. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  31. def toString(): String

    Definition Classes
    RequestContext → AnyRef → Any
  32. def unsetField(_fieldId: Short): RequestContext

    If the specified field is optional, it is set to None.

    If the specified field is optional, it is set to None. Otherwise, if the field is known, it is reverted to its default value; if the field is unknown, it is removed from the passthroughFields map, if present.

    Definition Classes
    RequestContext
  33. def unsetKey: RequestContext

    If the specified field is optional, it is set to None.

    If the specified field is optional, it is set to None. Otherwise, if the field is known, it is reverted to its default value; if the field is unknown, it is removed from the passthroughFields map, if present.

    Definition Classes
    RequestContext
  34. def unsetValue: RequestContext

    Definition Classes
    RequestContext
  35. def value: ByteBuffer

    Definition Classes
    ProxyRequestContext
  36. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  39. def write(_oprot: TProtocol): Unit

    Definition Classes
    RequestContext → ThriftStruct

Inherited from RequestContext

Inherited from Serializable

Inherited from Product2[ByteBuffer, ByteBuffer]

Inherited from Product

Inherited from Equals

Inherited from ThriftStruct

Inherited from AnyRef

Inherited from Any

Ungrouped