VertxFutureServerInterpreter

class Object
trait Matchable
class Any

Type members

Inherited classlikes

class VertxFutureToScalaFuture[A](future: => Future[A])

Value members

Inherited methods

def blockingRoute[I, E, O](e: ServerEndpoint[I, E, O, Any, [T] =>> Future[T]])(implicit endpointOptions: VertxFutureServerOptions): Router => Route

Given a Router, creates and mounts a Route matching this endpoint, with default error handling The logic will be executed in a blocking context

Given a Router, creates and mounts a Route matching this endpoint, with default error handling The logic will be executed in a blocking context

Value Params
endpointOptions

options associated to the endpoint, like its logging capabilities, or execution context

Returns

A function, that given a router, will attach this endpoint to it

Inherited from
VertxFutureServerInterpreter
def blockingRoute[I, E, O](e: Endpoint[I, E, O, Any])(logic: I => Future[Either[E, O]])(implicit endpointOptions: VertxFutureServerOptions): Router => Route

Given a Router, creates and mounts a Route matching this endpoint, with default error handling The logic will be executed in a blocking context

Given a Router, creates and mounts a Route matching this endpoint, with default error handling The logic will be executed in a blocking context

Value Params
endpointOptions

options associated to the endpoint, like its logging capabilities, or execution context

logic

the logic to associate with the endpoint

Returns

A function, that given a router, will attach this endpoint to it

Inherited from
VertxFutureServerInterpreter
def blockingRouteRecoverErrors[I, E, O](e: Endpoint[I, E, O, Any])(logic: I => Future[O])(implicit endpointOptions: VertxFutureServerOptions, eIsThrowable: E <:< Throwable, eClassTag: ClassTag[E]): Router => Route

Given a Router, creates and mounts a Route matching this endpoint, with custom error handling The logic will be executed in a blocking context

Given a Router, creates and mounts a Route matching this endpoint, with custom error handling The logic will be executed in a blocking context

Value Params
endpointOptions

options associated to the endpoint, like its logging capabilities, or execution context

logic

the logic to associate with the endpoint

Returns

A function, that given a router, will attach this endpoint to it

Inherited from
VertxFutureServerInterpreter
protected def mountWithDefaultHandlers[F[_], I, E, O, C](e: ServerEndpoint[I, E, O, C, F])(router: Router, routeDef: RouteDefinition): Route
def route[I, E, O](e: ServerEndpoint[I, E, O, Any, [T] =>> Future[T]])(implicit endpointOptions: VertxFutureServerOptions): Router => Route

Given a Router, creates and mounts a Route matching this endpoint, with default error handling

Given a Router, creates and mounts a Route matching this endpoint, with default error handling

Value Params
endpointOptions

options associated to the endpoint, like its logging capabilities, or execution context

Returns

A function, that given a router, will attach this endpoint to it

Inherited from
VertxFutureServerInterpreter
def route[I, E, O](e: Endpoint[I, E, O, Any])(logic: I => Future[Either[E, O]])(implicit endpointOptions: VertxFutureServerOptions): Router => Route

Given a Router, creates and mounts a Route matching this endpoint, with default error handling

Given a Router, creates and mounts a Route matching this endpoint, with default error handling

Value Params
endpointOptions

options associated to the endpoint, like its logging capabilities, or execution context

logic

the logic to associate with the endpoint

Returns

A function, that given a router, will attach this endpoint to it

Inherited from
VertxFutureServerInterpreter
def routeRecoverErrors[I, E, O](e: Endpoint[I, E, O, Any])(logic: I => Future[O])(implicit endpointOptions: VertxFutureServerOptions, eIsThrowable: E <:< Throwable, eClassTag: ClassTag[E]): Router => Route

Given a Router, creates and mounts a Route matching this endpoint, with custom error handling

Given a Router, creates and mounts a Route matching this endpoint, with custom error handling

Value Params
endpointOptions

options associated to the endpoint, like its logging capabilities, or execution context

logic

the logic to associate with the endpoint

Returns

A function, that given a router, will attach this endpoint to it

Inherited from
VertxFutureServerInterpreter