wvlet.airframe.http.router

Members list

Type members

Classlikes

object Automaton

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type
Automaton.type

Attributes

Companion
object
Supertypes
class Object
trait Matchable
class Any
Known subtypes

Attributes

Companion
trait
Supertypes
class Object
trait Matchable
class Any
Self type
case class ControllerRoute(rpcMethod: RPCMethod, controllerSurface: Surface, httpMethod: String, methodSurface: MethodSurface, isRPC: Boolean) extends Route, 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

Supertypes
trait Product
trait Equals
trait LogSupport
trait LazyLogger
trait LoggingMethods
trait Serializable
trait Route
class Object
trait Matchable
class Any
Show all
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], 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

Supertypes
trait LogSupport
trait LazyLogger
trait LoggingMethods
trait Serializable
trait HttpContext[Req, Resp, F]
class Object
trait Matchable
class Any
Show all
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

Supertypes
trait LogSupport
trait LazyLogger
trait LoggingMethods
trait Serializable
class Object
trait Matchable
class Any
Show all
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

Supertypes
trait LogSupport
trait LazyLogger
trait LoggingMethods
trait Serializable
class Object
trait Matchable
class Any
Show all
Self type
class RedirectToRxEndpoint(endpoint: RxHttpEndpoint) extends LogSupport

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

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

Attributes

Supertypes
trait LogSupport
trait LazyLogger
trait LoggingMethods
trait Serializable
class Object
trait Matchable
class Any
Show all
trait ResponseHandler[Req, Res]

Attributes

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

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

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
trait RouteMatcher

Find a matching route (RouteMatch) from a given HttpRequest

Find a matching route (RouteMatch) from a given HttpRequest

Attributes

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

Attributes

Companion
trait
Supertypes
trait LogSupport
trait LazyLogger
trait LoggingMethods
trait Serializable
class Object
trait Matchable
class Any
Show all
Self type
trait RouterBase

Attributes

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

Attributes

Supertypes
class Object
trait Matchable
class Any
Known subtypes
object Router.type
case class RxRoute(filter: Option[FilterNode], controllerSurface: Surface, methodSurfaces: Seq[MethodSurface])

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all