## Uses of Class
io.vertx.core.http.RequestOptions

- Packages that use RequestOptions
  Package | Description
  --- | ---
  io.vertx.core.http |
  io.vertx.ext.web.client |
  io.vertx.reactivex.core.http |
  io.vertx.reactivex.ext.web.client |
  io.vertx.rxjava.core.http |
  io.vertx.rxjava.ext.web.client |

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

    Subclasses of RequestOptions in io.vertx.core.http
    Modifier and Type | Class and Description
    --- | ---
    `class` | `WebSocketConnectOptions` Options describing how an `HttpClient` connect a `WebSocket`.

    Methods in io.vertx.core.http that return RequestOptions
    Modifier and Type | Method and Description
    --- | ---
    `RequestOptions` | RequestOptions.`addHeader(CharSequence key, CharSequence value)` Add a request header.
    `RequestOptions` | RequestOptions.`addHeader(CharSequence key, Iterable<CharSequence> values)`
    `RequestOptions` | RequestOptions.`addHeader(String key, String value)` Add a request header.
    `RequestOptions` | RequestOptions.`putHeader(CharSequence key, CharSequence value)` Set a request header.
    `RequestOptions` | RequestOptions.`putHeader(CharSequence key, Iterable<CharSequence> values)`
    `RequestOptions` | RequestOptions.`putHeader(String key, String value)` Set a request header.
    `RequestOptions` | RequestOptions.`setAbsoluteURI(String absoluteURI)` Parse an absolute URI to use, this will update the `ssl`, `host`, `port` and `uri` fields.
    `RequestOptions` | RequestOptions.`setFollowRedirects(Boolean followRedirects)` Set whether to follow HTTP redirect
    `RequestOptions` | RequestOptions.`setHeaders(MultiMap headers)` Set request headers from a multi-map.
    `RequestOptions` | RequestOptions.`setHost(String host)` Set the host name to be used by the client request.
    `RequestOptions` | RequestOptions.`setMethod(HttpMethod method)` Set the HTTP method to be used by the client request.
    `RequestOptions` | RequestOptions.`setPort(Integer port)` Set the port to be used by the client request.
    `RequestOptions` | RequestOptions.`setServer(SocketAddress server)` Set the server address to be used by the client request.
    `RequestOptions` | RequestOptions.`setSsl(Boolean ssl)` Set whether SSL/TLS is enabled.
    `RequestOptions` | RequestOptions.`setTimeout(long timeout)` Sets the amount of time after which if the request does not return any data within the timeout period an `TimeoutException` will be passed to the exception handler and the request will be closed.
    `RequestOptions` | RequestOptions.`setURI(String uri)` Set the request relative URI.

    Methods in io.vertx.core.http that return types with arguments of type RequestOptions
    Modifier and Type | Method and Description
    --- | ---
    `java.util.function.Function<HttpClientResponse,Future<RequestOptions>>` | HttpClient.`redirectHandler()`

    Methods in io.vertx.core.http with parameters of type RequestOptions
    Modifier and Type | Method and Description
    --- | ---
    `static void` | RequestOptionsConverter.`fromJson(Iterable<Map.Entry<String,Object>> json, RequestOptions obj)`
    `Future<HttpClientRequest>` | HttpClient.`request(RequestOptions options)` Like `HttpClient.request(RequestOptions, Handler)` but returns a `Future` of the asynchronous result
    `void` | HttpClient.`request(RequestOptions options, Handler<AsyncResult<HttpClientRequest>> handler)` Create an HTTP request to send to the server.
    `static void` | RequestOptionsConverter.`toJson(RequestOptions obj, JsonObject json)`
    `static void` | RequestOptionsConverter.`toJson(RequestOptions obj, Map<String,Object> json)`

    Method parameters in io.vertx.core.http with type arguments of type RequestOptions
    Modifier and Type | Method and Description
    --- | ---
    `HttpClient` | HttpClient.`redirectHandler(java.util.function.Function<HttpClientResponse,Future<RequestOptions>> handler)` Set a redirect handler for the http client.

    Constructors in io.vertx.core.http with parameters of type RequestOptions
    Constructor and Description
    `RequestOptions(RequestOptions other)` Copy constructor

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

    Methods in io.vertx.ext.web.client with parameters of type RequestOptions
    Modifier and Type | Method and Description
    --- | ---
    `HttpRequest<Buffer>` | WebClient.`request(HttpMethod method, RequestOptions options)` Create an HTTP request to send to the server at the specified host and port.
    `HttpRequest<Buffer>` | WebClient.`request(HttpMethod method, SocketAddress serverAddress, RequestOptions options)` Like `WebClient.request(HttpMethod, RequestOptions)` using the `serverAddress` parameter to connect to the server instead of the `options` parameter.

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

    Methods in io.vertx.reactivex.core.http with parameters of type RequestOptions
    Modifier and Type | Method and Description
    --- | ---
    `void` | HttpClient.`request(RequestOptions options)` Create an HTTP request to send to the server.
    `void` | HttpClient.`request(RequestOptions options, Handler<AsyncResult<HttpClientRequest>> handler)` Create an HTTP request to send to the server.
    `Single<HttpClientRequest>` | HttpClient.`rxRequest(RequestOptions options)` Create an HTTP request to send to the server.

    Method parameters in io.vertx.reactivex.core.http with type arguments of type RequestOptions
    Modifier and Type | Method and Description
    --- | ---
    `HttpClient` | HttpClient.`redirectHandler(java.util.function.Function<HttpClientResponse,Future<RequestOptions>> handler)` Set a redirect handler for the http client.
    `HttpClient` | HttpClient.`redirectHandler(Function<HttpClientResponse,Single<RequestOptions>> handler)` Set a redirect handler for the http client.

  - ### Uses of RequestOptions in io.vertx.reactivex.ext.web.client

    Methods in io.vertx.reactivex.ext.web.client with parameters of type RequestOptions
    Modifier and Type | Method and Description
    --- | ---
    `HttpRequest<Buffer>` | WebClient.`request(HttpMethod method, RequestOptions options)` Create an HTTP request to send to the server at the specified host and port.
    `HttpRequest<Buffer>` | WebClient.`request(HttpMethod method, SocketAddress serverAddress, RequestOptions options)` Like `WebClient.request(io.vertx.core.http.HttpMethod, int, java.lang.String, java.lang.String)` using the `serverAddress` parameter to connect to the server instead of the `options` parameter.

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

    Methods in io.vertx.rxjava.core.http with parameters of type RequestOptions
    Modifier and Type | Method and Description
    --- | ---
    `void` | HttpClient.`request(RequestOptions options)` Create an HTTP request to send to the server.
    `void` | HttpClient.`request(RequestOptions options, Handler<AsyncResult<HttpClientRequest>> handler)` Create an HTTP request to send to the server.
    `Single<HttpClientRequest>` | HttpClient.`rxRequest(RequestOptions options)` Create an HTTP request to send to the server.

    Method parameters in io.vertx.rxjava.core.http with type arguments of type RequestOptions
    Modifier and Type | Method and Description
    --- | ---
    `HttpClient` | HttpClient.`redirectHandler(java.util.function.Function<HttpClientResponse,Future<RequestOptions>> handler)` Set a redirect handler for the http client.

  - ### Uses of RequestOptions in io.vertx.rxjava.ext.web.client

    Methods in io.vertx.rxjava.ext.web.client with parameters of type RequestOptions
    Modifier and Type | Method and Description
    --- | ---
    `HttpRequest<Buffer>` | WebClient.`request(HttpMethod method, RequestOptions options)` Create an HTTP request to send to the server at the specified host and port.
    `HttpRequest<Buffer>` | WebClient.`request(HttpMethod method, SocketAddress serverAddress, RequestOptions options)` Like `WebClient.request(io.vertx.core.http.HttpMethod, int, java.lang.String, java.lang.String)` using the `serverAddress` parameter to connect to the server instead of the `options` parameter.

Copyright © 2021 Eclipse. All rights reserved.