VertxFutureServerInterpreter

sttp.tapir.server.vertx.VertxFutureServerInterpreter
See theVertxFutureServerInterpreter companion object

Attributes

Companion
object
Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Value members

Concrete methods

def blockingRoute(e: ServerEndpoint[VertxStreams & WebSockets, Future]): 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

Attributes

Returns

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

def route[A, U, I, E, O](e: ServerEndpoint[VertxStreams & WebSockets, Future]): 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

Attributes

Returns

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

Inherited methods

def handleError(rc: RoutingContext, ex: Throwable): Future[Void]

Attributes

Inherited from:
VertxErrorHandler
protected def mountWithDefaultHandlers[C, F[_]](e: ServerEndpoint[C, F])(router: Router, routeDef: RouteDefinition, serverOptions: VertxServerOptions[F]): Route

Attributes

Inherited from:
CommonServerInterpreter