Package | Description |
---|---|
io.vertx.core | |
io.vertx.core.http | |
io.vertx.ext.httpservicefactory | |
io.vertx.ext.web.client | |
io.vertx.reactivex.core.http | |
io.vertx.rxjava.core.http | |
io.vertx.servicediscovery.types |
Modifier and Type | Method and Description |
---|---|
HttpClient |
Vertx.createHttpClient()
Create a HTTP/HTTPS client using default options
|
HttpClient |
Vertx.createHttpClient(HttpClientOptions options)
Create a HTTP/HTTPS client using the specified options
|
Modifier and Type | Method and Description |
---|---|
HttpClient |
HttpClient.connectionHandler(Handler<HttpConnection> handler)
Set a connection handler for the client.
|
HttpClient |
HttpClient.getNow(int port,
String host,
String requestURI,
Handler<HttpClientResponse> responseHandler)
Deprecated.
this method signature will change in Vert.x 4, the handler will use an
Handler<AsyncResult<HttpClientResponse>> ,
you can use instead the WebClient |
HttpClient |
HttpClient.getNow(RequestOptions options,
Handler<HttpClientResponse> responseHandler)
Deprecated.
this method signature will change in Vert.x 4, the handler will use an
Handler<AsyncResult<HttpClientResponse>> ,
you can use instead the WebClient |
HttpClient |
HttpClient.getNow(String requestURI,
Handler<HttpClientResponse> responseHandler)
Deprecated.
this method signature will change in Vert.x 4, the handler will use an
Handler<AsyncResult<HttpClientResponse>> ,
you can use instead the WebClient |
HttpClient |
HttpClient.getNow(String host,
String requestURI,
Handler<HttpClientResponse> responseHandler)
Deprecated.
this method signature will change in Vert.x 4, the handler will use an
Handler<AsyncResult<HttpClientResponse>> ,
you can use instead the WebClient |
HttpClient |
HttpClient.headNow(int port,
String host,
String requestURI,
Handler<HttpClientResponse> responseHandler)
Deprecated.
this method signature will change in Vert.x 4, the handler will use an
Handler<AsyncResult<HttpClientResponse>> ,
you can use instead the WebClient |
HttpClient |
HttpClient.headNow(RequestOptions options,
Handler<HttpClientResponse> responseHandler)
Deprecated.
this method signature will change in Vert.x 4, the handler will use an
Handler<AsyncResult<HttpClientResponse>> ,
you can use instead the WebClient |
HttpClient |
HttpClient.headNow(String requestURI,
Handler<HttpClientResponse> responseHandler)
Deprecated.
this method signature will change in Vert.x 4, the handler will use an
Handler<AsyncResult<HttpClientResponse>> ,
you can use instead the WebClient |
HttpClient |
HttpClient.headNow(String host,
String requestURI,
Handler<HttpClientResponse> responseHandler)
Deprecated.
this method signature will change in Vert.x 4, the handler will use an
Handler<AsyncResult<HttpClientResponse>> ,
you can use instead the WebClient |
HttpClient |
HttpClient.optionsNow(int port,
String host,
String requestURI,
Handler<HttpClientResponse> responseHandler)
Deprecated.
this method signature will change in Vert.x 4, the handler will use an
Handler<AsyncResult<HttpClientResponse>> ,
you can use instead the WebClient |
HttpClient |
HttpClient.optionsNow(RequestOptions options,
Handler<HttpClientResponse> responseHandler)
Deprecated.
this method signature will change in Vert.x 4, the handler will use an
Handler<AsyncResult<HttpClientResponse>> ,
you can use instead the WebClient |
HttpClient |
HttpClient.optionsNow(String requestURI,
Handler<HttpClientResponse> responseHandler)
Deprecated.
this method signature will change in Vert.x 4, the handler will use an
Handler<AsyncResult<HttpClientResponse>> ,
you can use instead the WebClient |
HttpClient |
HttpClient.optionsNow(String host,
String requestURI,
Handler<HttpClientResponse> responseHandler)
Deprecated.
this method signature will change in Vert.x 4, the handler will use an
Handler<AsyncResult<HttpClientResponse>> ,
you can use instead the WebClient |
HttpClient |
HttpClient.redirectHandler(java.util.function.Function<HttpClientResponse,Future<HttpClientRequest>> handler)
Set a redirect handler for the http client.
|
HttpClient |
HttpClient.websocket(int port,
String host,
String requestURI,
Handler<WebSocket> wsConnect)
Deprecated.
use
webSocket(int, String, String, Handler) instead |
HttpClient |
HttpClient.websocket(int port,
String host,
String requestURI,
Handler<WebSocket> wsConnect,
Handler<Throwable> failureHandler)
Deprecated.
use
webSocket(int, String, String, Handler) instead |
HttpClient |
HttpClient.websocket(int port,
String host,
String requestURI,
MultiMap headers,
Handler<WebSocket> wsConnect)
Deprecated.
use
webSocket(WebSocketConnectOptions, Handler) instead |
HttpClient |
HttpClient.websocket(int port,
String host,
String requestURI,
MultiMap headers,
Handler<WebSocket> wsConnect,
Handler<Throwable> failureHandler)
Deprecated.
use
webSocket(WebSocketConnectOptions, Handler) instead |
HttpClient |
HttpClient.websocket(int port,
String host,
String requestURI,
MultiMap headers,
WebsocketVersion version,
Handler<WebSocket> wsConnect)
Deprecated.
use
webSocket(WebSocketConnectOptions, Handler) instead |
HttpClient |
HttpClient.websocket(int port,
String host,
String requestURI,
MultiMap headers,
WebsocketVersion version,
Handler<WebSocket> wsConnect,
Handler<Throwable> failureHandler)
Deprecated.
use
webSocket(WebSocketConnectOptions, Handler) instead |
HttpClient |
HttpClient.websocket(int port,
String host,
String requestURI,
MultiMap headers,
WebsocketVersion version,
String subProtocols,
Handler<WebSocket> wsConnect)
Deprecated.
use
webSocket(WebSocketConnectOptions, Handler) instead |
HttpClient |
HttpClient.websocket(int port,
String host,
String requestURI,
MultiMap headers,
WebsocketVersion version,
String subProtocols,
Handler<WebSocket> wsConnect,
Handler<Throwable> failureHandler)
Deprecated.
use
webSocket(WebSocketConnectOptions, Handler) instead |
HttpClient |
HttpClient.websocket(RequestOptions options,
Handler<WebSocket> wsConnect)
Deprecated.
use
webSocket(WebSocketConnectOptions, Handler) instead |
HttpClient |
HttpClient.websocket(RequestOptions options,
Handler<WebSocket> wsConnect,
Handler<Throwable> failureHandler)
Deprecated.
use
webSocket(WebSocketConnectOptions, Handler) instead |
HttpClient |
HttpClient.websocket(RequestOptions options,
MultiMap headers,
Handler<WebSocket> wsConnect)
Deprecated.
use
webSocket(WebSocketConnectOptions, Handler) instead |
HttpClient |
HttpClient.websocket(RequestOptions options,
MultiMap headers,
Handler<WebSocket> wsConnect,
Handler<Throwable> failureHandler)
Deprecated.
use
webSocket(WebSocketConnectOptions, Handler) instead |
HttpClient |
HttpClient.websocket(RequestOptions options,
MultiMap headers,
WebsocketVersion version,
Handler<WebSocket> wsConnect)
Deprecated.
use
webSocket(WebSocketConnectOptions, Handler) instead |
HttpClient |
HttpClient.websocket(RequestOptions options,
MultiMap headers,
WebsocketVersion version,
Handler<WebSocket> wsConnect,
Handler<Throwable> failureHandler)
Deprecated.
use
webSocket(WebSocketConnectOptions, Handler) instead |
HttpClient |
HttpClient.websocket(RequestOptions options,
MultiMap headers,
WebsocketVersion version,
String subProtocols,
Handler<WebSocket> wsConnect)
Deprecated.
use
webSocket(WebSocketConnectOptions, Handler) instead |
HttpClient |
HttpClient.websocket(RequestOptions options,
MultiMap headers,
WebsocketVersion version,
String subProtocols,
Handler<WebSocket> wsConnect,
Handler<Throwable> failureHandler)
Deprecated.
use
webSocket(WebSocketConnectOptions, Handler) instead |
HttpClient |
HttpClient.websocket(String requestURI,
Handler<WebSocket> wsConnect)
Deprecated.
use
webSocket(String, Handler) instead |
HttpClient |
HttpClient.websocket(String requestURI,
Handler<WebSocket> wsConnect,
Handler<Throwable> failureHandler)
Deprecated.
use
webSocket(String, Handler) instead |
HttpClient |
HttpClient.websocket(String requestURI,
MultiMap headers,
Handler<WebSocket> wsConnect)
Deprecated.
use
webSocket(WebSocketConnectOptions, Handler) instead |
HttpClient |
HttpClient.websocket(String requestURI,
MultiMap headers,
Handler<WebSocket> wsConnect,
Handler<Throwable> failureHandler)
Deprecated.
use
webSocket(WebSocketConnectOptions, Handler) instead |
HttpClient |
HttpClient.websocket(String requestURI,
MultiMap headers,
WebsocketVersion version,
Handler<WebSocket> wsConnect)
Deprecated.
use
webSocket(WebSocketConnectOptions, Handler) instead |
HttpClient |
HttpClient.websocket(String requestURI,
MultiMap headers,
WebsocketVersion version,
Handler<WebSocket> wsConnect,
Handler<Throwable> failureHandler)
Deprecated.
use
webSocket(WebSocketConnectOptions, Handler) instead |
HttpClient |
HttpClient.websocket(String requestURI,
MultiMap headers,
WebsocketVersion version,
String subProtocols,
Handler<WebSocket> wsConnect)
Deprecated.
use
webSocket(WebSocketConnectOptions, Handler) instead |
HttpClient |
HttpClient.websocket(String requestURI,
MultiMap headers,
WebsocketVersion version,
String subProtocols,
Handler<WebSocket> wsConnect,
Handler<Throwable> failureHandler)
Deprecated.
use
webSocket(WebSocketConnectOptions, Handler) instead |
HttpClient |
HttpClient.websocket(String host,
String requestURI,
Handler<WebSocket> wsConnect)
Deprecated.
use
webSocket(String, String, Handler) instead |
HttpClient |
HttpClient.websocket(String host,
String requestURI,
Handler<WebSocket> wsConnect,
Handler<Throwable> failureHandler)
Deprecated.
use
webSocket(String, String, Handler) instead |
HttpClient |
HttpClient.websocket(String host,
String requestURI,
MultiMap headers,
Handler<WebSocket> wsConnect)
Deprecated.
use
webSocket(WebSocketConnectOptions, Handler) instead |
HttpClient |
HttpClient.websocket(String host,
String requestURI,
MultiMap headers,
Handler<WebSocket> wsConnect,
Handler<Throwable> failureHandler)
Deprecated.
use
webSocket(WebSocketConnectOptions, Handler) instead |
HttpClient |
HttpClient.websocket(String host,
String requestURI,
MultiMap headers,
WebsocketVersion version,
Handler<WebSocket> wsConnect)
Deprecated.
use
webSocket(WebSocketConnectOptions, Handler) instead |
HttpClient |
HttpClient.websocket(String host,
String requestURI,
MultiMap headers,
WebsocketVersion version,
Handler<WebSocket> wsConnect,
Handler<Throwable> failureHandler)
Deprecated.
use
webSocket(WebSocketConnectOptions, Handler) instead |
HttpClient |
HttpClient.websocket(String host,
String requestURI,
MultiMap headers,
WebsocketVersion version,
String subProtocols,
Handler<WebSocket> wsConnect)
Deprecated.
use
webSocket(WebSocketConnectOptions, Handler) instead |
HttpClient |
HttpClient.websocket(String host,
String requestURI,
MultiMap headers,
WebsocketVersion version,
String subProtocols,
Handler<WebSocket> wsConnect,
Handler<Throwable> failureHandler)
Deprecated.
use
webSocket(WebSocketConnectOptions, Handler) instead |
HttpClient |
HttpClient.websocketAbs(String url,
MultiMap headers,
WebsocketVersion version,
String subProtocols,
Handler<WebSocket> wsConnect,
Handler<Throwable> failureHandler)
Deprecated.
use
webSocket(WebSocketConnectOptions, Handler) instead |
Modifier and Type | Method and Description |
---|---|
protected void |
HttpServiceFactory.doRequest(HttpClient client,
File file,
URI url,
File signatureFile,
URI signatureURL,
Handler<AsyncResult<io.vertx.ext.httpservicefactory.HttpServiceFactory.Result>> handler) |
Modifier and Type | Method and Description |
---|---|
static WebClient |
WebClient.wrap(HttpClient httpClient)
Wrap an
httpClient with a web client and default options. |
static WebClient |
WebClient.wrap(HttpClient httpClient,
WebClientOptions options)
Wrap an
httpClient with a web client and default options. |
Modifier and Type | Method and Description |
---|---|
HttpClient |
HttpClient.getDelegate() |
Modifier and Type | Method and Description |
---|---|
static HttpClient |
HttpClient.newInstance(HttpClient arg) |
Constructor and Description |
---|
HttpClient(HttpClient delegate) |
Modifier and Type | Method and Description |
---|---|
HttpClient |
HttpClient.getDelegate() |
Modifier and Type | Method and Description |
---|---|
static HttpClient |
HttpClient.newInstance(HttpClient arg) |
Constructor and Description |
---|
HttpClient(HttpClient delegate) |
Modifier and Type | Method and Description |
---|---|
static void |
HttpEndpoint.getClient(ServiceDiscovery discovery,
java.util.function.Function<Record,Boolean> filter,
Handler<AsyncResult<HttpClient>> resultHandler)
Convenient method that looks for a HTTP endpoint and provides the configured
HttpClient . |
static void |
HttpEndpoint.getClient(ServiceDiscovery discovery,
java.util.function.Function<Record,Boolean> filter,
JsonObject conf,
Handler<AsyncResult<HttpClient>> resultHandler)
Convenient method that looks for a HTTP endpoint and provides the configured
HttpClient . |
static void |
HttpEndpoint.getClient(ServiceDiscovery discovery,
JsonObject filter,
Handler<AsyncResult<HttpClient>> resultHandler)
Convenient method that looks for a HTTP endpoint and provides the configured
HttpClient . |
static void |
HttpEndpoint.getClient(ServiceDiscovery discovery,
JsonObject filter,
JsonObject conf,
Handler<AsyncResult<HttpClient>> resultHandler)
Convenient method that looks for a HTTP endpoint and provides the configured
HttpClient . |
Copyright © 2023 Eclipse. All rights reserved.