NettyRPCContext

wvlet.airframe.http.netty.NettyRPCContext
class NettyRPCContext(val httpRequest: Request) extends RPCContext

Attributes

Graph
Supertypes
trait RPCContext
class Object
trait Matchable
class Any

Members list

Value members

Concrete methods

override def getThreadLocal[A](key: String): Option[A]

Get a thread-local variable that is available only within the request scope.

Get a thread-local variable that is available only within the request scope.

Attributes

Definition Classes
RPCContext
override def setThreadLocal[A](key: String, value: A): Unit

Set a thread-local variable that is available only within the request scope.

Set a thread-local variable that is available only within the request scope.

Attributes

Definition Classes
RPCContext

Inherited methods

def rpcCallContext: Option[RPCCallContext]

Attributes

Inherited from:
RPCContext

Concrete fields

val httpRequest: Request

Return the original http request RPC server received. This request may not contain the full ruquest body for the performance reason.

Return the original http request RPC server received. This request may not contain the full ruquest body for the performance reason.

Attributes