io.vertx.rxjava.core.http

## Class HttpClient

- java.lang.Object
- - io.vertx.rxjava.core.http.HttpClient

- All Implemented Interfaces:
    Measured

      public class HttpClient
      extends Object
      implements Measured

  An asynchronous HTTP client.

  It allows you to make requests to HTTP servers, and a single client can make requests to any server.

  It also allows you to open WebSockets to servers.

  The client can also pool HTTP connections.

  For pooling to occur, keep-alive must be true on the `HttpClientOptions` (default is true). In this case connections will be pooled and re-used if there are pending HTTP requests waiting to get a connection, otherwise they will be closed.

  This gives the benefits of keep alive when the client is loaded but means we don't keep connections hanging around unnecessarily when there would be no benefits anyway.

  The client also supports pipe-lining of requests. Pipe-lining means another request is sent on the same connection before the response from the preceding one has returned. Pipe-lining is not appropriate for all requests.

  To enable pipe-lining, it must be enabled on the `HttpClientOptions` (default is false).

  When pipe-lining is enabled the connection will be automatically closed when all in-flight responses have returned and there are no outstanding pending requests to write.

  The client is designed to be reused between requests.

  NOTE: This class has been automatically generated from the `original` non RX-ified interface using Vert.x codegen.

- - ### Field Summary

    Fields
    Modifier and Type | Field and Description
    --- | ---
    `static io.vertx.lang.rx.TypeArg<HttpClient>` | `__TYPE_ARG`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `HttpClient(HttpClient delegate)`
    `HttpClient(Object delegate)`

  - ### Method Summary

    All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `close()` Close the client.
    `HttpClient` | `connectionHandler(Handler<HttpConnection> handler)` Set a connection handler for the client.
    `HttpClientRequest` | `delete(int port, String host, String requestURI)` Create an HTTP DELETE request to send to the server at the specified host and port.
    `HttpClientRequest` | `delete(int port, String host, String requestURI, Handler<HttpClientResponse> responseHandler)` Deprecated.
    `HttpClientRequest` | `delete(RequestOptions options)` Create an HTTP DELETE request to send to the server with the specified options.
    `HttpClientRequest` | `delete(RequestOptions options, Handler<HttpClientResponse> responseHandler)` Deprecated.
    `HttpClientRequest` | `delete(String requestURI)` Create an HTTP DELETE request to send to the server at the default host and port.
    `HttpClientRequest` | `delete(String requestURI, Handler<HttpClientResponse> responseHandler)` Deprecated.
    `HttpClientRequest` | `delete(String host, String requestURI)` Create an HTTP DELETE request to send to the server at the specified host and default port.
    `HttpClientRequest` | `delete(String host, String requestURI, Handler<HttpClientResponse> responseHandler)` Deprecated.
    `HttpClientRequest` | `deleteAbs(String absoluteURI)` Create an HTTP DELETE request to send to the server using an absolute URI
    `HttpClientRequest` | `deleteAbs(String absoluteURI, Handler<HttpClientResponse> responseHandler)` Deprecated.
    `boolean` | `equals(Object o)`
    `HttpClientRequest` | `get(int port, String host, String requestURI)` Create an HTTP GET request to send to the server at the specified host and port.
    `HttpClientRequest` | `get(int port, String host, String requestURI, Handler<HttpClientResponse> responseHandler)` Deprecated.
    `HttpClientRequest` | `get(RequestOptions options)` Create an HTTP GET request to send to the server with the specified options.
    `HttpClientRequest` | `get(RequestOptions options, Handler<HttpClientResponse> responseHandler)` Deprecated.
    `HttpClientRequest` | `get(String requestURI)` Create an HTTP GET request to send to the server at the default host and port.
    `HttpClientRequest` | `get(String requestURI, Handler<HttpClientResponse> responseHandler)` Deprecated.
    `HttpClientRequest` | `get(String host, String requestURI)` Create an HTTP GET request to send to the server at the specified host and default port.
    `HttpClientRequest` | `get(String host, String requestURI, Handler<HttpClientResponse> responseHandler)` Deprecated.
    `HttpClientRequest` | `getAbs(String absoluteURI)` Create an HTTP GET request to send to the server using an absolute URI
    `HttpClientRequest` | `getAbs(String absoluteURI, Handler<HttpClientResponse> responseHandler)` Deprecated.
    `HttpClient` | `getDelegate()`
    `HttpClient` | `getNow(int port, String host, String requestURI, Handler<HttpClientResponse> responseHandler)` Deprecated.
    `HttpClient` | `getNow(RequestOptions options, Handler<HttpClientResponse> responseHandler)` Deprecated.
    `HttpClient` | `getNow(String requestURI, Handler<HttpClientResponse> responseHandler)` Deprecated.
    `HttpClient` | `getNow(String host, String requestURI, Handler<HttpClientResponse> responseHandler)` Deprecated.
    `int` | `hashCode()`
    `HttpClientRequest` | `head(int port, String host, String requestURI)` Create an HTTP HEAD request to send to the server at the specified host and port.
    `HttpClientRequest` | `head(int port, String host, String requestURI, Handler<HttpClientResponse> responseHandler)` Deprecated.
    `HttpClientRequest` | `head(RequestOptions options)` Create an HTTP HEAD request to send to the server with the specified options.
    `HttpClientRequest` | `head(RequestOptions options, Handler<HttpClientResponse> responseHandler)` Deprecated.
    `HttpClientRequest` | `head(String requestURI)` Create an HTTP HEAD request to send to the server at the default host and port.
    `HttpClientRequest` | `head(String requestURI, Handler<HttpClientResponse> responseHandler)` Deprecated.
    `HttpClientRequest` | `head(String host, String requestURI)` Create an HTTP HEAD request to send to the server at the specified host and default port.
    `HttpClientRequest` | `head(String host, String requestURI, Handler<HttpClientResponse> responseHandler)` Deprecated.
    `HttpClientRequest` | `headAbs(String absoluteURI)` Create an HTTP HEAD request to send to the server using an absolute URI
    `HttpClientRequest` | `headAbs(String absoluteURI, Handler<HttpClientResponse> responseHandler)` Deprecated.
    `HttpClient` | `headNow(int port, String host, String requestURI, Handler<HttpClientResponse> responseHandler)` Deprecated.
    `HttpClient` | `headNow(RequestOptions options, Handler<HttpClientResponse> responseHandler)` Deprecated.
    `HttpClient` | `headNow(String requestURI, Handler<HttpClientResponse> responseHandler)` Deprecated.
    `HttpClient` | `headNow(String host, String requestURI, Handler<HttpClientResponse> responseHandler)` Deprecated.
    `boolean` | `isMetricsEnabled()` Whether the metrics are enabled for this measured object
    `static HttpClient` | `newInstance(HttpClient arg)`
    `HttpClientRequest` | `options(int port, String host, String requestURI)` Create an HTTP OPTIONS request to send to the server at the specified host and port.
    `HttpClientRequest` | `options(int port, String host, String requestURI, Handler<HttpClientResponse> responseHandler)` Deprecated.
    `HttpClientRequest` | `options(RequestOptions options)` Create an HTTP OPTIONS request to send to the server with the specified options.
    `HttpClientRequest` | `options(RequestOptions options, Handler<HttpClientResponse> responseHandler)` Deprecated.
    `HttpClientRequest` | `options(String requestURI)` Create an HTTP OPTIONS request to send to the server at the default host and port.
    `HttpClientRequest` | `options(String requestURI, Handler<HttpClientResponse> responseHandler)` Deprecated.
    `HttpClientRequest` | `options(String host, String requestURI)` Create an HTTP OPTIONS request to send to the server at the specified host and default port.
    `HttpClientRequest` | `options(String host, String requestURI, Handler<HttpClientResponse> responseHandler)` Deprecated.
    `HttpClientRequest` | `optionsAbs(String absoluteURI)` Create an HTTP OPTIONS request to send to the server using an absolute URI
    `HttpClientRequest` | `optionsAbs(String absoluteURI, Handler<HttpClientResponse> responseHandler)` Deprecated.
    `HttpClient` | `optionsNow(int port, String host, String requestURI, Handler<HttpClientResponse> responseHandler)` Deprecated.
    `HttpClient` | `optionsNow(RequestOptions options, Handler<HttpClientResponse> responseHandler)` Deprecated.
    `HttpClient` | `optionsNow(String requestURI, Handler<HttpClientResponse> responseHandler)` Deprecated.
    `HttpClient` | `optionsNow(String host, String requestURI, Handler<HttpClientResponse> responseHandler)` Deprecated.
    `HttpClientRequest` | `post(int port, String host, String requestURI)` Create an HTTP POST request to send to the server at the specified host and port.
    `HttpClientRequest` | `post(int port, String host, String requestURI, Handler<HttpClientResponse> responseHandler)` Deprecated.
    `HttpClientRequest` | `post(RequestOptions options)` Create an HTTP POST request to send to the server with the specified options.
    `HttpClientRequest` | `post(RequestOptions options, Handler<HttpClientResponse> responseHandler)` Deprecated.
    `HttpClientRequest` | `post(String requestURI)` Create an HTTP POST request to send to the server at the default host and port.
    `HttpClientRequest` | `post(String requestURI, Handler<HttpClientResponse> responseHandler)` Deprecated.
    `HttpClientRequest` | `post(String host, String requestURI)` Create an HTTP POST request to send to the server at the specified host and default port.
    `HttpClientRequest` | `post(String host, String requestURI, Handler<HttpClientResponse> responseHandler)` Deprecated.
    `HttpClientRequest` | `postAbs(String absoluteURI)` Create an HTTP POST request to send to the server using an absolute URI
    `HttpClientRequest` | `postAbs(String absoluteURI, Handler<HttpClientResponse> responseHandler)` Deprecated.
    `HttpClientRequest` | `put(int port, String host, String requestURI)` Create an HTTP PUT request to send to the server at the specified host and port.
    `HttpClientRequest` | `put(int port, String host, String requestURI, Handler<HttpClientResponse> responseHandler)` Deprecated.
    `HttpClientRequest` | `put(RequestOptions options)` Create an HTTP PUT request to send to the server with the specified options.
    `HttpClientRequest` | `put(RequestOptions options, Handler<HttpClientResponse> responseHandler)` Deprecated.
    `HttpClientRequest` | `put(String requestURI)` Create an HTTP PUT request to send to the server at the default host and port.
    `HttpClientRequest` | `put(String requestURI, Handler<HttpClientResponse> responseHandler)` Deprecated.
    `HttpClientRequest` | `put(String host, String requestURI)` Create an HTTP PUT request to send to the server at the specified host and default port.
    `HttpClientRequest` | `put(String host, String requestURI, Handler<HttpClientResponse> responseHandler)` Deprecated.
    `HttpClientRequest` | `putAbs(String absoluteURI)` Create an HTTP PUT request to send to the server using an absolute URI
    `HttpClientRequest` | `putAbs(String absoluteURI, Handler<HttpClientResponse> responseHandler)` Deprecated.
    `HttpClient` | `redirectHandler(java.util.function.Function<HttpClientResponse,Future<HttpClientRequest>> handler)` Set a redirect handler for the http client.
    `HttpClientRequest` | `request(HttpMethod method, int port, String host, String requestURI)` Create an HTTP request to send to the server at the specified host and port.
    `HttpClientRequest` | `request(HttpMethod method, int port, String host, String requestURI, Handler<HttpClientResponse> responseHandler)` Deprecated.
    `HttpClientRequest` | `request(HttpMethod method, RequestOptions options)` Create an HTTP request to send to the server with the specified options.
    `HttpClientRequest` | `request(HttpMethod method, RequestOptions options, Handler<HttpClientResponse> responseHandler)` Deprecated.
    `HttpClientRequest` | `request(HttpMethod method, SocketAddress serverAddress, int port, String host, String requestURI)` Like `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` | `request(HttpMethod method, SocketAddress serverAddress, int port, String host, String requestURI, Handler<HttpClientResponse> responseHandler)` Like `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` | `request(HttpMethod method, SocketAddress serverAddress, RequestOptions options)` Like `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` | `request(HttpMethod method, SocketAddress serverAddress, RequestOptions options, Handler<HttpClientResponse> responseHandler)` Like `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` | `request(HttpMethod method, String requestURI)` Create an HTTP request to send to the server at the default host and port.
    `HttpClientRequest` | `request(HttpMethod method, String requestURI, Handler<HttpClientResponse> responseHandler)` Deprecated.
    `HttpClientRequest` | `request(HttpMethod method, String host, String requestURI)` Create an HTTP request to send to the server at the specified host and default port.
    `HttpClientRequest` | `request(HttpMethod method, String host, String requestURI, Handler<HttpClientResponse> responseHandler)` Deprecated.
    `HttpClientRequest` | `requestAbs(HttpMethod method, SocketAddress serverAddress, String absoluteURI)` Like `requestAbs(io.vertx.core.http.HttpMethod, java.lang.String)` using the `serverAddress` parameter to connect to the server instead of the `absoluteURI` parameter.
    `HttpClientRequest` | `requestAbs(HttpMethod method, SocketAddress serverAddress, String absoluteURI, Handler<HttpClientResponse> responseHandler)` Like `requestAbs(io.vertx.core.http.HttpMethod, java.lang.String)` using the `serverAddress` parameter to connect to the server instead of the `absoluteURI` parameter.
    `HttpClientRequest` | `requestAbs(HttpMethod method, String absoluteURI)` Create an HTTP request to send to the server using an absolute URI
    `HttpClientRequest` | `requestAbs(HttpMethod method, String absoluteURI, Handler<HttpClientResponse> responseHandler)` Deprecated.
    `Single<WebSocket>` | `rxWebSocket(int port, String host, String requestURI)` Connect a WebSocket to the specified port, host and relative request URI
    `Single<WebSocket>` | `rxWebSocket(String requestURI)` Connect a WebSocket at the relative request URI using the default host and port
    `Single<WebSocket>` | `rxWebSocket(String host, String requestURI)` Connect a WebSocket to the host and relative request URI and default port
    `Single<WebSocket>` | `rxWebSocket(WebSocketConnectOptions options)` Connect a WebSocket with the specified options.
    `Single<WebSocket>` | `rxWebSocketAbs(String url, MultiMap headers, WebsocketVersion version, List<String> subProtocols)` Connect a WebSocket with the specified absolute url, with the specified headers, using the specified version of WebSockets, and the specified WebSocket sub protocols.
    `String` | `toString()`
    `void` | `webSocket(int port, String host, String requestURI, Handler<AsyncResult<WebSocket>> handler)` Connect a WebSocket to the specified port, host and relative request URI
    `HttpClient` | `websocket(int port, String host, String requestURI, Handler<WebSocket> wsConnect)` Deprecated.
    `HttpClient` | `websocket(int port, String host, String requestURI, Handler<WebSocket> wsConnect, Handler<Throwable> failureHandler)` Deprecated.
    `HttpClient` | `websocket(int port, String host, String requestURI, MultiMap headers, Handler<WebSocket> wsConnect)` Deprecated.
    `HttpClient` | `websocket(int port, String host, String requestURI, MultiMap headers, Handler<WebSocket> wsConnect, Handler<Throwable> failureHandler)` Deprecated.
    `HttpClient` | `websocket(int port, String host, String requestURI, MultiMap headers, WebsocketVersion version, Handler<WebSocket> wsConnect)` Deprecated.
    `HttpClient` | `websocket(int port, String host, String requestURI, MultiMap headers, WebsocketVersion version, Handler<WebSocket> wsConnect, Handler<Throwable> failureHandler)` Deprecated.
    `HttpClient` | `websocket(int port, String host, String requestURI, MultiMap headers, WebsocketVersion version, String subProtocols, Handler<WebSocket> wsConnect)` Deprecated.
    `HttpClient` | `websocket(int port, String host, String requestURI, MultiMap headers, WebsocketVersion version, String subProtocols, Handler<WebSocket> wsConnect, Handler<Throwable> failureHandler)` Deprecated.
    `HttpClient` | `websocket(RequestOptions options, Handler<WebSocket> wsConnect)` Deprecated.
    `HttpClient` | `websocket(RequestOptions options, Handler<WebSocket> wsConnect, Handler<Throwable> failureHandler)` Deprecated.
    `HttpClient` | `websocket(RequestOptions options, MultiMap headers, Handler<WebSocket> wsConnect)` Deprecated.
    `HttpClient` | `websocket(RequestOptions options, MultiMap headers, Handler<WebSocket> wsConnect, Handler<Throwable> failureHandler)` Deprecated.
    `HttpClient` | `websocket(RequestOptions options, MultiMap headers, WebsocketVersion version, Handler<WebSocket> wsConnect)` Deprecated.
    `HttpClient` | `websocket(RequestOptions options, MultiMap headers, WebsocketVersion version, Handler<WebSocket> wsConnect, Handler<Throwable> failureHandler)` Deprecated.
    `HttpClient` | `websocket(RequestOptions options, MultiMap headers, WebsocketVersion version, String subProtocols, Handler<WebSocket> wsConnect)` Deprecated.
    `HttpClient` | `websocket(RequestOptions options, MultiMap headers, WebsocketVersion version, String subProtocols, Handler<WebSocket> wsConnect, Handler<Throwable> failureHandler)` Deprecated.
    `void` | `webSocket(String requestURI, Handler<AsyncResult<WebSocket>> handler)` Connect a WebSocket at the relative request URI using the default host and port
    `HttpClient` | `websocket(String requestURI, Handler<WebSocket> wsConnect)` Deprecated.
    `HttpClient` | `websocket(String requestURI, Handler<WebSocket> wsConnect, Handler<Throwable> failureHandler)` Deprecated.
    `HttpClient` | `websocket(String requestURI, MultiMap headers, Handler<WebSocket> wsConnect)` Deprecated.
    `HttpClient` | `websocket(String requestURI, MultiMap headers, Handler<WebSocket> wsConnect, Handler<Throwable> failureHandler)` Deprecated.
    `HttpClient` | `websocket(String requestURI, MultiMap headers, WebsocketVersion version, Handler<WebSocket> wsConnect)` Deprecated.
    `HttpClient` | `websocket(String requestURI, MultiMap headers, WebsocketVersion version, Handler<WebSocket> wsConnect, Handler<Throwable> failureHandler)` Deprecated.
    `HttpClient` | `websocket(String requestURI, MultiMap headers, WebsocketVersion version, String subProtocols, Handler<WebSocket> wsConnect)` Deprecated.
    `HttpClient` | `websocket(String requestURI, MultiMap headers, WebsocketVersion version, String subProtocols, Handler<WebSocket> wsConnect, Handler<Throwable> failureHandler)` Deprecated.
    `void` | `webSocket(String host, String requestURI, Handler<AsyncResult<WebSocket>> handler)` Connect a WebSocket to the host and relative request URI and default port
    `HttpClient` | `websocket(String host, String requestURI, Handler<WebSocket> wsConnect)` Deprecated.
    `HttpClient` | `websocket(String host, String requestURI, Handler<WebSocket> wsConnect, Handler<Throwable> failureHandler)` Deprecated.
    `HttpClient` | `websocket(String host, String requestURI, MultiMap headers, Handler<WebSocket> wsConnect)` Deprecated.
    `HttpClient` | `websocket(String host, String requestURI, MultiMap headers, Handler<WebSocket> wsConnect, Handler<Throwable> failureHandler)` Deprecated.
    `HttpClient` | `websocket(String host, String requestURI, MultiMap headers, WebsocketVersion version, Handler<WebSocket> wsConnect)` Deprecated.
    `HttpClient` | `websocket(String host, String requestURI, MultiMap headers, WebsocketVersion version, Handler<WebSocket> wsConnect, Handler<Throwable> failureHandler)` Deprecated.
    `HttpClient` | `websocket(String host, String requestURI, MultiMap headers, WebsocketVersion version, String subProtocols, Handler<WebSocket> wsConnect)` Deprecated.
    `HttpClient` | `websocket(String host, String requestURI, MultiMap headers, WebsocketVersion version, String subProtocols, Handler<WebSocket> wsConnect, Handler<Throwable> failureHandler)` Deprecated.
    `void` | `webSocket(WebSocketConnectOptions options, Handler<AsyncResult<WebSocket>> handler)` Connect a WebSocket with the specified options.
    `void` | `webSocketAbs(String url, MultiMap headers, WebsocketVersion version, List<String> subProtocols, Handler<AsyncResult<WebSocket>> handler)` Connect a WebSocket with the specified absolute url, with the specified headers, using the specified version of WebSockets, and the specified WebSocket sub protocols.
    `HttpClient` | `websocketAbs(String url, MultiMap headers, WebsocketVersion version, String subProtocols, Handler<WebSocket> wsConnect, Handler<Throwable> failureHandler)` Deprecated.
    `Observable<WebSocket>` | `webSocketAbsObservable(String url, MultiMap headers, WebsocketVersion version, List<String> subProtocols)` Deprecated. use `rxWebSocketAbs(java.lang.String, io.vertx.rxjava.core.MultiMap, io.vertx.core.http.WebsocketVersion, java.util.List<java.lang.String>)` instead
    `Observable<WebSocket>` | `webSocketObservable(int port, String host, String requestURI)` Deprecated. use `rxWebSocket(int, java.lang.String, java.lang.String)` instead
    `Observable<WebSocket>` | `webSocketObservable(String requestURI)` Deprecated. use `rxWebSocket(int, java.lang.String, java.lang.String)` instead
    `Observable<WebSocket>` | `webSocketObservable(String host, String requestURI)` Deprecated. use `rxWebSocket(int, java.lang.String, java.lang.String)` instead
    `Observable<WebSocket>` | `webSocketObservable(WebSocketConnectOptions options)` Deprecated. use `rxWebSocket(int, java.lang.String, java.lang.String)` instead
    `ReadStream<WebSocket>` | `websocketStream(int port, String host, String requestURI)` Deprecated.
    `ReadStream<WebSocket>` | `websocketStream(int port, String host, String requestURI, MultiMap headers)` Deprecated.
    `ReadStream<WebSocket>` | `websocketStream(int port, String host, String requestURI, MultiMap headers, WebsocketVersion version)` Deprecated.
    `ReadStream<WebSocket>` | `websocketStream(int port, String host, String requestURI, MultiMap headers, WebsocketVersion version, String subProtocols)` Deprecated.
    `ReadStream<WebSocket>` | `websocketStream(RequestOptions options)` Deprecated.
    `ReadStream<WebSocket>` | `websocketStream(RequestOptions options, MultiMap headers)` Deprecated.
    `ReadStream<WebSocket>` | `websocketStream(RequestOptions options, MultiMap headers, WebsocketVersion version)` Deprecated.
    `ReadStream<WebSocket>` | `websocketStream(RequestOptions options, MultiMap headers, WebsocketVersion version, String subProtocols)` Deprecated.
    `ReadStream<WebSocket>` | `websocketStream(String requestURI)` Deprecated.
    `ReadStream<WebSocket>` | `websocketStream(String requestURI, MultiMap headers)` Deprecated.
    `ReadStream<WebSocket>` | `websocketStream(String requestURI, MultiMap headers, WebsocketVersion version)` Deprecated.
    `ReadStream<WebSocket>` | `websocketStream(String requestURI, MultiMap headers, WebsocketVersion version, String subProtocols)` Deprecated.
    `ReadStream<WebSocket>` | `websocketStream(String host, String requestURI)` Deprecated.
    `ReadStream<WebSocket>` | `websocketStream(String host, String requestURI, MultiMap headers)` Deprecated.
    `ReadStream<WebSocket>` | `websocketStream(String host, String requestURI, MultiMap headers, WebsocketVersion version)` Deprecated.
    `ReadStream<WebSocket>` | `websocketStream(String host, String requestURI, MultiMap headers, WebsocketVersion version, String subProtocols)` Deprecated.
    `ReadStream<WebSocket>` | `websocketStreamAbs(String url, MultiMap headers, WebsocketVersion version, String subProtocols)` Deprecated.

    - ### Methods inherited from class java.lang.Object

      `clone, finalize, getClass, notify, notifyAll, wait, wait, wait`

    - ### Methods inherited from interface io.vertx.rxjava.core.metrics.Measured

      `newInstance`

- - ### Field Detail

    - #### __TYPE_ARG

          public static final io.vertx.lang.rx.TypeArg<HttpClient> __TYPE_ARG

  - ### Constructor Detail

    - #### HttpClient

          public HttpClient(HttpClient delegate)

    - #### HttpClient

          public HttpClient(Object delegate)

  - ### Method Detail

    - #### toString

          public String toString()

      Overrides:
        `toString` in class `Object`

    - #### equals

          public boolean equals(Object o)

      Overrides:
        `equals` in class `Object`

    - #### hashCode

          public int hashCode()

      Overrides:
        `hashCode` in class `Object`

    - #### getDelegate

          public HttpClient getDelegate()

      Specified by:
        `getDelegate` in interface `Measured`

    - #### isMetricsEnabled

          public boolean isMetricsEnabled()

      Whether the metrics are enabled for this measured object
      Specified by:
        `isMetricsEnabled` in interface `Measured`
      Returns:
        `true` if metrics are enabled

    - #### request

          public HttpClientRequest request(HttpMethod method,
                                           SocketAddress serverAddress,
                                           RequestOptions options)

      Like `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.

      The request host header will still be created from the `options` parameter.

      Use to connect to a unix domain socket server.

      Parameters:
        `method` -
        `serverAddress` -
        `options` -
      Returns:

    - #### request

          public HttpClientRequest request(HttpMethod method,
                                           RequestOptions options)

      Create an HTTP request to send to the server with the specified options.
      Parameters:
        `method` - the HTTP method
        `options` - the request options
      Returns:
        an HTTP client request object

    - #### request

          public HttpClientRequest request(HttpMethod method,
                                           int port,
                                           String host,
                                           String requestURI)

      Create an HTTP request to send to the server at the specified host and port.
      Parameters:
        `method` - the HTTP method
        `port` - the port
        `host` - the host
        `requestURI` - the relative URI
      Returns:
        an HTTP client request object

    - #### request

          public HttpClientRequest request(HttpMethod method,
                                           SocketAddress serverAddress,
                                           int port,
                                           String host,
                                           String requestURI)

      Like `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.

      The request host header will still be created from the `host` and `port` parameters.

      Use to connect to a unix domain socket server.

      Parameters:
        `method` -
        `serverAddress` -
        `port` -
        `host` -
        `requestURI` -
      Returns:

    - #### request

          public HttpClientRequest request(HttpMethod method,
                                           String host,
                                           String requestURI)

      Create an HTTP request to send to the server at the specified host and default port.
      Parameters:
        `method` - the HTTP method
        `host` - the host
        `requestURI` - the relative URI
      Returns:
        an HTTP client request object

    - #### request

          @Deprecated
          public HttpClientRequest request(HttpMethod method,
                                                       RequestOptions options,
                                                       Handler<HttpClientResponse> responseHandler)

      Deprecated.
      Create an HTTP request to send to the server with the specified options, specifying a response handler to receive
      Parameters:
        `method` - the HTTP method
        `options` - the request options
        `responseHandler` -
      Returns:
        an HTTP client request object

    - #### request

          public HttpClientRequest request(HttpMethod method,
                                           SocketAddress serverAddress,
                                           RequestOptions options,
                                           Handler<HttpClientResponse> responseHandler)

      Like `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.

      The request host header will still be created from the `options` parameter.

      Use to connect to a unix domain socket server.

      Parameters:
        `method` -
        `serverAddress` -
        `options` -
        `responseHandler` -
      Returns:

    - #### request

          @Deprecated
          public HttpClientRequest request(HttpMethod method,
                                                       int port,
                                                       String host,
                                                       String requestURI,
                                                       Handler<HttpClientResponse> responseHandler)

      Deprecated.
      Create an HTTP request to send to the server at the specified host and port, specifying a response handler to receive the response
      Parameters:
        `method` - the HTTP method
        `port` - the port
        `host` - the host
        `requestURI` - the relative URI
        `responseHandler` - the response handler
      Returns:
        an HTTP client request object

    - #### request

          public HttpClientRequest request(HttpMethod method,
                                           SocketAddress serverAddress,
                                           int port,
                                           String host,
                                           String requestURI,
                                           Handler<HttpClientResponse> responseHandler)

      Like `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.

      The request host header will still be created from the `host` and `port` parameters.

      Use to connect to a unix domain socket server.

      Parameters:
        `method` -
        `serverAddress` -
        `port` -
        `host` -
        `requestURI` -
        `responseHandler` -
      Returns:

    - #### request

          @Deprecated
          public HttpClientRequest request(HttpMethod method,
                                                       String host,
                                                       String requestURI,
                                                       Handler<HttpClientResponse> responseHandler)

      Deprecated.
      Create an HTTP request to send to the server at the specified host and default port, specifying a response handler to receive the response
      Parameters:
        `method` - the HTTP method
        `host` - the host
        `requestURI` - the relative URI
        `responseHandler` - the response handler
      Returns:
        an HTTP client request object

    - #### request

          public HttpClientRequest request(HttpMethod method,
                                           String requestURI)

      Create an HTTP request to send to the server at the default host and port.
      Parameters:
        `method` - the HTTP method
        `requestURI` - the relative URI
      Returns:
        an HTTP client request object

    - #### request

          @Deprecated
          public HttpClientRequest request(HttpMethod method,
                                                       String requestURI,
                                                       Handler<HttpClientResponse> responseHandler)

      Deprecated.
      Create an HTTP request to send to the server at the default host and port, specifying a response handler to receive the response
      Parameters:
        `method` - the HTTP method
        `requestURI` - the relative URI
        `responseHandler` - the response handler
      Returns:
        an HTTP client request object

    - #### requestAbs

          public HttpClientRequest requestAbs(HttpMethod method,
                                              String absoluteURI)

      Create an HTTP request to send to the server using an absolute URI
      Parameters:
        `method` - the HTTP method
        `absoluteURI` - the absolute URI
      Returns:
        an HTTP client request object

    - #### requestAbs

          public HttpClientRequest requestAbs(HttpMethod method,
                                              SocketAddress serverAddress,
                                              String absoluteURI)

      Like `requestAbs(io.vertx.core.http.HttpMethod, java.lang.String)` using the `serverAddress` parameter to connect to the server instead of the `absoluteURI` parameter.

      The request host header will still be created from the `absoluteURI` parameter.

      Use to connect to a unix domain socket server.

      Parameters:
        `method` -
        `serverAddress` -
        `absoluteURI` -
      Returns:

    - #### requestAbs

          @Deprecated
          public HttpClientRequest requestAbs(HttpMethod method,
                                                          String absoluteURI,
                                                          Handler<HttpClientResponse> responseHandler)

      Deprecated.
      Create an HTTP request to send to the server using an absolute URI, specifying a response handler to receive the response
      Parameters:
        `method` - the HTTP method
        `absoluteURI` - the absolute URI
        `responseHandler` - the response handler
      Returns:
        an HTTP client request object

    - #### requestAbs

          public HttpClientRequest requestAbs(HttpMethod method,
                                              SocketAddress serverAddress,
                                              String absoluteURI,
                                              Handler<HttpClientResponse> responseHandler)

      Like `requestAbs(io.vertx.core.http.HttpMethod, java.lang.String)` using the `serverAddress` parameter to connect to the server instead of the `absoluteURI` parameter.

      The request host header will still be created from the `absoluteURI` parameter.

      Use to connect to a unix domain socket server.

      Parameters:
        `method` -
        `serverAddress` -
        `absoluteURI` -
        `responseHandler` -
      Returns:

    - #### get

          public HttpClientRequest get(RequestOptions options)

      Create an HTTP GET request to send to the server with the specified options.
      Parameters:
        `options` - the request options
      Returns:
        an HTTP client request object

    - #### get

          public HttpClientRequest get(int port,
                                       String host,
                                       String requestURI)

      Create an HTTP GET request to send to the server at the specified host and port.
      Parameters:
        `port` - the port
        `host` - the host
        `requestURI` - the relative URI
      Returns:
        an HTTP client request object

    - #### get

          public HttpClientRequest get(String host,
                                       String requestURI)

      Create an HTTP GET request to send to the server at the specified host and default port.
      Parameters:
        `host` - the host
        `requestURI` - the relative URI
      Returns:
        an HTTP client request object

    - #### get

          @Deprecated
          public HttpClientRequest get(RequestOptions options,
                                                   Handler<HttpClientResponse> responseHandler)

      Deprecated.
      Create an HTTP GET request to send to the server with the specified options, specifying a response handler to receive the response
      Parameters:
        `options` - the request options
        `responseHandler` - the response handler
      Returns:
        an HTTP client request object

    - #### get

          @Deprecated
          public HttpClientRequest get(int port,
                                                   String host,
                                                   String requestURI,
                                                   Handler<HttpClientResponse> responseHandler)

      Deprecated.
      Create an HTTP GET request to send to the server at the specified host and port, specifying a response handler to receive the response
      Parameters:
        `port` - the port
        `host` - the host
        `requestURI` - the relative URI
        `responseHandler` - the response handler
      Returns:
        an HTTP client request object

    - #### get

          @Deprecated
          public HttpClientRequest get(String host,
                                                   String requestURI,
                                                   Handler<HttpClientResponse> responseHandler)

      Deprecated.
      Create an HTTP GET request to send to the server at the specified host and default port, specifying a response handler to receive the response
      Parameters:
        `host` - the host
        `requestURI` - the relative URI
        `responseHandler` - the response handler
      Returns:
        an HTTP client request object

    - #### get

          public HttpClientRequest get(String requestURI)

      Create an HTTP GET request to send to the server at the default host and port.
      Parameters:
        `requestURI` - the relative URI
      Returns:
        an HTTP client request object

    - #### get

          @Deprecated
          public HttpClientRequest get(String requestURI,
                                                   Handler<HttpClientResponse> responseHandler)

      Deprecated.
      Create an HTTP GET request to send to the server at the default host and port, specifying a response handler to receive the response
      Parameters:
        `requestURI` - the relative URI
        `responseHandler` - the response handler
      Returns:
        an HTTP client request object

    - #### getAbs

          public HttpClientRequest getAbs(String absoluteURI)

      Create an HTTP GET request to send to the server using an absolute URI
      Parameters:
        `absoluteURI` - the absolute URI
      Returns:
        an HTTP client request object

    - #### getAbs

          @Deprecated
          public HttpClientRequest getAbs(String absoluteURI,
                                                      Handler<HttpClientResponse> responseHandler)

      Deprecated.
      Create an HTTP GET request to send to the server using an absolute URI, specifying a response handler to receive the response
      Parameters:
        `absoluteURI` - the absolute URI
        `responseHandler` - the response handler
      Returns:
        an HTTP client request object

    - #### getNow

          @Deprecated
          public HttpClient getNow(RequestOptions options,
                                               Handler<HttpClientResponse> responseHandler)

      Deprecated.
      Sends an HTTP GET request to the server with the specified options, specifying a response handler to receive the response
      Parameters:
        `options` - the request options
        `responseHandler` - the response handler
      Returns:
        a reference to this, so the API can be used fluently

    - #### getNow

          @Deprecated
          public HttpClient getNow(int port,
                                               String host,
                                               String requestURI,
                                               Handler<HttpClientResponse> responseHandler)

      Deprecated.
      Sends an HTTP GET request to the server at the specified host and port, specifying a response handler to receive the response
      Parameters:
        `port` - the port
        `host` - the host
        `requestURI` - the relative URI
        `responseHandler` - the response handler
      Returns:
        a reference to this, so the API can be used fluently

    - #### getNow

          @Deprecated
          public HttpClient getNow(String host,
                                               String requestURI,
                                               Handler<HttpClientResponse> responseHandler)

      Deprecated.
      Sends an HTTP GET request to the server at the specified host and default port, specifying a response handler to receive the response
      Parameters:
        `host` - the host
        `requestURI` - the relative URI
        `responseHandler` - the response handler
      Returns:
        a reference to this, so the API can be used fluently

    - #### getNow

          @Deprecated
          public HttpClient getNow(String requestURI,
                                               Handler<HttpClientResponse> responseHandler)

      Deprecated.
      Sends an HTTP GET request to the server at the default host and port, specifying a response handler to receive the response
      Parameters:
        `requestURI` - the relative URI
        `responseHandler` - the response handler
      Returns:
        a reference to this, so the API can be used fluently

    - #### post

          public HttpClientRequest post(RequestOptions options)

      Create an HTTP POST request to send to the server with the specified options.
      Parameters:
        `options` - the request options
      Returns:
        an HTTP client request object

    - #### post

          public HttpClientRequest post(int port,
                                        String host,
                                        String requestURI)

      Create an HTTP POST request to send to the server at the specified host and port.
      Parameters:
        `port` - the port
        `host` - the host
        `requestURI` - the relative URI
      Returns:
        an HTTP client request object

    - #### post

          public HttpClientRequest post(String host,
                                        String requestURI)

      Create an HTTP POST request to send to the server at the specified host and default port.
      Parameters:
        `host` - the host
        `requestURI` - the relative URI
      Returns:
        an HTTP client request object

    - #### post

          @Deprecated
          public HttpClientRequest post(RequestOptions options,
                                                    Handler<HttpClientResponse> responseHandler)

      Deprecated.
      Create an HTTP POST request to send to the server with the specified options, specifying a response handler to receive the response
      Parameters:
        `options` - the request options
        `responseHandler` - the response handler
      Returns:
        an HTTP client request object

    - #### post

          @Deprecated
          public HttpClientRequest post(int port,
                                                    String host,
                                                    String requestURI,
                                                    Handler<HttpClientResponse> responseHandler)

      Deprecated.
      Create an HTTP POST request to send to the server at the specified host and port, specifying a response handler to receive the response
      Parameters:
        `port` - the port
        `host` - the host
        `requestURI` - the relative URI
        `responseHandler` - the response handler
      Returns:
        an HTTP client request object

    - #### post

          @Deprecated
          public HttpClientRequest post(String host,
                                                    String requestURI,
                                                    Handler<HttpClientResponse> responseHandler)

      Deprecated.
      Create an HTTP POST request to send to the server at the specified host and default port, specifying a response handler to receive the response
      Parameters:
        `host` - the host
        `requestURI` - the relative URI
        `responseHandler` - the response handler
      Returns:
        an HTTP client request object

    - #### post

          public HttpClientRequest post(String requestURI)

      Create an HTTP POST request to send to the server at the default host and port.
      Parameters:
        `requestURI` - the relative URI
      Returns:
        an HTTP client request object

    - #### post

          @Deprecated
          public HttpClientRequest post(String requestURI,
                                                    Handler<HttpClientResponse> responseHandler)

      Deprecated.
      Create an HTTP POST request to send to the server at the default host and port, specifying a response handler to receive the response
      Parameters:
        `requestURI` - the relative URI
        `responseHandler` - the response handler
      Returns:
        an HTTP client request object

    - #### postAbs

          public HttpClientRequest postAbs(String absoluteURI)

      Create an HTTP POST request to send to the server using an absolute URI
      Parameters:
        `absoluteURI` - the absolute URI
      Returns:
        an HTTP client request object

    - #### postAbs

          @Deprecated
          public HttpClientRequest postAbs(String absoluteURI,
                                                       Handler<HttpClientResponse> responseHandler)

      Deprecated.
      Create an HTTP POST request to send to the server using an absolute URI, specifying a response handler to receive the response
      Parameters:
        `absoluteURI` - the absolute URI
        `responseHandler` - the response handler
      Returns:
        an HTTP client request object

    - #### head

          public HttpClientRequest head(RequestOptions options)

      Create an HTTP HEAD request to send to the server with the specified options.
      Parameters:
        `options` - the request options
      Returns:
        an HTTP client request object

    - #### head

          public HttpClientRequest head(int port,
                                        String host,
                                        String requestURI)

      Create an HTTP HEAD request to send to the server at the specified host and port.
      Parameters:
        `port` - the port
        `host` - the host
        `requestURI` - the relative URI
      Returns:
        an HTTP client request object

    - #### head

          public HttpClientRequest head(String host,
                                        String requestURI)

      Create an HTTP HEAD request to send to the server at the specified host and default port.
      Parameters:
        `host` - the host
        `requestURI` - the relative URI
      Returns:
        an HTTP client request object

    - #### head

          @Deprecated
          public HttpClientRequest head(RequestOptions options,
                                                    Handler<HttpClientResponse> responseHandler)

      Deprecated.
      Create an HTTP HEAD request to send to the server with the specified options, specifying a response handler to receive the response
      Parameters:
        `options` - the request options
        `responseHandler` - the response handler
      Returns:
        an HTTP client request object

    - #### head

          @Deprecated
          public HttpClientRequest head(int port,
                                                    String host,
                                                    String requestURI,
                                                    Handler<HttpClientResponse> responseHandler)

      Deprecated.
      Create an HTTP HEAD request to send to the server at the specified host and port, specifying a response handler to receive the response
      Parameters:
        `port` - the port
        `host` - the host
        `requestURI` - the relative URI
        `responseHandler` - the response handler
      Returns:
        an HTTP client request object

    - #### head

          @Deprecated
          public HttpClientRequest head(String host,
                                                    String requestURI,
                                                    Handler<HttpClientResponse> responseHandler)

      Deprecated.
      Create an HTTP HEAD request to send to the server at the specified host and default port, specifying a response handler to receive the response
      Parameters:
        `host` - the host
        `requestURI` - the relative URI
        `responseHandler` - the response handler
      Returns:
        an HTTP client request object

    - #### head

          public HttpClientRequest head(String requestURI)

      Create an HTTP HEAD request to send to the server at the default host and port.
      Parameters:
        `requestURI` - the relative URI
      Returns:
        an HTTP client request object

    - #### head

          @Deprecated
          public HttpClientRequest head(String requestURI,
                                                    Handler<HttpClientResponse> responseHandler)

      Deprecated.
      Create an HTTP HEAD request to send to the server at the default host and port, specifying a response handler to receive the response
      Parameters:
        `requestURI` - the relative URI
        `responseHandler` - the response handler
      Returns:
        an HTTP client request object

    - #### headAbs

          public HttpClientRequest headAbs(String absoluteURI)

      Create an HTTP HEAD request to send to the server using an absolute URI
      Parameters:
        `absoluteURI` - the absolute URI
      Returns:
        an HTTP client request object

    - #### headAbs

          @Deprecated
          public HttpClientRequest headAbs(String absoluteURI,
                                                       Handler<HttpClientResponse> responseHandler)

      Deprecated.
      Create an HTTP HEAD request to send to the server using an absolute URI, specifying a response handler to receive the response
      Parameters:
        `absoluteURI` - the absolute URI
        `responseHandler` - the response handler
      Returns:
        an HTTP client request object

    - #### headNow

          @Deprecated
          public HttpClient headNow(RequestOptions options,
                                                Handler<HttpClientResponse> responseHandler)

      Deprecated.
      Sends an HTTP HEAD request to the server with the specified options, specifying a response handler to receive the response
      Parameters:
        `options` - the request options
        `responseHandler` - the response handler
      Returns:
        a reference to this, so the API can be used fluently

    - #### headNow

          @Deprecated
          public HttpClient headNow(int port,
                                                String host,
                                                String requestURI,
                                                Handler<HttpClientResponse> responseHandler)

      Deprecated.
      Sends an HTTP HEAD request to the server at the specified host and port, specifying a response handler to receive the response
      Parameters:
        `port` - the port
        `host` - the host
        `requestURI` - the relative URI
        `responseHandler` - the response handler
      Returns:
        a reference to this, so the API can be used fluently

    - #### headNow

          @Deprecated
          public HttpClient headNow(String host,
                                                String requestURI,
                                                Handler<HttpClientResponse> responseHandler)

      Deprecated.
      Sends an HTTP HEAD request to the server at the specified host and default port, specifying a response handler to receive the response
      Parameters:
        `host` - the host
        `requestURI` - the relative URI
        `responseHandler` - the response handler
      Returns:
        a reference to this, so the API can be used fluently

    - #### headNow

          @Deprecated
          public HttpClient headNow(String requestURI,
                                                Handler<HttpClientResponse> responseHandler)

      Deprecated.
      Sends an HTTP HEAD request to the server at the default host and port, specifying a response handler to receive the response
      Parameters:
        `requestURI` - the relative URI
        `responseHandler` - the response handler
      Returns:
        a reference to this, so the API can be used fluently

    - #### options

          public HttpClientRequest options(RequestOptions options)

      Create an HTTP OPTIONS request to send to the server with the specified options.
      Parameters:
        `options` - the request options
      Returns:
        an HTTP client request object

    - #### options

          public HttpClientRequest options(int port,
                                           String host,
                                           String requestURI)

      Create an HTTP OPTIONS request to send to the server at the specified host and port.
      Parameters:
        `port` - the port
        `host` - the host
        `requestURI` - the relative URI
      Returns:
        an HTTP client request object

    - #### options

          public HttpClientRequest options(String host,
                                           String requestURI)

      Create an HTTP OPTIONS request to send to the server at the specified host and default port.
      Parameters:
        `host` - the host
        `requestURI` - the relative URI
      Returns:
        an HTTP client request object

    - #### options

          @Deprecated
          public HttpClientRequest options(RequestOptions options,
                                                       Handler<HttpClientResponse> responseHandler)

      Deprecated.
      Create an HTTP OPTIONS request to send to the server with the specified options, specifying a response handler to receive the response
      Parameters:
        `options` - the request options
        `responseHandler` - the response handler
      Returns:
        an HTTP client request object

    - #### options

          @Deprecated
          public HttpClientRequest options(int port,
                                                       String host,
                                                       String requestURI,
                                                       Handler<HttpClientResponse> responseHandler)

      Deprecated.
      Create an HTTP OPTIONS request to send to the server at the specified host and port, specifying a response handler to receive the response
      Parameters:
        `port` - the port
        `host` - the host
        `requestURI` - the relative URI
        `responseHandler` - the response handler
      Returns:
        an HTTP client request object

    - #### options

          @Deprecated
          public HttpClientRequest options(String host,
                                                       String requestURI,
                                                       Handler<HttpClientResponse> responseHandler)

      Deprecated.
      Create an HTTP OPTIONS request to send to the server at the specified host and default port, specifying a response handler to receive the response
      Parameters:
        `host` - the host
        `requestURI` - the relative URI
        `responseHandler` - the response handler
      Returns:
        an HTTP client request object

    - #### options

          public HttpClientRequest options(String requestURI)

      Create an HTTP OPTIONS request to send to the server at the default host and port.
      Parameters:
        `requestURI` - the relative URI
      Returns:
        an HTTP client request object

    - #### options

          @Deprecated
          public HttpClientRequest options(String requestURI,
                                                       Handler<HttpClientResponse> responseHandler)

      Deprecated.
      Create an HTTP OPTIONS request to send to the server at the default host and port, specifying a response handler to receive the response
      Parameters:
        `requestURI` - the relative URI
        `responseHandler` - the response handler
      Returns:
        an HTTP client request object

    - #### optionsAbs

          public HttpClientRequest optionsAbs(String absoluteURI)

      Create an HTTP OPTIONS request to send to the server using an absolute URI
      Parameters:
        `absoluteURI` - the absolute URI
      Returns:
        an HTTP client request object

    - #### optionsAbs

          @Deprecated
          public HttpClientRequest optionsAbs(String absoluteURI,
                                                          Handler<HttpClientResponse> responseHandler)

      Deprecated.
      Create an HTTP OPTIONS request to send to the server using an absolute URI, specifying a response handler to receive the response
      Parameters:
        `absoluteURI` - the absolute URI
        `responseHandler` - the response handler
      Returns:
        an HTTP client request object

    - #### optionsNow

          @Deprecated
          public HttpClient optionsNow(RequestOptions options,
                                                   Handler<HttpClientResponse> responseHandler)

      Deprecated.
      Sends an HTTP OPTIONS request to the server with the specified options, specifying a response handler to receive the response
      Parameters:
        `options` - the request options
        `responseHandler` - the response handler
      Returns:
        a reference to this, so the API can be used fluently

    - #### optionsNow

          @Deprecated
          public HttpClient optionsNow(int port,
                                                   String host,
                                                   String requestURI,
                                                   Handler<HttpClientResponse> responseHandler)

      Deprecated.
      Sends an HTTP OPTIONS request to the server at the specified host and port, specifying a response handler to receive the response
      Parameters:
        `port` - the port
        `host` - the host
        `requestURI` - the relative URI
        `responseHandler` - the response handler
      Returns:
        a reference to this, so the API can be used fluently

    - #### optionsNow

          @Deprecated
          public HttpClient optionsNow(String host,
                                                   String requestURI,
                                                   Handler<HttpClientResponse> responseHandler)

      Deprecated.
      Sends an HTTP OPTIONS request to the server at the specified host and default port, specifying a response handler to receive the response
      Parameters:
        `host` - the host
        `requestURI` - the relative URI
        `responseHandler` - the response handler
      Returns:
        a reference to this, so the API can be used fluently

    - #### optionsNow

          @Deprecated
          public HttpClient optionsNow(String requestURI,
                                                   Handler<HttpClientResponse> responseHandler)

      Deprecated.
      Sends an HTTP OPTIONS request to the server at the default host and port, specifying a response handler to receive the response
      Parameters:
        `requestURI` - the relative URI
        `responseHandler` - the response handler
      Returns:
        a reference to this, so the API can be used fluently

    - #### put

          public HttpClientRequest put(RequestOptions options)

      Create an HTTP PUT request to send to the server with the specified options.
      Parameters:
        `options` - the request options
      Returns:
        an HTTP client request object

    - #### put

          public HttpClientRequest put(int port,
                                       String host,
                                       String requestURI)

      Create an HTTP PUT request to send to the server at the specified host and port.
      Parameters:
        `port` - the port
        `host` - the host
        `requestURI` - the relative URI
      Returns:
        an HTTP client request object

    - #### put

          public HttpClientRequest put(String host,
                                       String requestURI)

      Create an HTTP PUT request to send to the server at the specified host and default port.
      Parameters:
        `host` - the host
        `requestURI` - the relative URI
      Returns:
        an HTTP client request object

    - #### put

          @Deprecated
          public HttpClientRequest put(RequestOptions options,
                                                   Handler<HttpClientResponse> responseHandler)

      Deprecated.
      Create an HTTP PUT request to send to the server with the specified options, specifying a response handler to receive the response
      Parameters:
        `options` - the request options
        `responseHandler` - the response handler
      Returns:
        an HTTP client request object

    - #### put

          @Deprecated
          public HttpClientRequest put(int port,
                                                   String host,
                                                   String requestURI,
                                                   Handler<HttpClientResponse> responseHandler)

      Deprecated.
      Create an HTTP PUT request to send to the server at the specified host and port, specifying a response handler to receive the response
      Parameters:
        `port` - the port
        `host` - the host
        `requestURI` - the relative URI
        `responseHandler` - the response handler
      Returns:
        an HTTP client request object

    - #### put

          @Deprecated
          public HttpClientRequest put(String host,
                                                   String requestURI,
                                                   Handler<HttpClientResponse> responseHandler)

      Deprecated.
      Create an HTTP PUT request to send to the server at the specified host and default port, specifying a response handler to receive the response
      Parameters:
        `host` - the host
        `requestURI` - the relative URI
        `responseHandler` - the response handler
      Returns:
        an HTTP client request object

    - #### put

          public HttpClientRequest put(String requestURI)

      Create an HTTP PUT request to send to the server at the default host and port.
      Parameters:
        `requestURI` - the relative URI
      Returns:
        an HTTP client request object

    - #### put

          @Deprecated
          public HttpClientRequest put(String requestURI,
                                                   Handler<HttpClientResponse> responseHandler)

      Deprecated.
      Create an HTTP PUT request to send to the server at the default host and port, specifying a response handler to receive the response
      Parameters:
        `requestURI` - the relative URI
        `responseHandler` - the response handler
      Returns:
        an HTTP client request object

    - #### putAbs

          public HttpClientRequest putAbs(String absoluteURI)

      Create an HTTP PUT request to send to the server using an absolute URI
      Parameters:
        `absoluteURI` - the absolute URI
      Returns:
        an HTTP client request object

    - #### putAbs

          @Deprecated
          public HttpClientRequest putAbs(String absoluteURI,
                                                      Handler<HttpClientResponse> responseHandler)

      Deprecated.
      Create an HTTP PUT request to send to the server using an absolute URI, specifying a response handler to receive the response
      Parameters:
        `absoluteURI` - the absolute URI
        `responseHandler` - the response handler
      Returns:
        an HTTP client request object

    - #### delete

          public HttpClientRequest delete(RequestOptions options)

      Create an HTTP DELETE request to send to the server with the specified options.
      Parameters:
        `options` - the request options
      Returns:
        an HTTP client request object

    - #### delete

          public HttpClientRequest delete(int port,
                                          String host,
                                          String requestURI)

      Create an HTTP DELETE request to send to the server at the specified host and port.
      Parameters:
        `port` - the port
        `host` - the host
        `requestURI` - the relative URI
      Returns:
        an HTTP client request object

    - #### delete

          public HttpClientRequest delete(String host,
                                          String requestURI)

      Create an HTTP DELETE request to send to the server at the specified host and default port.
      Parameters:
        `host` - the host
        `requestURI` - the relative URI
      Returns:
        an HTTP client request object

    - #### delete

          @Deprecated
          public HttpClientRequest delete(RequestOptions options,
                                                      Handler<HttpClientResponse> responseHandler)

      Deprecated.
      Create an HTTP DELETE request to send to the server with the specified options, specifying a response handler to receive the response
      Parameters:
        `options` - the request options
        `responseHandler` - the response handler
      Returns:
        an HTTP client request object

    - #### delete

          @Deprecated
          public HttpClientRequest delete(int port,
                                                      String host,
                                                      String requestURI,
                                                      Handler<HttpClientResponse> responseHandler)

      Deprecated.
      Create an HTTP DELETE request to send to the server at the specified host and port, specifying a response handler to receive the response
      Parameters:
        `port` - the port
        `host` - the host
        `requestURI` - the relative URI
        `responseHandler` - the response handler
      Returns:
        an HTTP client request object

    - #### delete

          @Deprecated
          public HttpClientRequest delete(String host,
                                                      String requestURI,
                                                      Handler<HttpClientResponse> responseHandler)

      Deprecated.
      Create an HTTP DELETE request to send to the server at the specified host and default port, specifying a response handler to receive the response
      Parameters:
        `host` - the host
        `requestURI` - the relative URI
        `responseHandler` - the response handler
      Returns:
        an HTTP client request object

    - #### delete

          public HttpClientRequest delete(String requestURI)

      Create an HTTP DELETE request to send to the server at the default host and port.
      Parameters:
        `requestURI` - the relative URI
      Returns:
        an HTTP client request object

    - #### delete

          @Deprecated
          public HttpClientRequest delete(String requestURI,
                                                      Handler<HttpClientResponse> responseHandler)

      Deprecated.
      Create an HTTP DELETE request to send to the server at the default host and port, specifying a response handler to receive the response
      Parameters:
        `requestURI` - the relative URI
        `responseHandler` - the response handler
      Returns:
        an HTTP client request object

    - #### deleteAbs

          public HttpClientRequest deleteAbs(String absoluteURI)

      Create an HTTP DELETE request to send to the server using an absolute URI
      Parameters:
        `absoluteURI` - the absolute URI
      Returns:
        an HTTP client request object

    - #### deleteAbs

          @Deprecated
          public HttpClientRequest deleteAbs(String absoluteURI,
                                                         Handler<HttpClientResponse> responseHandler)

      Deprecated.
      Create an HTTP DELETE request to send to the server using an absolute URI, specifying a response handler to receive the response
      Parameters:
        `absoluteURI` - the absolute URI
        `responseHandler` - the response handler
      Returns:
        an HTTP client request object

    - #### websocket

          @Deprecated
          public HttpClient websocket(RequestOptions options,
                                                  Handler<WebSocket> wsConnect)

      Deprecated.
      Connect a WebSocket with the specified options
      Parameters:
        `options` - the request options
        `wsConnect` - handler that will be called with the WebSocket when connected
      Returns:
        a reference to this, so the API can be used fluently

    - #### websocket

          @Deprecated
          public HttpClient websocket(int port,
                                                  String host,
                                                  String requestURI,
                                                  Handler<WebSocket> wsConnect)

      Deprecated.
      Connect a WebSocket to the specified port, host and relative request URI
      Parameters:
        `port` - the port
        `host` - the host
        `requestURI` - the relative URI
        `wsConnect` - handler that will be called with the WebSocket when connected
      Returns:
        a reference to this, so the API can be used fluently

    - #### websocket

          @Deprecated
          public HttpClient websocket(RequestOptions options,
                                                  Handler<WebSocket> wsConnect,
                                                  Handler<Throwable> failureHandler)

      Deprecated.
      Connect a WebSocket with the specified options
      Parameters:
        `options` - the request options
        `wsConnect` - handler that will be called with the WebSocket when connected
        `failureHandler` - handler that will be called if WebSocket connection fails
      Returns:
        a reference to this, so the API can be used fluently

    - #### websocket

          @Deprecated
          public HttpClient websocket(int port,
                                                  String host,
                                                  String requestURI,
                                                  Handler<WebSocket> wsConnect,
                                                  Handler<Throwable> failureHandler)

      Deprecated.
      Connect a WebSocket to the specified port, host and relative request URI
      Parameters:
        `port` - the port
        `host` - the host
        `requestURI` - the relative URI
        `wsConnect` - handler that will be called with the WebSocket when connected
        `failureHandler` - handler that will be called if WebSocket connection fails
      Returns:
        a reference to this, so the API can be used fluently

    - #### websocket

          @Deprecated
          public HttpClient websocket(String host,
                                                  String requestURI,
                                                  Handler<WebSocket> wsConnect)

      Deprecated.
      Connect a WebSocket to the host and relative request URI and default port
      Parameters:
        `host` - the host
        `requestURI` - the relative URI
        `wsConnect` - handler that will be called with the WebSocket when connected
      Returns:
        a reference to this, so the API can be used fluently

    - #### websocket

          @Deprecated
          public HttpClient websocket(String host,
                                                  String requestURI,
                                                  Handler<WebSocket> wsConnect,
                                                  Handler<Throwable> failureHandler)

      Deprecated.
      Connect a WebSocket to the host and relative request URI and default port
      Parameters:
        `host` - the host
        `requestURI` - the relative URI
        `wsConnect` - handler that will be called with the WebSocket when connected
        `failureHandler` - handler that will be called if WebSocket connection fails
      Returns:
        a reference to this, so the API can be used fluently

    - #### websocket

          @Deprecated
          public HttpClient websocket(RequestOptions options,
                                                  MultiMap headers,
                                                  Handler<WebSocket> wsConnect)

      Deprecated.
      Connect a WebSocket with the specified options, and with the specified headers
      Parameters:
        `options` - the request options
        `headers` - the headers
        `wsConnect` - handler that will be called with the WebSocket when connected
      Returns:
        a reference to this, so the API can be used fluently

    - #### websocket

          @Deprecated
          public HttpClient websocket(int port,
                                                  String host,
                                                  String requestURI,
                                                  MultiMap headers,
                                                  Handler<WebSocket> wsConnect)

      Deprecated.
      Connect a WebSocket to the specified port, host and relative request URI, and with the specified headers
      Parameters:
        `port` - the port
        `host` - the host
        `requestURI` - the relative URI
        `headers` - the headers
        `wsConnect` - handler that will be called with the WebSocket when connected
      Returns:
        a reference to this, so the API can be used fluently

    - #### websocket

          @Deprecated
          public HttpClient websocket(RequestOptions options,
                                                  MultiMap headers,
                                                  Handler<WebSocket> wsConnect,
                                                  Handler<Throwable> failureHandler)

      Deprecated.
      Connect a WebSocket with the specified options, and with the specified headers
      Parameters:
        `options` - the request options
        `headers` - the headers
        `wsConnect` - handler that will be called with the WebSocket when connected
        `failureHandler` - handler that will be called if WebSocket connection fails
      Returns:
        a reference to this, so the API can be used fluently

    - #### websocket

          @Deprecated
          public HttpClient websocket(int port,
                                                  String host,
                                                  String requestURI,
                                                  MultiMap headers,
                                                  Handler<WebSocket> wsConnect,
                                                  Handler<Throwable> failureHandler)

      Deprecated.
      Connect a WebSocket to the specified port, host and relative request URI, and with the specified headers
      Parameters:
        `port` - the port
        `host` - the host
        `requestURI` - the relative URI
        `headers` - the headers
        `wsConnect` - handler that will be called with the WebSocket when connected
        `failureHandler` - handler that will be called if WebSocket connection fails
      Returns:
        a reference to this, so the API can be used fluently

    - #### websocket

          @Deprecated
          public HttpClient websocket(String host,
                                                  String requestURI,
                                                  MultiMap headers,
                                                  Handler<WebSocket> wsConnect)

      Deprecated.
      Connect a WebSocket to the specified host,relative request UR, and default port and with the specified headers
      Parameters:
        `host` - the host
        `requestURI` - the relative URI
        `headers` - the headers
        `wsConnect` - handler that will be called with the WebSocket when connected
      Returns:
        a reference to this, so the API can be used fluently

    - #### websocket

          @Deprecated
          public HttpClient websocket(String host,
                                                  String requestURI,
                                                  MultiMap headers,
                                                  Handler<WebSocket> wsConnect,
                                                  Handler<Throwable> failureHandler)

      Deprecated.
      Connect a WebSocket to the specified host,relative request UR, and default port and with the specified headers
      Parameters:
        `host` - the host
        `requestURI` - the relative URI
        `headers` - the headers
        `wsConnect` - handler that will be called with the WebSocket when connected
        `failureHandler` - handler that will be called if WebSocket connection fails
      Returns:
        a reference to this, so the API can be used fluently

    - #### websocket

          @Deprecated
          public HttpClient websocket(RequestOptions options,
                                                  MultiMap headers,
                                                  WebsocketVersion version,
                                                  Handler<WebSocket> wsConnect)

      Deprecated.
      Connect a WebSocket with the specified optionsI, with the specified headers and using the specified version of WebSockets
      Parameters:
        `options` - the request options
        `headers` - the headers
        `version` - the WebSocket version
        `wsConnect` - handler that will be called with the WebSocket when connected
      Returns:
        a reference to this, so the API can be used fluently

    - #### websocket

          @Deprecated
          public HttpClient websocket(int port,
                                                  String host,
                                                  String requestURI,
                                                  MultiMap headers,
                                                  WebsocketVersion version,
                                                  Handler<WebSocket> wsConnect)

      Deprecated.
      Connect a WebSocket to the specified port, host and relative request URI, with the specified headers and using the specified version of WebSockets
      Parameters:
        `port` - the port
        `host` - the host
        `requestURI` - the relative URI
        `headers` - the headers
        `version` - the WebSocket version
        `wsConnect` - handler that will be called with the WebSocket when connected
      Returns:
        a reference to this, so the API can be used fluently

    - #### websocket

          @Deprecated
          public HttpClient websocket(RequestOptions options,
                                                  MultiMap headers,
                                                  WebsocketVersion version,
                                                  Handler<WebSocket> wsConnect,
                                                  Handler<Throwable> failureHandler)

      Deprecated.
      Connect a WebSocket with the specified options, with the specified headers and using the specified version of WebSockets
      Parameters:
        `options` - the request options
        `headers` - the headers
        `version` - the WebSocket version
        `wsConnect` - handler that will be called with the WebSocket when connected
        `failureHandler` - handler that will be called if WebSocket connection fails
      Returns:
        a reference to this, so the API can be used fluently

    - #### websocket

          @Deprecated
          public HttpClient websocket(int port,
                                                  String host,
                                                  String requestURI,
                                                  MultiMap headers,
                                                  WebsocketVersion version,
                                                  Handler<WebSocket> wsConnect,
                                                  Handler<Throwable> failureHandler)

      Deprecated.
      Connect a WebSocket to the specified port, host and relative request URI, with the specified headers and using the specified version of WebSockets
      Parameters:
        `port` - the port
        `host` - the host
        `requestURI` - the relative URI
        `headers` - the headers
        `version` - the WebSocket version
        `wsConnect` - handler that will be called with the WebSocket when connected
        `failureHandler` - handler that will be called if WebSocket connection fails
      Returns:
        a reference to this, so the API can be used fluently

    - #### websocket

          @Deprecated
          public HttpClient websocket(String host,
                                                  String requestURI,
                                                  MultiMap headers,
                                                  WebsocketVersion version,
                                                  Handler<WebSocket> wsConnect)

      Deprecated.
      Connect a WebSocket to the specified host, relative request URI and default port with the specified headers and using the specified version of WebSockets
      Parameters:
        `host` - the host
        `requestURI` - the relative URI
        `headers` - the headers
        `version` - the WebSocket version
        `wsConnect` - handler that will be called with the WebSocket when connected
      Returns:
        a reference to this, so the API can be used fluently

    - #### websocket

          @Deprecated
          public HttpClient websocket(String host,
                                                  String requestURI,
                                                  MultiMap headers,
                                                  WebsocketVersion version,
                                                  Handler<WebSocket> wsConnect,
                                                  Handler<Throwable> failureHandler)

      Deprecated.
      Connect a WebSocket to the specified host, relative request URI and default port with the specified headers and using the specified version of WebSockets
      Parameters:
        `host` - the host
        `requestURI` - the relative URI
        `headers` - the headers
        `version` - the WebSocket version
        `wsConnect` - handler that will be called with the WebSocket when connected
        `failureHandler` - handler that will be called if WebSocket connection fails
      Returns:
        a reference to this, so the API can be used fluently

    - #### websocket

          @Deprecated
          public HttpClient websocket(RequestOptions options,
                                                  MultiMap headers,
                                                  WebsocketVersion version,
                                                  String subProtocols,
                                                  Handler<WebSocket> wsConnect)

      Deprecated.
      Connect a WebSocket with the specified options, with the specified headers, using the specified version of WebSockets, and the specified WebSocket sub protocols
      Parameters:
        `options` - the request options
        `headers` - the headers
        `version` - the WebSocket version
        `subProtocols` - the subprotocols to use
        `wsConnect` - handler that will be called with the WebSocket when connected
      Returns:
        a reference to this, so the API can be used fluently

    - #### websocket

          @Deprecated
          public HttpClient websocket(int port,
                                                  String host,
                                                  String requestURI,
                                                  MultiMap headers,
                                                  WebsocketVersion version,
                                                  String subProtocols,
                                                  Handler<WebSocket> wsConnect)

      Deprecated.
      Connect a WebSocket to the specified port, host and relative request URI, with the specified headers, using the specified version of WebSockets, and the specified WebSocket sub protocols
      Parameters:
        `port` - the port
        `host` - the host
        `requestURI` - the relative URI
        `headers` - the headers
        `version` - the WebSocket version
        `subProtocols` - the subprotocols to use
        `wsConnect` - handler that will be called with the WebSocket when connected
      Returns:
        a reference to this, so the API can be used fluently

    - #### websocketAbs

          @Deprecated
          public HttpClient websocketAbs(String url,
                                                     MultiMap headers,
                                                     WebsocketVersion version,
                                                     String subProtocols,
                                                     Handler<WebSocket> wsConnect,
                                                     Handler<Throwable> failureHandler)

      Deprecated.
      Connect a WebSocket with the specified absolute url, with the specified headers, using the specified version of WebSockets, and the specified WebSocket sub protocols.
      Parameters:
        `url` - the absolute url
        `headers` - the headers
        `version` - the WebSocket version
        `subProtocols` - the subprotocols to use
        `wsConnect` - handler that will be called with the WebSocket when connected
        `failureHandler` - handler that will be called if WebSocket connection fails
      Returns:
        a reference to this, so the API can be used fluently

    - #### websocket

          @Deprecated
          public HttpClient websocket(RequestOptions options,
                                                  MultiMap headers,
                                                  WebsocketVersion version,
                                                  String subProtocols,
                                                  Handler<WebSocket> wsConnect,
                                                  Handler<Throwable> failureHandler)

      Deprecated.
      Connect a WebSocket with the specified options, with the specified headers, using the specified version of WebSockets, and the specified WebSocket sub protocols
      Parameters:
        `options` - the request options
        `headers` - the headers
        `version` - the WebSocket version
        `subProtocols` - the subprotocols to use
        `wsConnect` - handler that will be called with the WebSocket when connected
        `failureHandler` - handler that will be called if WebSocket connection fails
      Returns:
        a reference to this, so the API can be used fluently

    - #### websocket

          @Deprecated
          public HttpClient websocket(int port,
                                                  String host,
                                                  String requestURI,
                                                  MultiMap headers,
                                                  WebsocketVersion version,
                                                  String subProtocols,
                                                  Handler<WebSocket> wsConnect,
                                                  Handler<Throwable> failureHandler)

      Deprecated.
      Connect a WebSocket to the specified port, host and relative request URI, with the specified headers, using the specified version of WebSockets, and the specified WebSocket sub protocols
      Parameters:
        `port` - the port
        `host` - the host
        `requestURI` - the relative URI
        `headers` - the headers
        `version` - the WebSocket version
        `subProtocols` - the subprotocols to use
        `wsConnect` - handler that will be called with the WebSocket when connected
        `failureHandler` - handler that will be called if WebSocket connection fails
      Returns:
        a reference to this, so the API can be used fluently

    - #### websocket

          @Deprecated
          public HttpClient websocket(String host,
                                                  String requestURI,
                                                  MultiMap headers,
                                                  WebsocketVersion version,
                                                  String subProtocols,
                                                  Handler<WebSocket> wsConnect)

      Deprecated.
      Connect a WebSocket to the specified host, relative request URI and default port, with the specified headers, using the specified version of WebSockets, and the specified WebSocket sub protocols
      Parameters:
        `host` - the host
        `requestURI` - the relative URI
        `headers` - the headers
        `version` - the WebSocket version
        `subProtocols` - the subprotocols to use
        `wsConnect` - handler that will be called with the WebSocket when connected
      Returns:
        a reference to this, so the API can be used fluently

    - #### websocket

          @Deprecated
          public HttpClient websocket(String host,
                                                  String requestURI,
                                                  MultiMap headers,
                                                  WebsocketVersion version,
                                                  String subProtocols,
                                                  Handler<WebSocket> wsConnect,
                                                  Handler<Throwable> failureHandler)

      Deprecated.
      Connect a WebSocket to the specified host, relative request URI and default port, with the specified headers, using the specified version of WebSockets, and the specified WebSocket sub protocols
      Parameters:
        `host` - the host
        `requestURI` - the relative URI
        `headers` - the headers
        `version` - the WebSocket version
        `subProtocols` - the subprotocols to use
        `wsConnect` - handler that will be called with the WebSocket when connected
        `failureHandler` - handler that will be called if WebSocket connection fails
      Returns:
        a reference to this, so the API can be used fluently

    - #### websocket

          @Deprecated
          public HttpClient websocket(String requestURI,
                                                  Handler<WebSocket> wsConnect)

      Deprecated.
      Connect a WebSocket at the relative request URI using the default host and port
      Parameters:
        `requestURI` - the relative URI
        `wsConnect` - handler that will be called with the WebSocket when connected
      Returns:
        a reference to this, so the API can be used fluently

    - #### websocket

          @Deprecated
          public HttpClient websocket(String requestURI,
                                                  Handler<WebSocket> wsConnect,
                                                  Handler<Throwable> failureHandler)

      Deprecated.
      Connect a WebSocket at the relative request URI using the default host and port
      Parameters:
        `requestURI` - the relative URI
        `wsConnect` - handler that will be called with the WebSocket when connected
        `failureHandler` - handler that will be called if WebSocket connection fails
      Returns:
        a reference to this, so the API can be used fluently

    - #### websocket

          @Deprecated
          public HttpClient websocket(String requestURI,
                                                  MultiMap headers,
                                                  Handler<WebSocket> wsConnect)

      Deprecated.
      Connect a WebSocket at the relative request URI using the default host and port and the specified headers
      Parameters:
        `requestURI` - the relative URI
        `headers` - the headers
        `wsConnect` - handler that will be called with the WebSocket when connected
      Returns:
        a reference to this, so the API can be used fluently

    - #### websocket

          @Deprecated
          public HttpClient websocket(String requestURI,
                                                  MultiMap headers,
                                                  Handler<WebSocket> wsConnect,
                                                  Handler<Throwable> failureHandler)

      Deprecated.
      Connect a WebSocket at the relative request URI using the default host and port and the specified headers
      Parameters:
        `requestURI` - the relative URI
        `headers` - the headers
        `wsConnect` - handler that will be called with the WebSocket when connected
        `failureHandler` - handler that will be called if WebSocket connection fails
      Returns:
        a reference to this, so the API can be used fluently

    - #### websocket

          @Deprecated
          public HttpClient websocket(String requestURI,
                                                  MultiMap headers,
                                                  WebsocketVersion version,
                                                  Handler<WebSocket> wsConnect)

      Deprecated.
      Connect a WebSocket at the relative request URI using the default host and port, the specified headers and the specified version of WebSockets
      Parameters:
        `requestURI` - the relative URI
        `headers` - the headers
        `version` - the WebSocket version
        `wsConnect` - handler that will be called with the WebSocket when connected
      Returns:
        a reference to this, so the API can be used fluently

    - #### websocket

          @Deprecated
          public HttpClient websocket(String requestURI,
                                                  MultiMap headers,
                                                  WebsocketVersion version,
                                                  Handler<WebSocket> wsConnect,
                                                  Handler<Throwable> failureHandler)

      Deprecated.
      Connect a WebSocket at the relative request URI using the default host and port, the specified headers and the specified version of WebSockets
      Parameters:
        `requestURI` - the relative URI
        `headers` - the headers
        `version` - the WebSocket version
        `wsConnect` - handler that will be called with the WebSocket when connected
        `failureHandler` - handler that will be called if WebSocket connection fails
      Returns:
        a reference to this, so the API can be used fluently

    - #### websocket

          @Deprecated
          public HttpClient websocket(String requestURI,
                                                  MultiMap headers,
                                                  WebsocketVersion version,
                                                  String subProtocols,
                                                  Handler<WebSocket> wsConnect)

      Deprecated.
      Connect a WebSocket at the relative request URI using the default host and port, the specified headers, the specified version of WebSockets and the specified sub protocols
      Parameters:
        `requestURI` - the relative URI
        `headers` - the headers
        `version` - the WebSocket version
        `subProtocols` - the subprotocols
        `wsConnect` - handler that will be called with the WebSocket when connected
      Returns:
        a reference to this, so the API can be used fluently

    - #### websocket

          @Deprecated
          public HttpClient websocket(String requestURI,
                                                  MultiMap headers,
                                                  WebsocketVersion version,
                                                  String subProtocols,
                                                  Handler<WebSocket> wsConnect,
                                                  Handler<Throwable> failureHandler)

      Deprecated.
      Connect a WebSocket at the relative request URI using the default host and port, the specified headers, the specified version of WebSockets and the specified sub protocols
      Parameters:
        `requestURI` - the relative URI
        `headers` - the headers
        `version` - the WebSocket version
        `subProtocols` - the subprotocols
        `wsConnect` - handler that will be called with the WebSocket when connected
        `failureHandler` - handler that will be called if WebSocket connection fails
      Returns:
        a reference to this, so the API can be used fluently

    - #### webSocket

          public void webSocket(int port,
                                String host,
                                String requestURI,
                                Handler<AsyncResult<WebSocket>> handler)

      Connect a WebSocket to the specified port, host and relative request URI
      Parameters:
        `port` - the port
        `host` - the host
        `requestURI` - the relative URI
        `handler` - handler that will be called with the WebSocket when connected

    - #### webSocketObservable

          @Deprecated
          public Observable<WebSocket> webSocketObservable(int port,
                                                                       String host,
                                                                       String requestURI)

      Deprecated. use `rxWebSocket(int, java.lang.String, java.lang.String)` instead
      Connect a WebSocket to the specified port, host and relative request URI
      Parameters:
        `port` - the port
        `host` - the host
        `requestURI` - the relative URI
      Returns:

    - #### rxWebSocket

          public Single<WebSocket> rxWebSocket(int port,
                                               String host,
                                               String requestURI)

      Connect a WebSocket to the specified port, host and relative request URI
      Parameters:
        `port` - the port
        `host` - the host
        `requestURI` - the relative URI
      Returns:

    - #### webSocket

          public void webSocket(String host,
                                String requestURI,
                                Handler<AsyncResult<WebSocket>> handler)

      Connect a WebSocket to the host and relative request URI and default port
      Parameters:
        `host` - the host
        `requestURI` - the relative URI
        `handler` - handler that will be called with the WebSocket when connected

    - #### webSocketObservable

          @Deprecated
          public Observable<WebSocket> webSocketObservable(String host,
                                                                       String requestURI)

      Deprecated. use `rxWebSocket(int, java.lang.String, java.lang.String)` instead
      Connect a WebSocket to the host and relative request URI and default port
      Parameters:
        `host` - the host
        `requestURI` - the relative URI
      Returns:

    - #### rxWebSocket

          public Single<WebSocket> rxWebSocket(String host,
                                               String requestURI)

      Connect a WebSocket to the host and relative request URI and default port
      Parameters:
        `host` - the host
        `requestURI` - the relative URI
      Returns:

    - #### webSocket

          public void webSocket(String requestURI,
                                Handler<AsyncResult<WebSocket>> handler)

      Connect a WebSocket at the relative request URI using the default host and port
      Parameters:
        `requestURI` - the relative URI
        `handler` - handler that will be called with the WebSocket when connected

    - #### webSocketObservable

          @Deprecated
          public Observable<WebSocket> webSocketObservable(String requestURI)

      Deprecated. use `rxWebSocket(int, java.lang.String, java.lang.String)` instead
      Connect a WebSocket at the relative request URI using the default host and port
      Parameters:
        `requestURI` - the relative URI
      Returns:

    - #### rxWebSocket

          public Single<WebSocket> rxWebSocket(String requestURI)

      Connect a WebSocket at the relative request URI using the default host and port
      Parameters:
        `requestURI` - the relative URI
      Returns:

    - #### webSocket

          public void webSocket(WebSocketConnectOptions options,
                                Handler<AsyncResult<WebSocket>> handler)

      Connect a WebSocket with the specified options.
      Parameters:
        `options` - the request options
        `handler` -

    - #### webSocketObservable

          @Deprecated
          public Observable<WebSocket> webSocketObservable(WebSocketConnectOptions options)

      Deprecated. use `rxWebSocket(int, java.lang.String, java.lang.String)` instead
      Connect a WebSocket with the specified options.
      Parameters:
        `options` - the request options
      Returns:

    - #### rxWebSocket

          public Single<WebSocket> rxWebSocket(WebSocketConnectOptions options)

      Connect a WebSocket with the specified options.
      Parameters:
        `options` - the request options
      Returns:

    - #### webSocketAbs

          public void webSocketAbs(String url,
                                   MultiMap headers,
                                   WebsocketVersion version,
                                   List<String> subProtocols,
                                   Handler<AsyncResult<WebSocket>> handler)

      Connect a WebSocket with the specified absolute url, with the specified headers, using the specified version of WebSockets, and the specified WebSocket sub protocols.
      Parameters:
        `url` - the absolute url
        `headers` - the headers
        `version` - the WebSocket version
        `subProtocols` - the subprotocols to use
        `handler` - handler that will be called if WebSocket connection fails

    - #### webSocketAbsObservable

          @Deprecated
          public Observable<WebSocket> webSocketAbsObservable(String url,
                                                                          MultiMap headers,
                                                                          WebsocketVersion version,
                                                                          List<String> subProtocols)

      Deprecated. use `rxWebSocketAbs(java.lang.String, io.vertx.rxjava.core.MultiMap, io.vertx.core.http.WebsocketVersion, java.util.List<java.lang.String>)` instead
      Connect a WebSocket with the specified absolute url, with the specified headers, using the specified version of WebSockets, and the specified WebSocket sub protocols.
      Parameters:
        `url` - the absolute url
        `headers` - the headers
        `version` - the WebSocket version
        `subProtocols` - the subprotocols to use
      Returns:

    - #### rxWebSocketAbs

          public Single<WebSocket> rxWebSocketAbs(String url,
                                                  MultiMap headers,
                                                  WebsocketVersion version,
                                                  List<String> subProtocols)

      Connect a WebSocket with the specified absolute url, with the specified headers, using the specified version of WebSockets, and the specified WebSocket sub protocols.
      Parameters:
        `url` - the absolute url
        `headers` - the headers
        `version` - the WebSocket version
        `subProtocols` - the subprotocols to use
      Returns:

    - #### websocketStream

          @Deprecated
          public ReadStream<WebSocket> websocketStream(RequestOptions options)

      Deprecated.
      Create a WebSocket stream with the specified options
      Parameters:
        `options` - the request options
      Returns:
        a stream emitting a WebSocket event when the client connection has been upgraded to a WebSocket

    - #### websocketStream

          @Deprecated
          public ReadStream<WebSocket> websocketStream(int port,
                                                                   String host,
                                                                   String requestURI)

      Deprecated.
      Create a WebSocket stream to the specified port, host and relative request URI
      Parameters:
        `port` - the port
        `host` - the host
        `requestURI` - the relative URI
      Returns:
        a stream emitting a WebSocket event when the client connection has been upgraded to a WebSocket

    - #### websocketStream

          @Deprecated
          public ReadStream<WebSocket> websocketStream(String host,
                                                                   String requestURI)

      Deprecated.
      Create a WebSocket stream to the specified host, relative request URI and default port
      Parameters:
        `host` - the host
        `requestURI` - the relative URI
      Returns:
        a stream emitting a WebSocket event when the client connection has been upgraded to a WebSocket

    - #### websocketStream

          @Deprecated
          public ReadStream<WebSocket> websocketStream(RequestOptions options,
                                                                   MultiMap headers)

      Deprecated.
      Create a WebSocket stream with the specified options, and with the specified headers
      Parameters:
        `options` - the request options
        `headers` - the headers
      Returns:
        a stream emitting a WebSocket event when the client connection has been upgraded to a WebSocket

    - #### websocketStream

          @Deprecated
          public ReadStream<WebSocket> websocketStream(int port,
                                                                   String host,
                                                                   String requestURI,
                                                                   MultiMap headers)

      Deprecated.
      Create a WebSocket stream to the specified port, host and relative request URI, and with the specified headers
      Parameters:
        `port` - the port
        `host` - the host
        `requestURI` - the relative URI
        `headers` - the headers
      Returns:
        a stream emitting a WebSocket event when the client connection has been upgraded to a WebSocket

    - #### websocketStream

          @Deprecated
          public ReadStream<WebSocket> websocketStream(String host,
                                                                   String requestURI,
                                                                   MultiMap headers)

      Deprecated.
      Create a WebSocket stream to the specified host, relative request URI and default port and with the specified headers
      Parameters:
        `host` - the host
        `requestURI` - the relative URI
        `headers` - the headers
      Returns:
        a stream emitting a WebSocket event when the client connection has been upgraded to a WebSocket

    - #### websocketStream

          @Deprecated
          public ReadStream<WebSocket> websocketStream(RequestOptions options,
                                                                   MultiMap headers,
                                                                   WebsocketVersion version)

      Deprecated.
      Create a WebSocket stream with the specified options, with the specified headers and using the specified version of WebSockets
      Parameters:
        `options` - the request options
        `headers` - the headers
        `version` - the WebSocket version
      Returns:
        a stream emitting a WebSocket event when the client connection has been upgraded to a WebSocket

    - #### websocketStream

          @Deprecated
          public ReadStream<WebSocket> websocketStream(int port,
                                                                   String host,
                                                                   String requestURI,
                                                                   MultiMap headers,
                                                                   WebsocketVersion version)

      Deprecated.
      Create a WebSocket stream to the specified port, host and relative request URI, with the specified headers and using the specified version of WebSockets
      Parameters:
        `port` - the port
        `host` - the host
        `requestURI` - the relative URI
        `headers` - the headers
        `version` - the WebSocket version
      Returns:
        a stream emitting a WebSocket event when the client connection has been upgraded to a WebSocket

    - #### websocketStream

          @Deprecated
          public ReadStream<WebSocket> websocketStream(String host,
                                                                   String requestURI,
                                                                   MultiMap headers,
                                                                   WebsocketVersion version)

      Deprecated.
      Create a WebSocket stream with the specified options and with the specified headers and using the specified version of WebSockets
      Parameters:
        `host` - the host
        `requestURI` - the relative URI
        `headers` - the headers
        `version` - the WebSocket version
      Returns:
        a stream emitting a WebSocket event when the client connection has been upgraded to a WebSocket

    - #### websocketStreamAbs

          @Deprecated
          public ReadStream<WebSocket> websocketStreamAbs(String url,
                                                                      MultiMap headers,
                                                                      WebsocketVersion version,
                                                                      String subProtocols)

      Deprecated.
      Create a WebSocket stream with the specified absolute url, the specified headers, using the specified version of WebSockets, and the specified WebSocket sub protocols.
      Parameters:
        `url` - the absolute url
        `headers` - the headers
        `version` - the WebSocket version
        `subProtocols` - the subprotocols to use
      Returns:
        a stream emitting a WebSocket event when the client connection has been upgraded to a WebSocket

    - #### websocketStream

          @Deprecated
          public ReadStream<WebSocket> websocketStream(RequestOptions options,
                                                                   MultiMap headers,
                                                                   WebsocketVersion version,
                                                                   String subProtocols)

      Deprecated.
      Create a WebSocket stream to the specified port, host and relative request URI, with the specified headers, using the specified version of WebSockets, and the specified WebSocket sub protocols
      Parameters:
        `options` - the request options
        `headers` - the headers
        `version` - the WebSocket version
        `subProtocols` - the subprotocols to use
      Returns:
        a stream emitting a WebSocket event when the client connection has been upgraded to a WebSocket

    - #### websocketStream

          @Deprecated
          public ReadStream<WebSocket> websocketStream(int port,
                                                                   String host,
                                                                   String requestURI,
                                                                   MultiMap headers,
                                                                   WebsocketVersion version,
                                                                   String subProtocols)

      Deprecated.
      Create a WebSocket stream to the specified port, host and relative request URI, with the specified headers, using the specified version of WebSockets, and the specified WebSocket sub protocols
      Parameters:
        `port` - the port
        `host` - the host
        `requestURI` - the relative URI
        `headers` - the headers
        `version` - the WebSocket version
        `subProtocols` - the subprotocols to use
      Returns:
        a stream emitting a WebSocket event when the client connection has been upgraded to a WebSocket

    - #### websocketStream

          @Deprecated
          public ReadStream<WebSocket> websocketStream(String host,
                                                                   String requestURI,
                                                                   MultiMap headers,
                                                                   WebsocketVersion version,
                                                                   String subProtocols)

      Deprecated.
      Create a WebSocket stream to the specified host, relative request URI and default port, with the specified headers, using the specified version of WebSockets, and the specified WebSocket sub protocols
      Parameters:
        `host` - the host
        `requestURI` - the relative URI
        `headers` - the headers
        `version` - the WebSocket version
        `subProtocols` - the subprotocols to use
      Returns:
        a stream emitting a WebSocket event when the client connection has been upgraded to a WebSocket

    - #### websocketStream

          @Deprecated
          public ReadStream<WebSocket> websocketStream(String requestURI)

      Deprecated.
      Create a WebSocket stream at the relative request URI using the default host and port and the specified headers
      Parameters:
        `requestURI` - the relative URI
      Returns:
        a stream emitting a WebSocket event when the client connection has been upgraded to a WebSocket

    - #### websocketStream

          @Deprecated
          public ReadStream<WebSocket> websocketStream(String requestURI,
                                                                   MultiMap headers)

      Deprecated.
      Create a WebSocket stream at the relative request URI using the default host and port and the specified headers
      Parameters:
        `requestURI` - the relative URI
        `headers` - the headers
      Returns:
        a stream emitting a WebSocket event when the client connection has been upgraded to a WebSocket

    - #### websocketStream

          @Deprecated
          public ReadStream<WebSocket> websocketStream(String requestURI,
                                                                   MultiMap headers,
                                                                   WebsocketVersion version)

      Deprecated.
      Create a WebSocket stream at the relative request URI using the default host and port, the specified headers and the specified version of WebSockets
      Parameters:
        `requestURI` - the relative URI
        `headers` - the headers
        `version` - the WebSocket version
      Returns:
        a stream emitting a WebSocket event when the client connection has been upgraded to a WebSocket

    - #### websocketStream

          @Deprecated
          public ReadStream<WebSocket> websocketStream(String requestURI,
                                                                   MultiMap headers,
                                                                   WebsocketVersion version,
                                                                   String subProtocols)

      Deprecated.
      Create a WebSocket stream at the relative request URI using the default host and port, the specified headers, the specified version of WebSockets and the specified sub protocols
      Parameters:
        `requestURI` - the relative URI
        `headers` - the headers
        `version` - the WebSocket version
        `subProtocols` - the subprotocols
      Returns:
        a stream emitting a WebSocket event when the client connection has been upgraded to a WebSocket

    - #### connectionHandler

          public HttpClient connectionHandler(Handler<HttpConnection> handler)

      Set a connection handler for the client. This handler is called when a new connection is established.
      Parameters:
        `handler` -
      Returns:
        a reference to this, so the API can be used fluently

    - #### redirectHandler

          public HttpClient redirectHandler(java.util.function.Function<HttpClientResponse,Future<HttpClientRequest>> handler)

      Set a redirect handler for the http client.

      The redirect handler is called when a `3xx` response is received and the request is configured to follow redirects with `HttpClientRequest.setFollowRedirects(boolean)`.

      The redirect handler is passed the `HttpClientResponse`, it can return an `HttpClientRequest` or `null`.

      - when null is returned, the original response is processed by the original request response handler
      - when a new `Future` is returned, the client will send this new request
      The new request will get a copy of the previous request headers unless headers are set. In this case, the client assumes that the redirect handler exclusively managers the headers of the new request.

      The handler must return a `Future` unsent so the client can further configure it and send it.

      Parameters:
        `handler` - the new redirect handler
      Returns:
        a reference to this, so the API can be used fluently

    - #### close

          public void close()

      Close the client. Closing will close down any pooled connections. Clients should always be closed after use.

    - #### newInstance

          public static HttpClient newInstance(HttpClient arg)

Copyright © 2020 Eclipse. All rights reserved.