HttpEndpointExecutionContext

wvlet.airframe.http.router.HttpEndpointExecutionContext
class HttpEndpointExecutionContext[Req, Resp, F[_]](val backend: HttpBackend[Req, Resp, F], routeMatch: RouteMatch, responseHandler: ResponseHandler[Req, Resp], controller: Any, codecFactory: MessageCodecFactory)(implicit evidence$1: HttpRequestAdapter[Req]) extends HttpContext[Req, Resp, F] with LogSupport

Create the terminal request handler for processing a method with @EndPoint annotation.

This handler will call a controller method with the request parameters build from the method arguments.

Attributes

Graph
Supertypes
trait LogSupport
trait LazyLogger
trait LoggingMethods
trait Serializable
trait HttpContext[Req, Resp, F]
trait HttpContextBase
class Object
trait Matchable
class Any

Members list

Concise view

Value members

Concrete methods

override 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

Definition Classes
HttpContext

Inherited methods

inline protected def debug(inline message: Any, inline cause: Throwable): Unit

Attributes

Inherited from:
LoggingMethods
inline protected def debug(inline message: Any): Unit

Attributes

Inherited from:
LoggingMethods
inline protected def error(inline message: Any, inline cause: Throwable): Unit

Attributes

Inherited from:
LoggingMethods
inline protected def error(inline message: Any): Unit

Attributes

Inherited from:
LoggingMethods
def getThreadLocal[A](key: String): Option[A]

Get a thread local parameter

Get a thread local parameter

Attributes

Inherited from:
HttpContext
inline protected def info(inline message: Any, inline cause: Throwable): Unit

Attributes

Inherited from:
LoggingMethods
inline protected def info(inline message: Any): Unit

Attributes

Inherited from:
LoggingMethods
inline protected def logAt(inline logLevel: LogLevel, inline message: Any): Unit

Attributes

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

Set a thread local parameter

Set a thread local parameter

Attributes

Inherited from:
HttpContext
inline protected def trace(inline message: Any, inline cause: Throwable): Unit

Attributes

Inherited from:
LoggingMethods
inline protected def trace(inline message: Any): Unit

Attributes

Inherited from:
LoggingMethods
inline protected def warn(inline message: Any, inline cause: Throwable): Unit

Attributes

Inherited from:
LoggingMethods
inline protected def warn(inline message: Any): Unit

Attributes

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

Attributes

Inherited from:
HttpContext

Concrete fields

protected val backend: HttpBackend[Req, Resp, F]