trait VertxServerInterpreter extends AnyRef
- Alphabetic
- By Inheritance
- VertxServerInterpreter
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
blockingRoute[I, E, O](e: ServerEndpoint[I, E, O, Any, Future])(implicit endpointOptions: VertxEndpointOptions): (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
-
def
blockingRoute[I, E, O](e: Endpoint[I, E, O, Any])(logic: (I) ⇒ Future[Either[E, O]])(implicit endpointOptions: VertxEndpointOptions): (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
-
def
blockingRouteRecoverErrors[I, E, O](e: Endpoint[I, E, O, Any])(logic: (I) ⇒ Future[O])(implicit endpointOptions: VertxEndpointOptions, 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
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native() @HotSpotIntrinsicCandidate()
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
def
route[I, E, O](e: ServerEndpoint[I, E, O, Any, Future])(implicit endpointOptions: VertxEndpointOptions): (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
-
def
route[I, E, O](e: Endpoint[I, E, O, Any])(logic: (I) ⇒ Future[Either[E, O]])(implicit endpointOptions: VertxEndpointOptions): (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
-
def
routeRecoverErrors[I, E, O](e: Endpoint[I, E, O, Any])(logic: (I) ⇒ Future[O])(implicit endpointOptions: VertxEndpointOptions, 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
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
Deprecated Value Members
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] ) @Deprecated
- Deprecated