| 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 | 
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 | 
|---|---|
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<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 | 
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<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 | 
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<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 | 
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<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 | 
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<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 | 
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<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 | 
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<HttpClientResponse> responseHandler)
Deprecated. 
 
this method will break in Vert.x 4, the handler will use an  
Handler<AsyncResult<HttpClientResponse>> | 
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<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)  | 
HttpClient | 
HttpClient.websocket(RequestOptions options,
         Handler<WebSocket> wsConnect)
Deprecated. 
 
 | 
HttpClient | 
HttpClient.websocket(RequestOptions options,
         Handler<WebSocket> wsConnect,
         Handler<Throwable> failureHandler)
Deprecated. 
 
 | 
HttpClient | 
HttpClient.websocket(RequestOptions options,
         MultiMap headers,
         Handler<WebSocket> wsConnect)
Deprecated. 
 
 | 
HttpClient | 
HttpClient.websocket(RequestOptions options,
         MultiMap headers,
         Handler<WebSocket> wsConnect,
         Handler<Throwable> failureHandler)
Deprecated. 
 
 | 
HttpClient | 
HttpClient.websocket(RequestOptions options,
         MultiMap headers,
         WebsocketVersion version,
         Handler<WebSocket> wsConnect)
Deprecated. 
 
 | 
HttpClient | 
HttpClient.websocket(RequestOptions options,
         MultiMap headers,
         WebsocketVersion version,
         Handler<WebSocket> wsConnect,
         Handler<Throwable> failureHandler)
Deprecated. 
 
 | 
HttpClient | 
HttpClient.websocket(RequestOptions options,
         MultiMap headers,
         WebsocketVersion version,
         String subProtocols,
         Handler<WebSocket> wsConnect)
Deprecated. 
 
 | 
HttpClient | 
HttpClient.websocket(RequestOptions options,
         MultiMap headers,
         WebsocketVersion version,
         String subProtocols,
         Handler<WebSocket> wsConnect,
         Handler<Throwable> failureHandler)
Deprecated. 
 
 | 
ReadStream<WebSocket> | 
HttpClient.websocketStream(RequestOptions options)
Deprecated. 
 
 | 
ReadStream<WebSocket> | 
HttpClient.websocketStream(RequestOptions options,
               MultiMap headers)
Deprecated. 
 
 | 
ReadStream<WebSocket> | 
HttpClient.websocketStream(RequestOptions options,
               MultiMap headers,
               WebsocketVersion version)
Deprecated. 
 
 | 
ReadStream<WebSocket> | 
HttpClient.websocketStream(RequestOptions options,
               MultiMap headers,
               WebsocketVersion version,
               String subProtocols)
Deprecated. 
 
 | 
| Constructor and Description | 
|---|
RequestOptions(RequestOptions other)
Copy constructor 
 | 
WebSocketConnectOptions(RequestOptions other)  | 
| 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<HttpClientResponse> responseHandler)
Deprecated.  
 | 
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<HttpClientResponse> responseHandler)
Deprecated.  
 | 
HttpClient | 
HttpClient.getNow(RequestOptions options,
      Handler<HttpClientResponse> responseHandler)
Deprecated.  
 | 
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<HttpClientResponse> responseHandler)
Deprecated.  
 | 
HttpClient | 
HttpClient.headNow(RequestOptions options,
       Handler<HttpClientResponse> responseHandler)
Deprecated.  
 | 
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<HttpClientResponse> responseHandler)
Deprecated.  
 | 
HttpClient | 
HttpClient.optionsNow(RequestOptions options,
          Handler<HttpClientResponse> responseHandler)
Deprecated.  
 | 
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<HttpClientResponse> responseHandler)
Deprecated.  
 | 
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<HttpClientResponse> responseHandler)
Deprecated.  
 | 
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<HttpClientResponse> responseHandler)
Deprecated.  
 | 
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<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. | 
HttpClient | 
HttpClient.websocket(RequestOptions options,
         Handler<WebSocket> wsConnect)
Deprecated.  
 | 
HttpClient | 
HttpClient.websocket(RequestOptions options,
         Handler<WebSocket> wsConnect,
         Handler<Throwable> failureHandler)
Deprecated.  
 | 
HttpClient | 
HttpClient.websocket(RequestOptions options,
         MultiMap headers,
         Handler<WebSocket> wsConnect)
Deprecated.  
 | 
HttpClient | 
HttpClient.websocket(RequestOptions options,
         MultiMap headers,
         Handler<WebSocket> wsConnect,
         Handler<Throwable> failureHandler)
Deprecated.  
 | 
HttpClient | 
HttpClient.websocket(RequestOptions options,
         MultiMap headers,
         WebsocketVersion version,
         Handler<WebSocket> wsConnect)
Deprecated.  
 | 
HttpClient | 
HttpClient.websocket(RequestOptions options,
         MultiMap headers,
         WebsocketVersion version,
         Handler<WebSocket> wsConnect,
         Handler<Throwable> failureHandler)
Deprecated.  
 | 
HttpClient | 
HttpClient.websocket(RequestOptions options,
         MultiMap headers,
         WebsocketVersion version,
         String subProtocols,
         Handler<WebSocket> wsConnect)
Deprecated.  
 | 
HttpClient | 
HttpClient.websocket(RequestOptions options,
         MultiMap headers,
         WebsocketVersion version,
         String subProtocols,
         Handler<WebSocket> wsConnect,
         Handler<Throwable> failureHandler)
Deprecated.  
 | 
ReadStream<WebSocket> | 
HttpClient.websocketStream(RequestOptions options)
Deprecated.  
 | 
ReadStream<WebSocket> | 
HttpClient.websocketStream(RequestOptions options,
               MultiMap headers)
Deprecated.  
 | 
ReadStream<WebSocket> | 
HttpClient.websocketStream(RequestOptions options,
               MultiMap headers,
               WebsocketVersion version)
Deprecated.  
 | 
ReadStream<WebSocket> | 
HttpClient.websocketStream(RequestOptions options,
               MultiMap headers,
               WebsocketVersion version,
               String subProtocols)
Deprecated.  
 | 
| 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<HttpClientResponse> responseHandler)
Deprecated.  
 | 
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<HttpClientResponse> responseHandler)
Deprecated.  
 | 
HttpClient | 
HttpClient.getNow(RequestOptions options,
      Handler<HttpClientResponse> responseHandler)
Deprecated.  
 | 
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<HttpClientResponse> responseHandler)
Deprecated.  
 | 
HttpClient | 
HttpClient.headNow(RequestOptions options,
       Handler<HttpClientResponse> responseHandler)
Deprecated.  
 | 
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<HttpClientResponse> responseHandler)
Deprecated.  
 | 
HttpClient | 
HttpClient.optionsNow(RequestOptions options,
          Handler<HttpClientResponse> responseHandler)
Deprecated.  
 | 
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<HttpClientResponse> responseHandler)
Deprecated.  
 | 
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<HttpClientResponse> responseHandler)
Deprecated.  
 | 
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<HttpClientResponse> responseHandler)
Deprecated.  
 | 
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<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. | 
HttpClient | 
HttpClient.websocket(RequestOptions options,
         Handler<WebSocket> wsConnect)
Deprecated.  
 | 
HttpClient | 
HttpClient.websocket(RequestOptions options,
         Handler<WebSocket> wsConnect,
         Handler<Throwable> failureHandler)
Deprecated.  
 | 
HttpClient | 
HttpClient.websocket(RequestOptions options,
         MultiMap headers,
         Handler<WebSocket> wsConnect)
Deprecated.  
 | 
HttpClient | 
HttpClient.websocket(RequestOptions options,
         MultiMap headers,
         Handler<WebSocket> wsConnect,
         Handler<Throwable> failureHandler)
Deprecated.  
 | 
HttpClient | 
HttpClient.websocket(RequestOptions options,
         MultiMap headers,
         WebsocketVersion version,
         Handler<WebSocket> wsConnect)
Deprecated.  
 | 
HttpClient | 
HttpClient.websocket(RequestOptions options,
         MultiMap headers,
         WebsocketVersion version,
         Handler<WebSocket> wsConnect,
         Handler<Throwable> failureHandler)
Deprecated.  
 | 
HttpClient | 
HttpClient.websocket(RequestOptions options,
         MultiMap headers,
         WebsocketVersion version,
         String subProtocols,
         Handler<WebSocket> wsConnect)
Deprecated.  
 | 
HttpClient | 
HttpClient.websocket(RequestOptions options,
         MultiMap headers,
         WebsocketVersion version,
         String subProtocols,
         Handler<WebSocket> wsConnect,
         Handler<Throwable> failureHandler)
Deprecated.  
 | 
ReadStream<WebSocket> | 
HttpClient.websocketStream(RequestOptions options)
Deprecated.  
 | 
ReadStream<WebSocket> | 
HttpClient.websocketStream(RequestOptions options,
               MultiMap headers)
Deprecated.  
 | 
ReadStream<WebSocket> | 
HttpClient.websocketStream(RequestOptions options,
               MultiMap headers,
               WebsocketVersion version)
Deprecated.  
 | 
ReadStream<WebSocket> | 
HttpClient.websocketStream(RequestOptions options,
               MultiMap headers,
               WebsocketVersion version,
               String subProtocols)
Deprecated.  
 | 
| 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 © 2020 Eclipse. All rights reserved.