ControllerRoute

case class ControllerRoute(rpcInterfaceCls: Class[_], controllerSurface: Surface, method: String, path: String, methodSurface: MethodSurface, isRPC: Boolean) extends Route with LogSupport

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

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

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

Definition Classes
override def returnTypeSurface: Surface
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.

Returns:

a string representation of the object.

Definition Classes
Any

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
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 productElementNames: Iterator[String]
Inherited from:
Product
def productIterator: Iterator[Any]
Inherited from:
Product
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

Concrete fields

lazy override val serviceName: String

Inherited fields

val pathComponents: IndexedSeq[String]
Inherited from:
Route