ControllerRoute

wvlet.airframe.http.router.ControllerRoute
case class ControllerRoute(rpcMethod: RPCMethod, controllerSurface: Surface, httpMethod: String, methodSurface: MethodSurface, isRPC: Boolean) extends Route with LogSupport

Define mappings from an HTTP request to a controller method which has the Endpoint annotation

Attributes

Graph
Supertypes
trait Product
trait Equals
trait LogSupport
trait LazyLogger
trait LoggingMethods
trait Serializable
trait Route
class Object
trait Matchable
class Any

Members list

Concise view

Value members

Concrete methods

override def call[Req : HttpRequestAdapter, Resp, F[_]](controller: Any, request: Req, params: Map[String, String], context: HttpContext[Req, Resp, F], codecFactory: MessageCodecFactory): Any

Find a corresponding controller and call the matching methods

Find a corresponding controller and call the matching methods

Attributes

Definition Classes
def path: String
override def returnTypeSurface: Surface

Attributes

Definition Classes
override def toString: String

Returns a string representation of the object.

Returns a string representation of the object.

The default representation is platform dependent.

Attributes

Returns:

a string representation of the object.

Definition Classes
Any

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
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 productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product
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

Concrete fields

lazy override val serviceName: String

Inherited fields

val pathComponents: IndexedSeq[String]

Attributes

Inherited from:
Route