Class Endpoint
java.lang.Object
io.vertx.mutiny.core.net.endpoint.Endpoint
- All Implemented Interfaces:
MutinyDelegate
NOTE: This class has been automatically generated from the
original non Mutiny-ified interface.- See Also:
-
Endpoint
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanio.vertx.core.net.endpoint.EndpointGet the delegate instance.inthashCode()static EndpointnewInstance(io.vertx.core.net.endpoint.Endpoint delegate) Creates a new instance of theEndpoint.Provide the set of protocols the endpoint can accept.Select a server.selectServer(String key) Select a node, using a routingkeyservers()The servers capable of serving requests for this endpoint.toString()
-
Field Details
-
__TYPE_ARG
-
-
Constructor Details
-
Endpoint
public Endpoint(io.vertx.core.net.endpoint.Endpoint delegate) Create a new instance ofEndpointdelegating to the given (non-null) instance ofEndpoint. -
Endpoint
-
-
Method Details
-
getDelegate
public io.vertx.core.net.endpoint.Endpoint getDelegate()Get the delegate instance.This method returns the instance on which this shim is delegating the calls. And so, give you access to the bare API.
- Specified by:
getDelegatein interfaceMutinyDelegate- Returns:
- the delegate instance
-
servers
The servers capable of serving requests for this endpoint. -
protocols
Provide the set of protocols the endpoint can accept.- Returns:
- the set of protocol ids
-
selectServer
Select a server.- Returns:
- the selected server
-
selectServer
Select a node, using a routingkey- Parameters:
key- the routing key- Returns:
- the selected server
-
newInstance
Creates a new instance of theEndpoint. -
hashCode
public int hashCode() -
equals
-
toString
-