Class Endpoint
- java.lang.Object
-
- io.vertx.rxjava3.core.net.endpoint.Endpoint
-
- All Implemented Interfaces:
io.vertx.lang.rx.RxDelegate
public class Endpoint extends Object implements io.vertx.lang.rx.RxDelegate
-
-
Field Summary
Fields Modifier and Type Field Description static io.vertx.lang.rx.TypeArg<Endpoint>__TYPE_ARG
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)EndpointgetDelegate()inthashCode()static EndpointnewInstance(Endpoint arg)ServerEndpointselectServer()Select a server.ServerEndpointselectServer(String key)Select a node, using a routingkeyList<ServerEndpoint>servers()The servers capable of serving requests for this endpoint.StringtoString()
-
-
-
Field Detail
-
__TYPE_ARG
public static final io.vertx.lang.rx.TypeArg<Endpoint> __TYPE_ARG
-
-
Method Detail
-
getDelegate
public Endpoint getDelegate()
- Specified by:
getDelegatein interfaceio.vertx.lang.rx.RxDelegate
-
servers
public List<ServerEndpoint> servers()
The servers capable of serving requests for this endpoint.- Returns:
-
selectServer
public ServerEndpoint selectServer()
Select a server.- Returns:
- the selected server
-
selectServer
public ServerEndpoint selectServer(String key)
Select a node, using a routingkey- Parameters:
key- the routing key- Returns:
- the selected server
-
-