Packages

package router

Ordering
  1. Alphabetic
Visibility
  1. Public
  2. All

Type Members

  1. trait ControllerProvider extends AnyRef

  2. 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

  3. class HttpEndpointExecutionContext[Req, Resp, F[_]] extends HttpContext[Req, Resp, F] with LogSupport

    Create the terminal request handler for processing a method with @EndPoint annotation.

    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.

  4. class RedirectToRxEndpoint extends LogSupport

    An Http endpoint definition for bypassing the request to the given endpoint

  5. trait ResponseHandler[Req, Res] extends AnyRef

  6. trait Route extends AnyRef

    A mapping from an HTTP endpoint to a corresponding method (or function)

  7. case class RouteMatch(route: Route, params: Map[String, String]) extends Product with Serializable
  8. trait RouteMatcher extends AnyRef

    Find a matching route (RouteMatch) from a given HttpRequest

  9. trait RouterBase extends AnyRef

  10. trait RouterObjectBase extends AnyRef
  11. case class RxRoute(filter: Option[FilterNode], controllerSurface: Surface, methodSurfaces: Seq[MethodSurface]) extends Product with Serializable

Value Members

  1. object Automaton

  2. object ControllerProvider
  3. object HttpRequestDispatcher extends LogSupport

    Create a filter for dispatching HTTP requests to controller methods with @Endpoint or @RPC annotation

  4. object HttpRequestMapper extends LogSupport

    Mapping HTTP requests to RPC/Endpoint method call arguments.

    Mapping HTTP requests to RPC/Endpoint method call arguments.

    http request (path parameters, query parameters, request body (json or msgpack data)) -> rpc function call arguments (p1:t1, p2:t2, ...)

  5. object RouteMatcher extends LogSupport
  6. object RouterMacros

    Macros for creating a trait factory (Session => A) so that we can register the factory upon defining Route.of[A].

    Macros for creating a trait factory (Session => A) so that we can register the factory upon defining Route.of[A].

    So once you register a route for A, you don't need to call bind[A].toSingleton, etc.

Ungrouped