## Uses of Interface
io.vertx.core.http.HttpClient

- Packages that use HttpClient
  Package | Description
  --- | ---
  io.vertx.core |
  io.vertx.core.http |
  io.vertx.core.spi.metrics |
  io.vertx.ext.httpservicefactory |
  io.vertx.ext.web.client |
  io.vertx.reactivex.core.http |
  io.vertx.rxjava.core.http |
  io.vertx.servicediscovery.types |

- - ### Uses of HttpClient in io.vertx.core

    Methods in io.vertx.core that return HttpClient
    Modifier and Type | Method and Description
    --- | ---
    `HttpClient` | Vertx.`createHttpClient()` Create a HTTP/HTTPS client using default options
    `HttpClient` | Vertx.`createHttpClient(HttpClientOptions options)` Create a HTTP/HTTPS client using the specified options

  - ### Uses of HttpClient in io.vertx.core.http

    Methods in io.vertx.core.http that return HttpClient
    Modifier and Type | Method and Description
    --- | ---
    `HttpClient` | HttpClient.`getNow(int port, String host, String requestURI, Handler<HttpClientResponse> responseHandler)` Sends an HTTP GET request to the server at the specified host and port, specifying a response handler to receive the response
    `HttpClient` | HttpClient.`getNow(RequestOptions options, Handler<HttpClientResponse> responseHandler)` Sends an HTTP GET request to the server with the specified options, specifying a response handler to receive the response
    `HttpClient` | HttpClient.`getNow(String requestURI, Handler<HttpClientResponse> responseHandler)` Sends an HTTP GET request to the server at the default host and port, specifying a response handler to receive the response
    `HttpClient` | HttpClient.`getNow(String host, String requestURI, Handler<HttpClientResponse> responseHandler)` Sends an HTTP GET request to the server at the specified host and default port, specifying a response handler to receive the response
    `HttpClient` | HttpClient.`headNow(int port, String host, String requestURI, Handler<HttpClientResponse> responseHandler)` Sends an HTTP HEAD request to the server at the specified host and port, specifying a response handler to receive the response
    `HttpClient` | HttpClient.`headNow(RequestOptions options, Handler<HttpClientResponse> responseHandler)` Sends an HTTP HEAD request to the server with the specified options, specifying a response handler to receive the response
    `HttpClient` | HttpClient.`headNow(String requestURI, Handler<HttpClientResponse> responseHandler)` Sends an HTTP HEAD request to the server at the default host and port, specifying a response handler to receive the response
    `HttpClient` | HttpClient.`headNow(String host, String requestURI, Handler<HttpClientResponse> responseHandler)` Sends an HTTP HEAD request to the server at the specified host and default port, specifying a response handler to receive the response
    `HttpClient` | HttpClient.`optionsNow(int port, String host, String requestURI, Handler<HttpClientResponse> responseHandler)` Sends an HTTP OPTIONS request to the server at the specified host and port, specifying a response handler to receive the response
    `HttpClient` | HttpClient.`optionsNow(RequestOptions options, Handler<HttpClientResponse> responseHandler)` Sends an HTTP OPTIONS request to the server with the specified options, specifying a response handler to receive the response
    `HttpClient` | HttpClient.`optionsNow(String requestURI, Handler<HttpClientResponse> responseHandler)` Sends an HTTP OPTIONS request to the server at the default host and port, specifying a response handler to receive the response
    `HttpClient` | HttpClient.`optionsNow(String host, String requestURI, Handler<HttpClientResponse> responseHandler)` Sends an HTTP OPTIONS request to the server at the specified host and default port, specifying a response handler to receive the response
    `HttpClient` | HttpClient.`redirectHandler(java.util.function.Function<HttpClientResponse,Future<HttpClientRequest>> handler)` Set a redirect handler for the http client.
    `HttpClient` | HttpClient.`websocket(int port, String host, String requestURI, Handler<WebSocket> wsConnect)` Connect a WebSocket to the specified port, host and relative request URI
    `HttpClient` | HttpClient.`websocket(int port, String host, String requestURI, Handler<WebSocket> wsConnect, Handler<Throwable> failureHandler)` Connect a WebSocket to the specified port, host and relative request URI
    `HttpClient` | HttpClient.`websocket(int port, String host, String requestURI, MultiMap headers, Handler<WebSocket> wsConnect)` Connect a WebSocket to the specified port, host and relative request URI, and with the specified headers
    `HttpClient` | HttpClient.`websocket(int port, String host, String requestURI, MultiMap headers, Handler<WebSocket> wsConnect, Handler<Throwable> failureHandler)` Connect a WebSocket to the specified port, host and relative request URI, and with the specified headers
    `HttpClient` | HttpClient.`websocket(int port, String host, String requestURI, MultiMap headers, WebsocketVersion version, Handler<WebSocket> wsConnect)` Connect a WebSocket to the specified port, host and relative request URI, with the specified headers and using the specified version of WebSockets
    `HttpClient` | HttpClient.`websocket(int port, String host, String requestURI, MultiMap headers, WebsocketVersion version, Handler<WebSocket> wsConnect, Handler<Throwable> failureHandler)` Connect a WebSocket to the specified port, host and relative request URI, with the specified headers and using the specified version of WebSockets
    `HttpClient` | HttpClient.`websocket(int port, String host, String requestURI, MultiMap headers, WebsocketVersion version, String subProtocols, Handler<WebSocket> wsConnect)` 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
    `HttpClient` | HttpClient.`websocket(int port, String host, String requestURI, MultiMap headers, WebsocketVersion version, String subProtocols, Handler<WebSocket> wsConnect, Handler<Throwable> failureHandler)` 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
    `HttpClient` | HttpClient.`websocket(RequestOptions options, Handler<WebSocket> wsConnect)` Connect a WebSocket with the specified options
    `HttpClient` | HttpClient.`websocket(RequestOptions options, Handler<WebSocket> wsConnect, Handler<Throwable> failureHandler)` Connect a WebSocket with the specified options
    `HttpClient` | HttpClient.`websocket(RequestOptions options, MultiMap headers, Handler<WebSocket> wsConnect)` Connect a WebSocket with the specified options, and with the specified headers
    `HttpClient` | HttpClient.`websocket(RequestOptions options, MultiMap headers, Handler<WebSocket> wsConnect, Handler<Throwable> failureHandler)` Connect a WebSocket with the specified options, and with the specified headers
    `HttpClient` | HttpClient.`websocket(RequestOptions options, MultiMap headers, WebsocketVersion version, Handler<WebSocket> wsConnect)` Connect a WebSocket with the specified optionsI, with the specified headers and using the specified version of WebSockets
    `HttpClient` | HttpClient.`websocket(RequestOptions options, MultiMap headers, WebsocketVersion version, Handler<WebSocket> wsConnect, Handler<Throwable> failureHandler)` Connect a WebSocket with the specified options, with the specified headers and using the specified version of WebSockets
    `HttpClient` | HttpClient.`websocket(RequestOptions options, MultiMap headers, WebsocketVersion version, String subProtocols, Handler<WebSocket> wsConnect)` Connect a WebSocket with the specified options, with the specified headers, using the specified version of WebSockets, and the specified websocket sub protocols
    `HttpClient` | HttpClient.`websocket(RequestOptions options, MultiMap headers, WebsocketVersion version, String subProtocols, Handler<WebSocket> wsConnect, Handler<Throwable> failureHandler)` Connect a WebSocket with the specified options, with the specified headers, using the specified version of WebSockets, and the specified websocket sub protocols
    `HttpClient` | HttpClient.`websocket(String requestURI, Handler<WebSocket> wsConnect)` Connect a WebSocket at the relative request URI using the default host and port
    `HttpClient` | HttpClient.`websocket(String requestURI, Handler<WebSocket> wsConnect, Handler<Throwable> failureHandler)` Connect a WebSocket at the relative request URI using the default host and port
    `HttpClient` | HttpClient.`websocket(String requestURI, MultiMap headers, Handler<WebSocket> wsConnect)` Connect a WebSocket at the relative request URI using the default host and port and the specified headers
    `HttpClient` | HttpClient.`websocket(String requestURI, MultiMap headers, Handler<WebSocket> wsConnect, Handler<Throwable> failureHandler)` Connect a WebSocket at the relative request URI using the default host and port and the specified headers
    `HttpClient` | HttpClient.`websocket(String requestURI, MultiMap headers, WebsocketVersion version, Handler<WebSocket> wsConnect)` Connect a WebSocket at the relative request URI using the default host and port, the specified headers and the specified version of WebSockets
    `HttpClient` | HttpClient.`websocket(String requestURI, MultiMap headers, WebsocketVersion version, Handler<WebSocket> wsConnect, Handler<Throwable> failureHandler)` Connect a WebSocket at the relative request URI using the default host and port, the specified headers and the specified version of WebSockets
    `HttpClient` | HttpClient.`websocket(String requestURI, MultiMap headers, WebsocketVersion version, String subProtocols, Handler<WebSocket> wsConnect)` 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
    `HttpClient` | HttpClient.`websocket(String requestURI, MultiMap headers, WebsocketVersion version, String subProtocols, Handler<WebSocket> wsConnect, Handler<Throwable> failureHandler)` 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
    `HttpClient` | HttpClient.`websocket(String host, String requestURI, Handler<WebSocket> wsConnect)` Connect a WebSocket to the host and relative request URI and default port
    `HttpClient` | HttpClient.`websocket(String host, String requestURI, Handler<WebSocket> wsConnect, Handler<Throwable> failureHandler)` Connect a WebSocket to the host and relative request URI and default port
    `HttpClient` | HttpClient.`websocket(String host, String requestURI, MultiMap headers, Handler<WebSocket> wsConnect)` Connect a WebSocket to the specified host,relative request UR, and default port and with the specified headers
    `HttpClient` | HttpClient.`websocket(String host, String requestURI, MultiMap headers, Handler<WebSocket> wsConnect, Handler<Throwable> failureHandler)` Connect a WebSocket to the specified host,relative request UR, and default port and with the specified headers
    `HttpClient` | HttpClient.`websocket(String host, String requestURI, MultiMap headers, WebsocketVersion version, Handler<WebSocket> wsConnect)` Connect a WebSocket to the specified host, relative request URI and default port with the specified headers and using the specified version of WebSockets
    `HttpClient` | HttpClient.`websocket(String host, String requestURI, MultiMap headers, WebsocketVersion version, Handler<WebSocket> wsConnect, Handler<Throwable> failureHandler)` Connect a WebSocket to the specified host, relative request URI and default port with the specified headers and using the specified version of WebSockets
    `HttpClient` | HttpClient.`websocket(String host, String requestURI, MultiMap headers, WebsocketVersion version, String subProtocols, Handler<WebSocket> wsConnect)` 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
    `HttpClient` | HttpClient.`websocket(String host, String requestURI, MultiMap headers, WebsocketVersion version, String subProtocols, Handler<WebSocket> wsConnect, Handler<Throwable> failureHandler)` 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
    `HttpClient` | HttpClient.`websocketAbs(String url, MultiMap headers, WebsocketVersion version, String subProtocols, Handler<WebSocket> wsConnect, Handler<Throwable> failureHandler)` Connect a WebSocket with the specified absolute url, with the specified headers, using the specified version of WebSockets, and the specified websocket sub protocols.

  - ### Uses of HttpClient in io.vertx.core.spi.metrics

    Methods in io.vertx.core.spi.metrics with parameters of type HttpClient
    Modifier and Type | Method and Description
    --- | ---
    `HttpClientMetrics<?,?,?,?,?>` | VertxMetrics.`createMetrics(HttpClient client, HttpClientOptions options)` Provides the http client metrics SPI when an http client has been created.

  - ### Uses of HttpClient in io.vertx.ext.httpservicefactory

    Methods in io.vertx.ext.httpservicefactory with parameters of type HttpClient
    Modifier and Type | Method and Description
    --- | ---
    `protected void` | HttpServiceFactory.`doRequest(HttpClient client, File file, URI url, File signatureFile, URI signatureURL, Handler<AsyncResult<io.vertx.ext.httpservicefactory.HttpServiceFactory.Result>> handler)`

  - ### Uses of HttpClient in io.vertx.ext.web.client

    Methods in io.vertx.ext.web.client with parameters of type HttpClient
    Modifier and Type | Method and Description
    --- | ---
    `static WebClient` | WebClient.`wrap(HttpClient httpClient)` Wrap an `httpClient` with a web client and default options.
    `static WebClient` | WebClient.`wrap(HttpClient httpClient, WebClientOptions options)` Wrap an `httpClient` with a web client and default options.

  - ### Uses of HttpClient in io.vertx.reactivex.core.http

    Methods in io.vertx.reactivex.core.http that return HttpClient
    Modifier and Type | Method and Description
    --- | ---
    `HttpClient` | HttpClient.`getDelegate()`

    Methods in io.vertx.reactivex.core.http with parameters of type HttpClient
    Modifier and Type | Method and Description
    --- | ---
    `static HttpClient` | HttpClient.`newInstance(HttpClient arg)`

    Constructors in io.vertx.reactivex.core.http with parameters of type HttpClient
    Constructor and Description
    `HttpClient(HttpClient delegate)`

  - ### Uses of HttpClient in io.vertx.rxjava.core.http

    Methods in io.vertx.rxjava.core.http that return HttpClient
    Modifier and Type | Method and Description
    --- | ---
    `HttpClient` | HttpClient.`getDelegate()`

    Methods in io.vertx.rxjava.core.http with parameters of type HttpClient
    Modifier and Type | Method and Description
    --- | ---
    `static HttpClient` | HttpClient.`newInstance(HttpClient arg)`

    Constructors in io.vertx.rxjava.core.http with parameters of type HttpClient
    Constructor and Description
    `HttpClient(HttpClient delegate)`

  - ### Uses of HttpClient in io.vertx.servicediscovery.types

    Method parameters in io.vertx.servicediscovery.types with type arguments of type HttpClient
    Modifier and Type | Method and Description
    --- | ---
    `static void` | HttpEndpoint.`getClient(ServiceDiscovery discovery, java.util.function.Function<Record,Boolean> filter, Handler<AsyncResult<HttpClient>> resultHandler)` Convenient method that looks for a HTTP endpoint and provides the configured `HttpClient`.
    `static void` | HttpEndpoint.`getClient(ServiceDiscovery discovery, java.util.function.Function<Record,Boolean> filter, JsonObject conf, Handler<AsyncResult<HttpClient>> resultHandler)` Convenient method that looks for a HTTP endpoint and provides the configured `HttpClient`.
    `static void` | HttpEndpoint.`getClient(ServiceDiscovery discovery, JsonObject filter, Handler<AsyncResult<HttpClient>> resultHandler)` Convenient method that looks for a HTTP endpoint and provides the configured `HttpClient`.
    `static void` | HttpEndpoint.`getClient(ServiceDiscovery discovery, JsonObject filter, JsonObject conf, Handler<AsyncResult<HttpClient>> resultHandler)` Convenient method that looks for a HTTP endpoint and provides the configured `HttpClient`.

Copyright © 2018 Eclipse. All rights reserved.