c

wvlet.airframe.http.router

ControllerRoute

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

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

Linear Supertypes
Product, Equals, LogSupport, LazyLogger, LoggingMethods, Serializable, Route, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ControllerRoute
  2. Product
  3. Equals
  4. LogSupport
  5. LazyLogger
  6. LoggingMethods
  7. Serializable
  8. Route
  9. AnyRef
  10. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new ControllerRoute(rpcInterfaceCls: Class[_], controllerSurface: Surface, method: String, path: String, methodSurface: ReflectMethodSurface, isRPC: Boolean)

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def call[Req, Resp, F[_]](controller: Any, request: Req, params: Map[String, String], context: HttpContext[Req, Resp, F], codecFactory: MessageCodecFactory)(implicit arg0: HttpRequestAdapter[Req]): Any

    Find a corresponding controller and call the matching methods

    Find a corresponding controller and call the matching methods

    Definition Classes
    ControllerRouteRoute
  6. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
  7. val controllerSurface: Surface
    Definition Classes
    ControllerRouteRoute
  8. macro def debug(message: Any, cause: Throwable): Unit
    Attributes
    protected
    Definition Classes
    LoggingMethods
  9. macro def debug(message: Any): Unit
    Attributes
    protected
    Definition Classes
    LoggingMethods
  10. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  11. macro def error(message: Any, cause: Throwable): Unit
    Attributes
    protected
    Definition Classes
    LoggingMethods
  12. macro def error(message: Any): Unit
    Attributes
    protected
    Definition Classes
    LoggingMethods
  13. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  14. macro def info(message: Any, cause: Throwable): Unit
    Attributes
    protected
    Definition Classes
    LoggingMethods
  15. macro def info(message: Any): Unit
    Attributes
    protected
    Definition Classes
    LoggingMethods
  16. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  17. val isRPC: Boolean

    Returns true if this Route is for @RPC call, otherwise returns false (regular @Endpoint calls)

    Returns true if this Route is for @RPC call, otherwise returns false (regular @Endpoint calls)

    Definition Classes
    ControllerRouteRoute
  18. macro def logAt(logLevel: LogLevel, message: Any): Unit
    Attributes
    protected
    Definition Classes
    LoggingMethods
  19. lazy val logger: Logger
    Attributes
    protected[this]
    Definition Classes
    LazyLogger
  20. val method: String
    Definition Classes
    ControllerRouteRoute
  21. val methodSurface: ReflectMethodSurface
    Definition Classes
    ControllerRouteRoute
  22. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  23. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  24. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  25. val path: String
    Definition Classes
    ControllerRouteRoute
  26. val pathComponents: IndexedSeq[String]
    Definition Classes
    Route
  27. def productElementNames: Iterator[String]
    Definition Classes
    Product
  28. def returnTypeSurface: Surface
    Definition Classes
    ControllerRouteRoute
  29. val rpcInterfaceCls: Class[_]
  30. lazy val serviceName: String
    Definition Classes
    ControllerRouteRoute
  31. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  32. def toString(): String
    Definition Classes
    ControllerRoute → AnyRef → Any
  33. macro def trace(message: Any, cause: Throwable): Unit
    Attributes
    protected
    Definition Classes
    LoggingMethods
  34. macro def trace(message: Any): Unit
    Attributes
    protected
    Definition Classes
    LoggingMethods
  35. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  36. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  37. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  38. macro def warn(message: Any, cause: Throwable): Unit
    Attributes
    protected
    Definition Classes
    LoggingMethods
  39. macro def warn(message: Any): Unit
    Attributes
    protected
    Definition Classes
    LoggingMethods

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated

Inherited from Product

Inherited from Equals

Inherited from LogSupport

Inherited from LazyLogger

Inherited from LoggingMethods

Inherited from Serializable

Inherited from Route

Inherited from AnyRef

Inherited from Any

Ungrouped