| Package | Description |
|---|---|
| io.vertx.core.http | |
| io.vertx.ext.web.client | |
| io.vertx.reactivex.core.http | |
| io.vertx.reactivex.ext.web.client | |
| io.vertx.rxjava.core.http | |
| io.vertx.rxjava.ext.web.client |
| Modifier and Type | Class and Description |
|---|---|
class |
WebSocketConnectOptions
Options describing how an
HttpClient connect a WebSocket. |
| Modifier and Type | Method and Description |
|---|---|
RequestOptions |
RequestOptions.addHeader(String key,
String value)
Add a request header.
|
RequestOptions |
RequestOptionsConverter.decode(JsonObject value) |
RequestOptions |
RequestOptions.setHeaders(MultiMap headers)
Set request headers from a multi-map.
|
RequestOptions |
RequestOptions.setHost(String host)
Set the host name to be used by the client request.
|
RequestOptions |
RequestOptions.setPort(int port)
Set the port to be used by the client request.
|
RequestOptions |
RequestOptions.setSsl(Boolean ssl)
Set whether SSL/TLS is enabled
|
RequestOptions |
RequestOptions.setURI(String uri)
Set the request relative URI
|
| Modifier and Type | Method and Description |
|---|---|
Class<RequestOptions> |
RequestOptionsConverter.getTargetClass() |
| Modifier and Type | Method and Description |
|---|---|
HttpClientRequest |
HttpClient.delete(RequestOptions options)
Create an HTTP DELETE request to send to the server with the specified options.
|
HttpClientRequest |
HttpClient.delete(RequestOptions options,
Handler<AsyncResult<HttpClientResponse>> responseHandler)
Create an HTTP DELETE request to send to the server with the specified options, specifying a response handler to receive
the response
|
JsonObject |
RequestOptionsConverter.encode(RequestOptions value) |
static void |
RequestOptionsConverter.fromJson(Iterable<Map.Entry<String,Object>> json,
RequestOptions obj) |
HttpClientRequest |
HttpClient.get(RequestOptions options)
Create an HTTP GET request to send to the server with the specified options.
|
HttpClientRequest |
HttpClient.get(RequestOptions options,
Handler<AsyncResult<HttpClientResponse>> responseHandler)
Create an HTTP GET request to send to the server with the specified options, specifying a response handler to receive
the response
|
default Future<HttpClientResponse> |
HttpClient.getNow(RequestOptions options)
Like
HttpClient.getNow(RequestOptions, Handler) but returns a Future of the asynchronous result |
HttpClient |
HttpClient.getNow(RequestOptions options,
Handler<AsyncResult<HttpClientResponse>> responseHandler)
Sends an HTTP GET request to the server with the specified options, specifying a response handler to receive
the response
|
HttpClientRequest |
HttpClient.head(RequestOptions options)
Create an HTTP HEAD request to send to the server with the specified options.
|
HttpClientRequest |
HttpClient.head(RequestOptions options,
Handler<AsyncResult<HttpClientResponse>> responseHandler)
Create an HTTP HEAD request to send to the server with the specified options, specifying a response handler to receive
the response
|
default Future<HttpClientResponse> |
HttpClient.headNow(RequestOptions options)
Like
HttpClient.headNow(RequestOptions, Handler) but returns a Future of the asynchronous result |
HttpClient |
HttpClient.headNow(RequestOptions options,
Handler<AsyncResult<HttpClientResponse>> responseHandler)
Sends an HTTP HEAD request to the server with the specified options, specifying a response handler to receive
the response
|
HttpClientRequest |
HttpClient.options(RequestOptions options)
Create an HTTP OPTIONS request to send to the server with the specified options.
|
HttpClientRequest |
HttpClient.options(RequestOptions options,
Handler<AsyncResult<HttpClientResponse>> responseHandler)
Create an HTTP OPTIONS request to send to the server with the specified options, specifying a response handler to receive
the response
|
default Future<HttpClientResponse> |
HttpClient.optionsNow(RequestOptions options)
Like
HttpClient.optionsNow(RequestOptions, Handler) but returns a Future of the asynchronous result |
HttpClient |
HttpClient.optionsNow(RequestOptions options,
Handler<AsyncResult<HttpClientResponse>> responseHandler)
Sends an HTTP OPTIONS request to the server with the specified options, specifying a response handler to receive
the response
|
HttpClientRequest |
HttpClient.post(RequestOptions options)
Create an HTTP POST request to send to the server with the specified options.
|
HttpClientRequest |
HttpClient.post(RequestOptions options,
Handler<AsyncResult<HttpClientResponse>> responseHandler)
Create an HTTP POST request to send to the server with the specified options, specifying a response handler to receive
the response
|
HttpClientRequest |
HttpClient.put(RequestOptions options)
Create an HTTP PUT request to send to the server with the specified options.
|
HttpClientRequest |
HttpClient.put(RequestOptions options,
Handler<AsyncResult<HttpClientResponse>> responseHandler)
Create an HTTP PUT request to send to the server with the specified options, specifying a response handler to receive
the response
|
HttpClientRequest |
HttpClient.request(HttpMethod method,
RequestOptions options)
Create an HTTP request to send to the server with the specified options.
|
HttpClientRequest |
HttpClient.request(HttpMethod method,
RequestOptions options,
Handler<AsyncResult<HttpClientResponse>> responseHandler)
Create an HTTP request to send to the server with the specified options, specifying a response handler to receive
|
HttpClientRequest |
HttpClient.request(HttpMethod method,
SocketAddress serverAddress,
RequestOptions options)
Like
HttpClient.request(HttpMethod, RequestOptions) using the serverAddress parameter to connect to the
server instead of the absoluteURI parameter. |
HttpClientRequest |
HttpClient.request(HttpMethod method,
SocketAddress serverAddress,
RequestOptions options,
Handler<AsyncResult<HttpClientResponse>> responseHandler)
Like
HttpClient.request(HttpMethod, RequestOptions, Handler) using the serverAddress parameter to connect to the
server instead of the absoluteURI parameter. |
static void |
RequestOptionsConverter.toJson(RequestOptions obj,
JsonObject json) |
static void |
RequestOptionsConverter.toJson(RequestOptions obj,
Map<String,Object> json) |
| Constructor and Description |
|---|
RequestOptions(RequestOptions other)
Copy constructor
|
| Modifier and Type | Method and Description |
|---|---|
HttpRequest<Buffer> |
WebClient.request(HttpMethod method,
RequestOptions options)
Create an HTTP request to send to the server at the specified host and port.
|
HttpRequest<Buffer> |
WebClient.request(HttpMethod method,
SocketAddress serverAddress,
RequestOptions options)
Like
WebClient.request(HttpMethod, RequestOptions) using the serverAddress parameter to connect to the
server instead of the options parameter. |
| Modifier and Type | Method and Description |
|---|---|
HttpClientRequest |
HttpClient.delete(RequestOptions options)
Create an HTTP DELETE request to send to the server with the specified options.
|
HttpClientRequest |
HttpClient.delete(RequestOptions options,
Handler<AsyncResult<HttpClientResponse>> responseHandler)
Create an HTTP DELETE request to send to the server with the specified options, specifying a response handler to receive
the response
|
HttpClientRequest |
HttpClient.get(RequestOptions options)
Create an HTTP GET request to send to the server with the specified options.
|
HttpClientRequest |
HttpClient.get(RequestOptions options,
Handler<AsyncResult<HttpClientResponse>> responseHandler)
Create an HTTP GET request to send to the server with the specified options, specifying a response handler to receive
the response
|
HttpClient |
HttpClient.getNow(RequestOptions options)
Sends an HTTP GET request to the server with the specified options, specifying a response handler to receive
the response
|
HttpClient |
HttpClient.getNow(RequestOptions options,
Handler<AsyncResult<HttpClientResponse>> responseHandler)
Sends an HTTP GET request to the server with the specified options, specifying a response handler to receive
the response
|
HttpClientRequest |
HttpClient.head(RequestOptions options)
Create an HTTP HEAD request to send to the server with the specified options.
|
HttpClientRequest |
HttpClient.head(RequestOptions options,
Handler<AsyncResult<HttpClientResponse>> responseHandler)
Create an HTTP HEAD request to send to the server with the specified options, specifying a response handler to receive
the response
|
HttpClient |
HttpClient.headNow(RequestOptions options)
Sends an HTTP HEAD request to the server with the specified options, specifying a response handler to receive
the response
|
HttpClient |
HttpClient.headNow(RequestOptions options,
Handler<AsyncResult<HttpClientResponse>> responseHandler)
Sends an HTTP HEAD request to the server with the specified options, specifying a response handler to receive
the response
|
HttpClientRequest |
HttpClient.options(RequestOptions options)
Create an HTTP OPTIONS request to send to the server with the specified options.
|
HttpClientRequest |
HttpClient.options(RequestOptions options,
Handler<AsyncResult<HttpClientResponse>> responseHandler)
Create an HTTP OPTIONS request to send to the server with the specified options, specifying a response handler to receive
the response
|
HttpClient |
HttpClient.optionsNow(RequestOptions options)
Sends an HTTP OPTIONS request to the server with the specified options, specifying a response handler to receive
the response
|
HttpClient |
HttpClient.optionsNow(RequestOptions options,
Handler<AsyncResult<HttpClientResponse>> responseHandler)
Sends an HTTP OPTIONS request to the server with the specified options, specifying a response handler to receive
the response
|
HttpClientRequest |
HttpClient.post(RequestOptions options)
Create an HTTP POST request to send to the server with the specified options.
|
HttpClientRequest |
HttpClient.post(RequestOptions options,
Handler<AsyncResult<HttpClientResponse>> responseHandler)
Create an HTTP POST request to send to the server with the specified options, specifying a response handler to receive
the response
|
HttpClientRequest |
HttpClient.put(RequestOptions options)
Create an HTTP PUT request to send to the server with the specified options.
|
HttpClientRequest |
HttpClient.put(RequestOptions options,
Handler<AsyncResult<HttpClientResponse>> responseHandler)
Create an HTTP PUT request to send to the server with the specified options, specifying a response handler to receive
the response
|
HttpClientRequest |
HttpClient.request(HttpMethod method,
RequestOptions options)
Create an HTTP request to send to the server with the specified options.
|
HttpClientRequest |
HttpClient.request(HttpMethod method,
RequestOptions options,
Handler<AsyncResult<HttpClientResponse>> responseHandler)
Create an HTTP request to send to the server with the specified options, specifying a response handler to receive
|
HttpClientRequest |
HttpClient.request(HttpMethod method,
SocketAddress serverAddress,
RequestOptions options)
Like
HttpClient.request(io.vertx.core.http.HttpMethod, io.vertx.reactivex.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(HttpMethod method,
SocketAddress serverAddress,
RequestOptions options,
Handler<AsyncResult<HttpClientResponse>> responseHandler)
Like
HttpClient.request(io.vertx.core.http.HttpMethod, io.vertx.reactivex.core.net.SocketAddress, io.vertx.core.http.RequestOptions) using the serverAddress parameter to connect to the
server instead of the absoluteURI parameter. |
Single<HttpClientResponse> |
HttpClient.rxGetNow(RequestOptions options)
Sends an HTTP GET request to the server with the specified options, specifying a response handler to receive
the response
|
Single<HttpClientResponse> |
HttpClient.rxHeadNow(RequestOptions options)
Sends an HTTP HEAD request to the server with the specified options, specifying a response handler to receive
the response
|
Single<HttpClientResponse> |
HttpClient.rxOptionsNow(RequestOptions options)
Sends an HTTP OPTIONS request to the server with the specified options, specifying a response handler to receive
the response
|
| Modifier and Type | Method and Description |
|---|---|
HttpRequest<Buffer> |
WebClient.request(HttpMethod method,
RequestOptions options)
Create an HTTP request to send to the server at the specified host and port.
|
HttpRequest<Buffer> |
WebClient.request(HttpMethod method,
SocketAddress serverAddress,
RequestOptions options)
Like
WebClient.request(io.vertx.core.http.HttpMethod, int, java.lang.String, java.lang.String) using the serverAddress parameter to connect to the
server instead of the options parameter. |
| Modifier and Type | Method and Description |
|---|---|
HttpClientRequest |
HttpClient.delete(RequestOptions options)
Create an HTTP DELETE request to send to the server with the specified options.
|
HttpClientRequest |
HttpClient.delete(RequestOptions options,
Handler<AsyncResult<HttpClientResponse>> responseHandler)
Create an HTTP DELETE request to send to the server with the specified options, specifying a response handler to receive
the response
|
HttpClientRequest |
HttpClient.get(RequestOptions options)
Create an HTTP GET request to send to the server with the specified options.
|
HttpClientRequest |
HttpClient.get(RequestOptions options,
Handler<AsyncResult<HttpClientResponse>> responseHandler)
Create an HTTP GET request to send to the server with the specified options, specifying a response handler to receive
the response
|
HttpClient |
HttpClient.getNow(RequestOptions options)
Sends an HTTP GET request to the server with the specified options, specifying a response handler to receive
the response
|
HttpClient |
HttpClient.getNow(RequestOptions options,
Handler<AsyncResult<HttpClientResponse>> responseHandler)
Sends an HTTP GET request to the server with the specified options, specifying a response handler to receive
the response
|
HttpClientRequest |
HttpClient.head(RequestOptions options)
Create an HTTP HEAD request to send to the server with the specified options.
|
HttpClientRequest |
HttpClient.head(RequestOptions options,
Handler<AsyncResult<HttpClientResponse>> responseHandler)
Create an HTTP HEAD request to send to the server with the specified options, specifying a response handler to receive
the response
|
HttpClient |
HttpClient.headNow(RequestOptions options)
Sends an HTTP HEAD request to the server with the specified options, specifying a response handler to receive
the response
|
HttpClient |
HttpClient.headNow(RequestOptions options,
Handler<AsyncResult<HttpClientResponse>> responseHandler)
Sends an HTTP HEAD request to the server with the specified options, specifying a response handler to receive
the response
|
HttpClientRequest |
HttpClient.options(RequestOptions options)
Create an HTTP OPTIONS request to send to the server with the specified options.
|
HttpClientRequest |
HttpClient.options(RequestOptions options,
Handler<AsyncResult<HttpClientResponse>> responseHandler)
Create an HTTP OPTIONS request to send to the server with the specified options, specifying a response handler to receive
the response
|
HttpClient |
HttpClient.optionsNow(RequestOptions options)
Sends an HTTP OPTIONS request to the server with the specified options, specifying a response handler to receive
the response
|
HttpClient |
HttpClient.optionsNow(RequestOptions options,
Handler<AsyncResult<HttpClientResponse>> responseHandler)
Sends an HTTP OPTIONS request to the server with the specified options, specifying a response handler to receive
the response
|
HttpClientRequest |
HttpClient.post(RequestOptions options)
Create an HTTP POST request to send to the server with the specified options.
|
HttpClientRequest |
HttpClient.post(RequestOptions options,
Handler<AsyncResult<HttpClientResponse>> responseHandler)
Create an HTTP POST request to send to the server with the specified options, specifying a response handler to receive
the response
|
HttpClientRequest |
HttpClient.put(RequestOptions options)
Create an HTTP PUT request to send to the server with the specified options.
|
HttpClientRequest |
HttpClient.put(RequestOptions options,
Handler<AsyncResult<HttpClientResponse>> responseHandler)
Create an HTTP PUT request to send to the server with the specified options, specifying a response handler to receive
the response
|
HttpClientRequest |
HttpClient.request(HttpMethod method,
RequestOptions options)
Create an HTTP request to send to the server with the specified options.
|
HttpClientRequest |
HttpClient.request(HttpMethod method,
RequestOptions options,
Handler<AsyncResult<HttpClientResponse>> responseHandler)
Create an HTTP request to send to the server with the specified options, specifying a response handler to receive
|
HttpClientRequest |
HttpClient.request(HttpMethod method,
SocketAddress serverAddress,
RequestOptions options)
Like
HttpClient.request(io.vertx.core.http.HttpMethod, io.vertx.rxjava.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(HttpMethod method,
SocketAddress serverAddress,
RequestOptions options,
Handler<AsyncResult<HttpClientResponse>> responseHandler)
Like
HttpClient.request(io.vertx.core.http.HttpMethod, io.vertx.rxjava.core.net.SocketAddress, io.vertx.core.http.RequestOptions) using the serverAddress parameter to connect to the
server instead of the absoluteURI parameter. |
Single<HttpClientResponse> |
HttpClient.rxGetNow(RequestOptions options)
Sends an HTTP GET request to the server with the specified options, specifying a response handler to receive
the response
|
Single<HttpClientResponse> |
HttpClient.rxHeadNow(RequestOptions options)
Sends an HTTP HEAD request to the server with the specified options, specifying a response handler to receive
the response
|
Single<HttpClientResponse> |
HttpClient.rxOptionsNow(RequestOptions options)
Sends an HTTP OPTIONS request to the server with the specified options, specifying a response handler to receive
the response
|
| Modifier and Type | Method and Description |
|---|---|
HttpRequest<Buffer> |
WebClient.request(HttpMethod method,
RequestOptions options)
Create an HTTP request to send to the server at the specified host and port.
|
HttpRequest<Buffer> |
WebClient.request(HttpMethod method,
SocketAddress serverAddress,
RequestOptions options)
Like
WebClient.request(io.vertx.core.http.HttpMethod, int, java.lang.String, java.lang.String) using the serverAddress parameter to connect to the
server instead of the options parameter. |
Copyright © 2019 Eclipse. All rights reserved.