Packages

t

sttp.tapir.server.vertx.interpreters

VertxFutureServerInterpreter

trait VertxFutureServerInterpreter extends CommonServerInterpreter

Linear Supertypes
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. VertxFutureServerInterpreter
  2. CommonServerInterpreter
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. implicit class VertxFutureForScala[A] extends AnyRef

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def blockingRoute[I, E, O](e: ServerEndpoint[I, E, O, Any, Future])(implicit endpointOptions: VertxFutureEndpointOptions): (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

    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

  6. def blockingRoute[I, E, O](e: Endpoint[I, E, O, Any])(logic: (I) ⇒ Future[Either[E, O]])(implicit endpointOptions: VertxFutureEndpointOptions): (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

    logic

    the logic to associate with the endpoint

    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

  7. def blockingRouteRecoverErrors[I, E, O](e: Endpoint[I, E, O, Any])(logic: (I) ⇒ Future[O])(implicit endpointOptions: VertxFutureEndpointOptions, 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

    logic

    the logic to associate with the endpoint

    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

  8. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native() @HotSpotIntrinsicCandidate()
  9. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  10. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  11. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  12. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  13. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  14. def logRequestHandled[F[_], I, E, O, C](e: ServerEndpoint[I, E, O, C, F])(implicit endpointOptions: VertxEndpointOptions): (Int) ⇒ Unit
    Attributes
    protected
    Definition Classes
    CommonServerInterpreter
  15. def mountWithDefaultHandlers[F[_], I, E, O, C, S](e: ServerEndpoint[I, E, O, C, F])(router: Router, routeDef: RouteDefinition)(implicit arg0: ReadStreamCompatible[S], endpointOptions: VertxEndpointOptions, ect: Option[ClassTag[E]]): Route
    Attributes
    protected
    Definition Classes
    CommonServerInterpreter
  16. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  17. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  18. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  19. def responseHandlerWithError[F[_], I, E, O, S, C <: Streams[S]](e: ServerEndpoint[I, E, O, C, F])(implicit arg0: ReadStreamCompatible[S], endpointOptions: VertxEndpointOptions): (Either[E, O], RoutingContext) ⇒ Unit
    Attributes
    protected
    Definition Classes
    CommonServerInterpreter
  20. def route[I, E, O](e: ServerEndpoint[I, E, O, Any, Future])(implicit endpointOptions: VertxFutureEndpointOptions): (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

    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

  21. def route[I, E, O](e: Endpoint[I, E, O, Any])(logic: (I) ⇒ Future[Either[E, O]])(implicit endpointOptions: VertxFutureEndpointOptions): (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

    logic

    the logic to associate with the endpoint

    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

  22. def routeRecoverErrors[I, E, O](e: Endpoint[I, E, O, Any])(logic: (I) ⇒ Future[O])(implicit endpointOptions: VertxFutureEndpointOptions, 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

    logic

    the logic to associate with the endpoint

    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

  23. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  24. def toString(): String
    Definition Classes
    AnyRef → Any
  25. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  26. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  27. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] ) @Deprecated
    Deprecated

Inherited from CommonServerInterpreter

Inherited from AnyRef

Inherited from Any

Ungrouped