c

wvlet.airframe.http.router

ControllerRoute

case class ControllerRoute(rpcMethod: RPCMethod, controllerSurface: Surface, httpMethod: String, methodSurface: MethodSurface, 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, 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. Serializable
  9. Route
  10. AnyRef
  11. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new ControllerRoute(rpcMethod: RPCMethod, controllerSurface: Surface, httpMethod: String, methodSurface: MethodSurface, 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( ... ) @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[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  14. val httpMethod: String
    Definition Classes
    ControllerRouteRoute
  15. macro def info(message: Any, cause: Throwable): Unit
    Attributes
    protected
    Definition Classes
    LoggingMethods
  16. macro def info(message: Any): Unit
    Attributes
    protected
    Definition Classes
    LoggingMethods
  17. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  18. 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
  19. macro def logAt(logLevel: LogLevel, message: Any): Unit
    Attributes
    protected
    Definition Classes
    LoggingMethods
  20. lazy val logger: Logger
    Attributes
    protected[this]
    Definition Classes
    LazyLogger
  21. val methodSurface: MethodSurface
    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. def path: String
    Definition Classes
    ControllerRouteRoute
  26. val pathComponents: IndexedSeq[String]
    Definition Classes
    Route
  27. def returnTypeSurface: Surface
    Definition Classes
    ControllerRouteRoute
  28. val rpcMethod: RPCMethod
  29. lazy val serviceName: String
    Definition Classes
    ControllerRouteRoute
  30. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  31. def toString(): String
    Definition Classes
    ControllerRoute → AnyRef → Any
  32. macro def trace(message: Any, cause: Throwable): Unit
    Attributes
    protected
    Definition Classes
    LoggingMethods
  33. macro def trace(message: Any): Unit
    Attributes
    protected
    Definition Classes
    LoggingMethods
  34. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  35. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  36. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  37. macro def warn(message: Any, cause: Throwable): Unit
    Attributes
    protected
    Definition Classes
    LoggingMethods
  38. 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 Serializable

Inherited from Route

Inherited from AnyRef

Inherited from Any

Ungrouped