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.

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

Value members

Concrete methods

override def apply(request: Req): F[Resp]
Definition Classes
HttpContext

Inherited methods

inline protected def debug(inline message: Any, inline cause: Throwable): Unit
Inherited from:
LoggingMethods
inline protected def debug(inline message: Any): Unit
Inherited from:
LoggingMethods
inline protected def error(inline message: Any, inline cause: Throwable): Unit
Inherited from:
LoggingMethods
inline protected def error(inline message: Any): Unit
Inherited from:
LoggingMethods
def getThreadLocal[A](key: String): Option[A]

Get a thread local parameter

Get a thread local parameter

Inherited from:
HttpContext
inline protected def info(inline message: Any, inline cause: Throwable): Unit
Inherited from:
LoggingMethods
inline protected def info(inline message: Any): Unit
Inherited from:
LoggingMethods
inline protected def logAt(inline logLevel: LogLevel, inline message: Any): Unit
Inherited from:
LoggingMethods
def setThreadLocal[A](key: String, value: A): Unit

Set a thread local parameter

Set a thread local parameter

Inherited from:
HttpContext
inline protected def trace(inline message: Any, inline cause: Throwable): Unit
Inherited from:
LoggingMethods
inline protected def trace(inline message: Any): Unit
Inherited from:
LoggingMethods
inline protected def warn(inline message: Any, inline cause: Throwable): Unit
Inherited from:
LoggingMethods
inline protected def warn(inline message: Any): Unit
Inherited from:
LoggingMethods
def withThreadLocalStore(body: => F[Resp]): F[Resp]
Inherited from:
HttpContext

Concrete fields

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