RPCContext

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

Attributes

Companion
object
Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes
object EmptyRPCContext.type

Members list

Value members

Abstract methods

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

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