wvlet.airframe.http.router

Members list

Concise view

Type members

Classlikes

object Automaton

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Attributes

Companion:
object
Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes

Attributes

Companion:
trait
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
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

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
class HttpEndpointExecutionContext[Req, Resp, F[_]](val backend: HttpBackend[Req, Resp, F], routeMatch: RouteMatch, responseHandler: ResponseHandler[Req, Resp], controller: Any, codecFactory: MessageCodecFactory)(implicit evidence$1: HttpRequestAdapter[Req]) 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.

Attributes

Graph
Supertypes
trait LogSupport
trait LazyLogger
trait LoggingMethods
trait Serializable
trait HttpContext[Req, Resp, F]
trait HttpContextBase
class Object
trait Matchable
class Any
object HttpRequestDispatcher extends LogSupport

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

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

Attributes

Graph
Supertypes
trait LogSupport
trait LazyLogger
trait LoggingMethods
trait Serializable
class Object
trait Matchable
class Any
Self type
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, ...)

Attributes

Graph
Supertypes
trait LogSupport
trait LazyLogger
trait LoggingMethods
trait Serializable
class Object
trait Matchable
class Any
Self type
trait ResponseHandler[Req, Res]

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
trait Route

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

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

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes
case class RouteMatch(route: Route, params: Map[String, String])

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any

Find a matching route (RouteMatch) from a given HttpRequest

Find a matching route (RouteMatch) from a given HttpRequest

Attributes

Companion:
object
Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes
object RouteMatcher extends LogSupport

Attributes

Companion:
trait
Graph
Supertypes
trait LogSupport
trait LazyLogger
trait LoggingMethods
trait Serializable
class Object
trait Matchable
class Any
Self type

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes
class Router
Self type

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes
object Router.type