HttpContext

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.

Companion:
object
class Object
trait Matchable
class Any
class Context

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]

Concrete methods

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

Get a thread local parameter

Get a thread local parameter

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

Set a thread local parameter

Set a thread local parameter

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