RPCContext

wvlet.airframe.http.RPCContext
See theRPCContext companion object
trait RPCContext

Attributes

Companion
object
Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes

Members list

Value members

Abstract methods

def getThreadLocal(key: String): Option[Any]

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

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

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

Concrete methods

Deprecated methods

def getThreadLocalUnsafe[A](key: String): Option[A]

Get a thread-local variable that is available only within the request scope. The type must be specified explicitly.

Get a thread-local variable that is available only within the request scope. The type must be specified explicitly.

Attributes

Deprecated
true