Package | Description |
---|---|
io.vertx.ext.web.client | |
io.vertx.reactivex.ext.web.client | |
io.vertx.rxjava.ext.web.client | |
io.vertx.rxjava3.ext.web.client |
Modifier and Type | Method and Description |
---|---|
HttpRequest<T> |
HttpRequest.addQueryParam(String paramName,
String paramValue)
Add a query parameter to the request.
|
<U> HttpRequest<U> |
HttpRequest.as(BodyCodec<U> responseCodec)
Configure the request to decode the response with the
responseCodec . |
HttpRequest<T> |
HttpRequest.authentication(Credentials credentials)
Configure the request to perform HTTP Authentication.
|
default HttpRequest<T> |
HttpRequest.basicAuthentication(Buffer id,
Buffer password)
Configure the request to perform basic access authentication.
|
default HttpRequest<T> |
HttpRequest.basicAuthentication(String id,
String password)
Configure the request to perform basic access authentication.
|
default HttpRequest<T> |
HttpRequest.bearerTokenAuthentication(String bearerToken)
Configure the request to perform bearer token authentication.
|
HttpRequest<T> |
HttpRequest.copy()
Copy this request
|
default HttpRequest<Buffer> |
WebClient.delete(int port,
String host,
String requestURI)
Create an HTTP DELETE request to send to the server at the specified host and port.
|
default HttpRequest<Buffer> |
WebClient.delete(int port,
String host,
UriTemplate requestURI)
Create an HTTP DELETE request to send to the server at the specified host and port.
|
default HttpRequest<Buffer> |
WebClient.delete(String requestURI)
Create an HTTP DELETE request to send to the server at the default host and port.
|
default HttpRequest<Buffer> |
WebClient.delete(String host,
String requestURI)
Create an HTTP DELETE request to send to the server at the specified host and default port.
|
default HttpRequest<Buffer> |
WebClient.delete(String host,
UriTemplate requestURI)
Create an HTTP DELETE request to send to the server at the specified host and default port.
|
default HttpRequest<Buffer> |
WebClient.delete(UriTemplate requestURI)
Create an HTTP DELETE request to send to the server at the default host and port.
|
default HttpRequest<Buffer> |
WebClient.deleteAbs(String absoluteURI)
Create an HTTP DELETE request to send to the server using an absolute URI, specifying a response handler to receive
the response
|
default HttpRequest<Buffer> |
WebClient.deleteAbs(UriTemplate absoluteURI)
Create an HTTP DELETE request to send to the server using an absolute URI, specifying a response handler to receive
the response
|
default HttpRequest<T> |
HttpRequest.expect(java.util.function.Function<HttpResponse<Void>,ResponsePredicateResult> predicate)
Add an expectation that the response is valid according to the provided
predicate . |
HttpRequest<T> |
HttpRequest.expect(ResponsePredicate predicate)
Add an expectation that the response is valid according to the provided
predicate . |
HttpRequest<T> |
HttpRequest.followRedirects(boolean value)
Set whether to follow request redirections
|
default HttpRequest<Buffer> |
WebClient.get(int port,
String host,
String requestURI)
Create an HTTP GET request to send to the server at the specified host and port.
|
default HttpRequest<Buffer> |
WebClient.get(int port,
String host,
UriTemplate requestURI)
Create an HTTP GET request to send to the server at the specified host and port.
|
default HttpRequest<Buffer> |
WebClient.get(String requestURI)
Create an HTTP GET request to send to the server at the default host and port.
|
default HttpRequest<Buffer> |
WebClient.get(String host,
String requestURI)
Create an HTTP GET request to send to the server at the specified host and default port.
|
default HttpRequest<Buffer> |
WebClient.get(String host,
UriTemplate requestURI)
Create an HTTP GET request to send to the server at the specified host and default port.
|
default HttpRequest<Buffer> |
WebClient.get(UriTemplate requestURI)
Create an HTTP GET request to send to the server at the default host and port.
|
default HttpRequest<Buffer> |
WebClient.getAbs(String absoluteURI)
Create an HTTP GET request to send to the server using an absolute URI, specifying a response handler to receive
the response
|
default HttpRequest<Buffer> |
WebClient.getAbs(UriTemplate absoluteURI)
Create an HTTP GET request to send to the server using an absolute URI, specifying a response handler to receive
the response
|
default HttpRequest<Buffer> |
WebClient.head(int port,
String host,
String requestURI)
Create an HTTP HEAD request to send to the server at the specified host and port.
|
default HttpRequest<Buffer> |
WebClient.head(int port,
String host,
UriTemplate requestURI)
Create an HTTP HEAD request to send to the server at the specified host and port.
|
default HttpRequest<Buffer> |
WebClient.head(String requestURI)
Create an HTTP HEAD request to send to the server at the default host and port.
|
default HttpRequest<Buffer> |
WebClient.head(String host,
String requestURI)
Create an HTTP HEAD request to send to the server at the specified host and default port.
|
default HttpRequest<Buffer> |
WebClient.head(String host,
UriTemplate requestURI)
Create an HTTP HEAD request to send to the server at the specified host and default port.
|
default HttpRequest<Buffer> |
WebClient.head(UriTemplate requestURI)
Create an HTTP HEAD request to send to the server at the default host and port.
|
default HttpRequest<Buffer> |
WebClient.headAbs(String absoluteURI)
Create an HTTP HEAD request to send to the server using an absolute URI, specifying a response handler to receive
the response
|
default HttpRequest<Buffer> |
WebClient.headAbs(UriTemplate absoluteURI)
Create an HTTP HEAD request to send to the server using an absolute URI, specifying a response handler to receive
the response
|
HttpRequest<T> |
HttpRequest.host(String value)
Configure the request to use a new host
value . |
HttpRequest<T> |
HttpRequest.method(HttpMethod value)
Configure the request to use a new method
value . |
HttpRequest<T> |
HttpRequest.multipartMixed(boolean allow)
Allow or disallow multipart mixed encoding when sending
MultipartForm having files sharing the same
file name. |
default HttpRequest<Buffer> |
WebClient.patch(int port,
String host,
String requestURI)
Create an HTTP PATCH request to send to the server at the specified host and port.
|
default HttpRequest<Buffer> |
WebClient.patch(int port,
String host,
UriTemplate requestURI)
Create an HTTP PATCH request to send to the server at the specified host and port.
|
default HttpRequest<Buffer> |
WebClient.patch(String requestURI)
Create an HTTP PATCH request to send to the server at the default host and port.
|
default HttpRequest<Buffer> |
WebClient.patch(String host,
String requestURI)
Create an HTTP PATCH request to send to the server at the specified host and default port.
|
default HttpRequest<Buffer> |
WebClient.patch(String host,
UriTemplate requestURI)
Create an HTTP PATCH request to send to the server at the specified host and default port.
|
default HttpRequest<Buffer> |
WebClient.patch(UriTemplate requestURI)
Create an HTTP PATCH request to send to the server at the default host and port.
|
default HttpRequest<Buffer> |
WebClient.patchAbs(String absoluteURI)
Create an HTTP PATCH request to send to the server using an absolute URI, specifying a response handler to receive
the response
|
default HttpRequest<Buffer> |
WebClient.patchAbs(UriTemplate absoluteURI)
Create an HTTP PATCH request to send to the server using an absolute URI, specifying a response handler to receive
the response
|
HttpRequest<T> |
HttpRequest.port(int value)
Configure the request to use a new port
value . |
default HttpRequest<Buffer> |
WebClient.post(int port,
String host,
String requestURI)
Create an HTTP POST request to send to the server at the specified host and port.
|
default HttpRequest<Buffer> |
WebClient.post(int port,
String host,
UriTemplate requestURI)
Create an HTTP POST request to send to the server at the specified host and port.
|
default HttpRequest<Buffer> |
WebClient.post(String requestURI)
Create an HTTP POST request to send to the server at the default host and port.
|
default HttpRequest<Buffer> |
WebClient.post(String host,
String requestURI)
Create an HTTP POST request to send to the server at the specified host and default port.
|
default HttpRequest<Buffer> |
WebClient.post(String host,
UriTemplate requestURI)
Create an HTTP POST request to send to the server at the specified host and default port.
|
default HttpRequest<Buffer> |
WebClient.post(UriTemplate requestURI)
Create an HTTP POST request to send to the server at the default host and port.
|
default HttpRequest<Buffer> |
WebClient.postAbs(String absoluteURI)
Create an HTTP POST request to send to the server using an absolute URI, specifying a response handler to receive
the response
|
default HttpRequest<Buffer> |
WebClient.postAbs(UriTemplate absoluteURI)
Create an HTTP POST request to send to the server using an absolute URI, specifying a response handler to receive
the response
|
HttpRequest<T> |
HttpRequest.proxy(ProxyOptions proxyOptions)
Configure the request to set a proxy for this request.
|
default HttpRequest<Buffer> |
WebClient.put(int port,
String host,
String requestURI)
Create an HTTP PUT request to send to the server at the specified host and port.
|
default HttpRequest<Buffer> |
WebClient.put(int port,
String host,
UriTemplate requestURI)
Create an HTTP PUT request to send to the server at the specified host and port.
|
default HttpRequest<Buffer> |
WebClient.put(String requestURI)
Create an HTTP PUT request to send to the server at the default host and port.
|
default HttpRequest<Buffer> |
WebClient.put(String host,
String requestURI)
Create an HTTP PUT request to send to the server at the specified host and default port.
|
default HttpRequest<Buffer> |
WebClient.put(String host,
UriTemplate requestURI)
Create an HTTP PUT request to send to the server at the specified host and default port.
|
default HttpRequest<Buffer> |
WebClient.put(UriTemplate requestURI)
Create an HTTP PUT request to send to the server at the default host and port.
|
default HttpRequest<Buffer> |
WebClient.putAbs(String absoluteURI)
Create an HTTP PUT request to send to the server using an absolute URI, specifying a response handler to receive
the response
|
default HttpRequest<Buffer> |
WebClient.putAbs(UriTemplate absoluteURI)
Create an HTTP PUT request to send to the server using an absolute URI, specifying a response handler to receive
the response
|
HttpRequest<T> |
HttpRequest.putHeader(String name,
Iterable<String> value)
Configure the request to set a new HTTP header with multiple values.
|
HttpRequest<T> |
HttpRequest.putHeader(String name,
String value)
Configure the request to set a new HTTP header.
|
HttpRequest<T> |
HttpRequest.putHeaders(MultiMap headers)
Configure the request to add multiple HTTP headers .
|
default HttpRequest<Buffer> |
WebClient.request(HttpMethod method,
int port,
String host,
String requestURI)
Create an HTTP request to send to the server at the specified host and port.
|
default HttpRequest<Buffer> |
WebClient.request(HttpMethod method,
int port,
String host,
UriTemplate requestURI)
Create an HTTP request to send to the server at the specified host and port.
|
default 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,
int port,
String host,
String requestURI)
Like
WebClient.request(HttpMethod, int, String, String) using the serverAddress parameter to connect to the
server instead of the port and host parameters. |
HttpRequest<Buffer> |
WebClient.request(HttpMethod method,
SocketAddress serverAddress,
int port,
String host,
UriTemplate requestURI)
Like
WebClient.request(HttpMethod, int, String, UriTemplate) using the serverAddress parameter to connect to the
server instead of the port and host parameters. |
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. |
HttpRequest<Buffer> |
WebClient.request(HttpMethod method,
SocketAddress serverAddress,
String requestURI)
Like
WebClient.request(HttpMethod, String) using the serverAddress parameter to connect to the
server instead of the default port and default host. |
HttpRequest<Buffer> |
WebClient.request(HttpMethod method,
SocketAddress serverAddress,
String host,
String requestURI)
Like
WebClient.request(HttpMethod, String, String) using the serverAddress parameter to connect to the
server instead of the default port and host parameter. |
HttpRequest<Buffer> |
WebClient.request(HttpMethod method,
SocketAddress serverAddress,
String host,
UriTemplate requestURI)
Like
WebClient.request(HttpMethod, String, UriTemplate) using the serverAddress parameter to connect to the
server instead of the default port and host parameter. |
HttpRequest<Buffer> |
WebClient.request(HttpMethod method,
SocketAddress serverAddress,
UriTemplate requestURI)
Like
WebClient.request(HttpMethod, UriTemplate) using the serverAddress parameter to connect to the
server instead of the default port and default host. |
default HttpRequest<Buffer> |
WebClient.request(HttpMethod method,
String requestURI)
Create an HTTP request to send to the server at the default host and port.
|
default HttpRequest<Buffer> |
WebClient.request(HttpMethod method,
String host,
String requestURI)
Create an HTTP request to send to the server at the specified host and default port.
|
default HttpRequest<Buffer> |
WebClient.request(HttpMethod method,
String host,
UriTemplate requestURI)
Create an HTTP request to send to the server at the specified host and default port.
|
default HttpRequest<Buffer> |
WebClient.request(HttpMethod method,
UriTemplate requestURI)
Create an HTTP request to send to the server at the default host and port.
|
HttpRequest<Buffer> |
WebClient.requestAbs(HttpMethod method,
SocketAddress serverAddress,
String absoluteURI)
Like
WebClient.requestAbs(HttpMethod, String) using the serverAddress parameter to connect to the
server instead of the absoluteURI parameter. |
HttpRequest<Buffer> |
WebClient.requestAbs(HttpMethod method,
SocketAddress serverAddress,
UriTemplate absoluteURI)
Like
WebClient.requestAbs(HttpMethod, UriTemplate) using the serverAddress parameter to connect to the
server instead of the absoluteURI parameter. |
default HttpRequest<Buffer> |
WebClient.requestAbs(HttpMethod method,
String absoluteURI)
Create an HTTP request to send to the server using an absolute URI
|
default HttpRequest<Buffer> |
WebClient.requestAbs(HttpMethod method,
UriTemplate absoluteURI)
Create an HTTP request to send to the server using an absolute URI
|
HttpRequest<T> |
HttpRequest.setQueryParam(String paramName,
String paramValue)
Set a query parameter to the request.
|
HttpRequest<T> |
HttpRequest.setTemplateParam(String paramName,
List<String> paramValue)
Set a request URI template list parameter to the request, expanded when the request URI is a
UriTemplate . |
HttpRequest<T> |
HttpRequest.setTemplateParam(String paramName,
Map<String,String> paramValue)
Set a request URI template map parameter to the request, expanded when the request URI is a
UriTemplate . |
HttpRequest<T> |
HttpRequest.setTemplateParam(String paramName,
String paramValue)
Set a request URI template string parameter to the request, expanded when the request URI is a
UriTemplate . |
HttpRequest<T> |
HttpRequest.ssl(Boolean value)
Configure the request whether to use SSL.
|
HttpRequest<T> |
HttpRequest.timeout(long value)
Configures the amount of time in milliseconds after which if the request does not return any data within the timeout
period an
TimeoutException fails the request. |
HttpRequest<T> |
HttpRequest.traceOperation(String traceOperation)
Trace operation name override.
|
HttpRequest<T> |
HttpRequest.uri(String value)
Configure the request to use a new request URI
value . |
HttpRequest<T> |
HttpRequest.virtualHost(String value)
Configure the request to use a virtual host
value . |
Modifier and Type | Method and Description |
---|---|
HttpRequest |
HttpRequest.getDelegate() |
Modifier and Type | Method and Description |
---|---|
static <T> HttpRequest<T> |
HttpRequest.newInstance(HttpRequest arg) |
static <T> HttpRequest<T> |
HttpRequest.newInstance(HttpRequest arg,
io.vertx.lang.rx.TypeArg<T> __typeArg_T) |
Constructor and Description |
---|
HttpRequest(HttpRequest delegate) |
Modifier and Type | Method and Description |
---|---|
HttpRequest |
HttpRequest.getDelegate() |
Modifier and Type | Method and Description |
---|---|
static <T> HttpRequest<T> |
HttpRequest.newInstance(HttpRequest arg) |
static <T> HttpRequest<T> |
HttpRequest.newInstance(HttpRequest arg,
io.vertx.lang.rx.TypeArg<T> __typeArg_T) |
Constructor and Description |
---|
HttpRequest(HttpRequest delegate) |
Modifier and Type | Method and Description |
---|---|
HttpRequest |
HttpRequest.getDelegate() |
Modifier and Type | Method and Description |
---|---|
static <T> HttpRequest<T> |
HttpRequest.newInstance(HttpRequest arg) |
static <T> HttpRequest<T> |
HttpRequest.newInstance(HttpRequest arg,
io.vertx.lang.rx.TypeArg<T> __typeArg_T) |
Constructor and Description |
---|
HttpRequest(HttpRequest delegate) |
Copyright © 2023 Eclipse. All rights reserved.