HttpContext

wvlet.airframe.http.HttpContext
See theHttpContext companion object
trait HttpContext[Req, Resp, F[_]] extends HttpContextBase

Used for passing the subsequent actions to HttpFilter and for defining the leaf action of request processing chain.

Attributes

Companion
object
Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes
class HttpEndpointExecutionContext[Req, Resp, F]
class Context

Members list

Value members

Abstract methods

def apply(request: Req): F[Resp]

Process the preceding filters and get the resulting Future[Response]

Process the preceding filters and get the resulting Future[Response]

Attributes

Concrete methods

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

Get a thread local parameter

Get a thread local parameter

Attributes

def setThreadLocal[A](key: String, value: A): Unit

Set a thread local parameter

Set a thread local parameter

Attributes

def withThreadLocalStore(body: => F[Resp]): F[Resp]