| Package | Description |
|---|---|
| io.vertx.axle.core.datagram | |
| io.vertx.axle.core.http | |
| io.vertx.axle.core.net |
| Modifier and Type | Method and Description |
|---|---|
SocketAddress |
DatagramSocket.localAddress()
Return the
SocketAddress to which
this DatagramSocket is bound. |
SocketAddress |
DatagramPacket.sender()
Returns the
SocketAddress of the sender that sent
this DatagramPacket. |
| Modifier and Type | Method and Description |
|---|---|
SocketAddress |
WebSocket.localAddress() |
SocketAddress |
WebSocketBase.localAddress() |
SocketAddress |
HttpServerRequest.localAddress() |
SocketAddress |
HttpConnection.localAddress() |
SocketAddress |
ServerWebSocket.localAddress() |
SocketAddress |
WebSocket.remoteAddress() |
SocketAddress |
WebSocketBase.remoteAddress() |
SocketAddress |
HttpServerRequest.remoteAddress() |
SocketAddress |
HttpConnection.remoteAddress() |
SocketAddress |
ServerWebSocket.remoteAddress() |
| Modifier and Type | Method and Description |
|---|---|
CompletionStage<HttpServer> |
HttpServer.listen(SocketAddress address)
Tell the server to start listening on the given address supplying
a handler that will be called when the server is actually
listening (or has failed).
|
HttpClientRequest |
HttpClient.request(io.vertx.core.http.HttpMethod method,
SocketAddress serverAddress,
int port,
String host,
String requestURI)
Like
HttpClient.request(io.vertx.core.http.HttpMethod, io.vertx.axle.core.net.SocketAddress, io.vertx.core.http.RequestOptions) using the serverAddress parameter to connect to the
server instead of the absoluteURI parameter. |
HttpClientRequest |
HttpClient.request(io.vertx.core.http.HttpMethod method,
SocketAddress serverAddress,
int port,
String host,
String requestURI,
Consumer<HttpClientResponse> responseHandler)
Like
HttpClient.request(io.vertx.core.http.HttpMethod, io.vertx.axle.core.net.SocketAddress, io.vertx.core.http.RequestOptions) using the serverAddress parameter to connect to the
server instead of the absoluteURI parameter. |
HttpClientRequest |
HttpClient.request(io.vertx.core.http.HttpMethod method,
SocketAddress serverAddress,
io.vertx.core.http.RequestOptions options)
Like
HttpClient.request(io.vertx.core.http.HttpMethod, io.vertx.axle.core.net.SocketAddress, io.vertx.core.http.RequestOptions) using the serverAddress parameter to connect to the
server instead of the absoluteURI parameter. |
HttpClientRequest |
HttpClient.request(io.vertx.core.http.HttpMethod method,
SocketAddress serverAddress,
io.vertx.core.http.RequestOptions options,
Consumer<HttpClientResponse> responseHandler)
Like
HttpClient.request(io.vertx.core.http.HttpMethod, io.vertx.axle.core.net.SocketAddress, io.vertx.core.http.RequestOptions) using the serverAddress parameter to connect to the
server instead of the absoluteURI parameter. |
HttpClientRequest |
HttpClient.requestAbs(io.vertx.core.http.HttpMethod method,
SocketAddress serverAddress,
String absoluteURI)
Like
HttpClient.requestAbs(io.vertx.core.http.HttpMethod, java.lang.String) using the serverAddress parameter to connect to the
server instead of the absoluteURI parameter. |
HttpClientRequest |
HttpClient.requestAbs(io.vertx.core.http.HttpMethod method,
SocketAddress serverAddress,
String absoluteURI,
Consumer<HttpClientResponse> responseHandler)
Like
HttpClient.requestAbs(io.vertx.core.http.HttpMethod, java.lang.String) using the serverAddress parameter to connect to the
server instead of the absoluteURI parameter. |
| Modifier and Type | Field and Description |
|---|---|
static TypeArg<SocketAddress> |
SocketAddress.__TYPE_ARG |
| Modifier and Type | Method and Description |
|---|---|
static SocketAddress |
SocketAddress.domainSocketAddress(String path)
Create a domain socket address.
|
static SocketAddress |
SocketAddress.inetSocketAddress(int port,
String host)
Create a inet socket address,
host must be non null and port must be between 0
and 65536. |
SocketAddress |
NetSocket.localAddress() |
static SocketAddress |
SocketAddress.newInstance(io.vertx.core.net.SocketAddress arg) |
SocketAddress |
NetSocket.remoteAddress() |
| Modifier and Type | Method and Description |
|---|---|
CompletionStage<NetSocket> |
NetClient.connect(SocketAddress remoteAddress)
Open a connection to a server at the specific
remoteAddress. |
CompletionStage<NetSocket> |
NetClient.connect(SocketAddress remoteAddress,
String serverName)
Open a connection to a server at the specific
remoteAddress. |
CompletionStage<NetServer> |
NetServer.listen(SocketAddress localAddress)
Like
NetServer.listen() but providing a handler that will be notified when the server is listening, or fails. |
Copyright © 2019 SmallRye. All rights reserved.