Uses of Class
io.vertx.core.http.RequestOptions
Packages that use RequestOptions
Package
Description
-
Uses of RequestOptions in io.vertx.core.http
Subclasses of RequestOptions in io.vertx.core.httpFields in io.vertx.core.http with type parameters of type RequestOptionsModifier and TypeFieldDescriptionstatic final Function<HttpClientResponse, Future<RequestOptions>> HttpClientAgent.DEFAULT_REDIRECT_HANDLERConstant containing the default redirect handler of used by the client.Methods in io.vertx.core.http that return RequestOptionsModifier and TypeMethodDescriptionRequestOptions.addHeader(CharSequence key, CharSequence value) Add a request header.RequestOptions.addHeader(CharSequence key, Iterable<CharSequence> values) Add a request header.RequestOptions.putHeader(CharSequence key, CharSequence value) Set a request header.RequestOptions.putHeader(CharSequence key, Iterable<CharSequence> values) Set a request header.RequestOptions.removeHeader(CharSequence key) Add a request header.RequestOptions.removeHeader(String key) Add a request header.RequestOptions.setAbsoluteURI(String absoluteURI) Parse an absolute URI to use, this will update thessl,host,portandurifields.RequestOptions.setAbsoluteURI(URL url) LikeRequestOptions.setAbsoluteURI(String)but using anURLparameter.RequestOptions.setConnectTimeout(long timeout) RequestOptions.setFollowRedirects(Boolean followRedirects) Set whether to follow HTTP redirectRequestOptions.setHeaders(MultiMap headers) Set request headers from a multi-map.RequestOptions.setIdleTimeout(long timeout) Sets the amount of time after which, if the request does not return any data within the timeout period, the request/response is closed and the related futures are failed with aTimeoutException, e.g.RequestOptions.setMethod(HttpMethod method) Set the HTTP method to be used by the client request.RequestOptions.setProtocolVersion(HttpVersion protocolVersion) RequestOptions.setProxyOptions(ProxyOptions proxyOptions) WebSocketConnectOptions.setProxyOptions(ProxyOptions proxyOptions) Override theHttpClientOptions.setProxyOptions(ProxyOptions)proxy options for connections.RequestOptions.setRoutingKey(String key) Set the routing key, the routing key can be used by a Vert.x client side sticky load balancer to pin the request to a remote HTTP server.RequestOptions.setSslOptions(ClientSSLOptions sslOptions) RequestOptions.setTimeout(long timeout) Sets both connect and idle timeouts for the request connect timeout: if the request is not obtained from the client within the timeout period, theFuture<HttpClientRequest>obtained from the client is failed with aTimeoutException. idle timeout: if the request does not return any data within the timeout period, the request/response is closed and the related futures are failed with aTimeoutException, e.g.RequestOptions.setTraceOperation(String op) Override the operation the tracer use for this request.Set the request relative URI.Methods in io.vertx.core.http with parameters of type RequestOptionsModifier and TypeMethodDescriptionHttpClient.request(RequestOptions options) Create an HTTP request to send to the server.Method parameters in io.vertx.core.http with type arguments of type RequestOptionsModifier and TypeMethodDescriptionHttpClientBuilder.withRedirectHandler(Function<HttpClientResponse, Future<RequestOptions>> handler) Set a redirect handler for the http client.Constructors in io.vertx.core.http with parameters of type RequestOptions -
Uses of RequestOptions in io.vertx.ext.web.client
Methods in io.vertx.ext.web.client with parameters of type RequestOptionsModifier and TypeMethodDescriptiondefault HttpRequest<Buffer> WebClient.request(HttpMethod method, RequestOptions options) Deprecated.WebClient.request(HttpMethod method, SocketAddress serverAddress, RequestOptions options) Deprecated.instead useWebClient.request(RequestOptions)WebClient.request(RequestOptions options) Create an HTTP request to send to the server from the specified requestoptions. -
Uses of RequestOptions in io.vertx.reactivex.core.http
Methods in io.vertx.reactivex.core.http with parameters of type RequestOptionsModifier and TypeMethodDescriptionHttpClient.request(RequestOptions options) Create an HTTP request to send to the server.HttpClientAgent.request(RequestOptions options) Create an HTTP request to send to the server.HttpClientConnection.request(RequestOptions options) Create an HTTP request to send to the server.HttpClient.rxRequest(RequestOptions options) Create an HTTP request to send to the server.HttpClientAgent.rxRequest(RequestOptions options) Create an HTTP request to send to the server.HttpClientConnection.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 RequestOptionsModifier and TypeMethodDescriptionHttpClientBuilder.withRedirectHandler(Function<HttpClientResponse, Single<RequestOptions>> handler) Set a redirect handler for the http client.HttpClientBuilder.withRedirectHandler(Function<HttpClientResponse, Future<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 RequestOptionsModifier and TypeMethodDescriptionWebClient.request(HttpMethod method, RequestOptions options) Deprecated.WebClient.request(HttpMethod method, SocketAddress serverAddress, RequestOptions options) Deprecated.WebClient.request(RequestOptions options) Create an HTTP request to send to the server from the specified requestoptions. -
Uses of RequestOptions in io.vertx.rxjava3.core.http
Methods in io.vertx.rxjava3.core.http with parameters of type RequestOptionsModifier and TypeMethodDescriptionHttpClient.request(RequestOptions options) Create an HTTP request to send to the server.HttpClientAgent.request(RequestOptions options) Create an HTTP request to send to the server.HttpClientConnection.request(RequestOptions options) Create an HTTP request to send to the server.HttpClient.rxRequest(RequestOptions options) Create an HTTP request to send to the server.HttpClientAgent.rxRequest(RequestOptions options) Create an HTTP request to send to the server.HttpClientConnection.rxRequest(RequestOptions options) Create an HTTP request to send to the server.Method parameters in io.vertx.rxjava3.core.http with type arguments of type RequestOptionsModifier and TypeMethodDescriptionHttpClientBuilder.withRedirectHandler(Function<HttpClientResponse, Single<RequestOptions>> handler) Set a redirect handler for the http client. -
Uses of RequestOptions in io.vertx.rxjava3.ext.web.client
Methods in io.vertx.rxjava3.ext.web.client with parameters of type RequestOptionsModifier and TypeMethodDescriptionWebClient.request(HttpMethod method, RequestOptions options) Deprecated.WebClient.request(HttpMethod method, SocketAddress serverAddress, RequestOptions options) Deprecated.WebClient.request(RequestOptions options) Create an HTTP request to send to the server from the specified requestoptions. -
Uses of RequestOptions in io.vertx.tracing.zipkin
Subclasses with type arguments of type RequestOptions in io.vertx.tracing.zipkinModifier and TypeClassDescriptionclassAn HTTP sender using Vert.x HttpClient, only JSON encoding is supported.Methods in io.vertx.tracing.zipkin that return RequestOptionsModifier and TypeMethodDescriptionprotected RequestOptionsVertxSender.newEndpoint(String endpoint) Methods in io.vertx.tracing.zipkin with parameters of type RequestOptionsModifier and TypeMethodDescriptionprotected voidVertxSender.postSpans(RequestOptions requestOptions, Buffer body)
WebClient.request(RequestOptions)