public class HttpClient extends Object implements Measured
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 theoriginal non RX-ified interface using Vert.x codegen.| Modifier and Type | Field and Description |
|---|---|
static io.vertx.lang.rx.TypeArg<HttpClient> |
__TYPE_ARG |
| Constructor and Description |
|---|
HttpClient(HttpClient delegate) |
HttpClient(Object delegate) |
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Close the client.
|
void |
close(Handler<AsyncResult<Void>> handler)
Close the client.
|
HttpClient |
connectionHandler(Handler<HttpConnection> handler)
Set a connection handler for the client.
|
void |
delete(int port,
String host,
String requestURI)
Sends an HTTP DELETE request to send to the server at the specified host and port, specifying a response handler to receive
the response
|
void |
delete(int port,
String host,
String requestURI,
Handler<AsyncResult<HttpClientResponse>> responseHandler)
Sends an HTTP DELETE request to send to the server at the specified host and port, specifying a response handler to receive
the response
|
void |
delete(int port,
String host,
String requestURI,
MultiMap headers)
Sends an HTTP DELETE request to send to the server at the specified host and port, specifying a response handler to receive
the response
|
void |
delete(int port,
String host,
String requestURI,
MultiMap headers,
Handler<AsyncResult<HttpClientResponse>> responseHandler)
Sends an HTTP DELETE request to send to the server at the specified host and port, specifying a response handler to receive
the response
|
void |
delete(RequestOptions options)
Sends an HTTP DELETE request to send to the server with the specified options, specifying a response handler to receive
the response
|
void |
delete(RequestOptions options,
Handler<AsyncResult<HttpClientResponse>> responseHandler)
Sends an HTTP DELETE request to send to the server with the specified options, specifying a response handler to receive
the response
|
void |
delete(String requestURI)
Sends an HTTP DELETE request to send to the server at the default host and port, specifying a response handler to receive
the response
|
void |
delete(String requestURI,
Handler<AsyncResult<HttpClientResponse>> responseHandler)
Sends an HTTP DELETE request to send to the server at the default host and port, specifying a response handler to receive
the response
|
void |
delete(String requestURI,
MultiMap headers)
Sends an HTTP DELETE request to send to the server at the default host and port, specifying a response handler to receive
the response
|
void |
delete(String requestURI,
MultiMap headers,
Handler<AsyncResult<HttpClientResponse>> responseHandler)
Sends an HTTP DELETE request to send to the server at the default host and port, specifying a response handler to receive
the response
|
void |
delete(String host,
String requestURI)
Sends an HTTP DELETE request to send to the server at the specified host and default port, specifying a response handler to receive
the response
|
void |
delete(String host,
String requestURI,
Handler<AsyncResult<HttpClientResponse>> responseHandler)
Sends an HTTP DELETE request to send to the server at the specified host and default port, specifying a response handler to receive
the response
|
void |
delete(String host,
String requestURI,
MultiMap headers)
Sends an HTTP DELETE request to send to the server at the specified host and default port, specifying a response handler to receive
the response
|
void |
delete(String host,
String requestURI,
MultiMap headers,
Handler<AsyncResult<HttpClientResponse>> responseHandler)
Sends an HTTP DELETE request to send to the server at the specified host and default port, specifying a response handler to receive
the response
|
boolean |
equals(Object o) |
void |
get(int port,
String host,
String requestURI)
Sends an HTTP GET request to the server at the specified host and port, specifying a response handler to receive
the response
|
void |
get(int port,
String host,
String requestURI,
Handler<AsyncResult<HttpClientResponse>> responseHandler)
Sends an HTTP GET request to the server at the specified host and port, specifying a response handler to receive
the response
|
void |
get(int port,
String host,
String requestURI,
MultiMap headers)
Sends an HTTP GET request to the server at the specified host and port, specifying a response handler to receive
the response
|
void |
get(int port,
String host,
String requestURI,
MultiMap headers,
Handler<AsyncResult<HttpClientResponse>> responseHandler)
Sends an HTTP GET request to the server at the specified host and port, specifying a response handler to receive
the response
|
void |
get(RequestOptions options)
Sends an HTTP GET request to the server with the specified options, specifying a response handler to receive
the response
|
void |
get(RequestOptions options,
Handler<AsyncResult<HttpClientResponse>> responseHandler)
Sends an HTTP GET request to the server with the specified options, specifying a response handler to receive
the response
|
void |
get(String requestURI)
Sends an HTTP GET request to the server at the default host and port, specifying a response handler to receive
the response
|
void |
get(String requestURI,
Handler<AsyncResult<HttpClientResponse>> responseHandler)
Sends an HTTP GET request to the server at the default host and port, specifying a response handler to receive
the response
|
void |
get(String requestURI,
MultiMap headers)
Sends an HTTP GET request to the server at the default host and port, specifying a response handler to receive
the response
|
void |
get(String requestURI,
MultiMap headers,
Handler<AsyncResult<HttpClientResponse>> responseHandler)
Sends an HTTP GET request to the server at the default host and port, specifying a response handler to receive
the response
|
void |
get(String host,
String requestURI)
Sends an HTTP GET request to the server at the specified host and default port, specifying a response handler to receive
the response
|
void |
get(String host,
String requestURI,
Handler<AsyncResult<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
|
void |
get(String host,
String requestURI,
MultiMap headers)
Sends an HTTP GET request to the server at the specified host and default port, specifying a response handler to receive
the response
|
void |
get(String host,
String requestURI,
MultiMap headers,
Handler<AsyncResult<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 |
getDelegate() |
int |
hashCode() |
void |
head(int port,
String host,
String requestURI)
Sends an HTTP HEAD request to the server at the specified host and port, specifying a response handler to receive
the response
|
void |
head(int port,
String host,
String requestURI,
Handler<AsyncResult<HttpClientResponse>> responseHandler)
Sends an HTTP HEAD request to the server at the specified host and port, specifying a response handler to receive
the response
|
void |
head(int port,
String host,
String requestURI,
MultiMap headers)
Sends an HTTP HEAD request to the server at the specified host and port, specifying a response handler to receive
the response
|
void |
head(int port,
String host,
String requestURI,
MultiMap headers,
Handler<AsyncResult<HttpClientResponse>> responseHandler)
Sends an HTTP HEAD request to the server at the specified host and port, specifying a response handler to receive
the response
|
void |
head(RequestOptions options)
Sends an HTTP HEAD request to the server with the specified options, specifying a response handler to receive
the response
|
void |
head(RequestOptions options,
Handler<AsyncResult<HttpClientResponse>> responseHandler)
Sends an HTTP HEAD request to the server with the specified options, specifying a response handler to receive
the response
|
void |
head(String requestURI)
Sends an HTTP HEAD request to the server at the default host and port, specifying a response handler to receive
the response
|
void |
head(String requestURI,
Handler<AsyncResult<HttpClientResponse>> responseHandler)
Sends an HTTP HEAD request to the server at the default host and port, specifying a response handler to receive
the response
|
void |
head(String requestURI,
MultiMap headers)
Sends an HTTP HEAD request to the server at the default host and port, specifying a response handler to receive
the response
|
void |
head(String requestURI,
MultiMap headers,
Handler<AsyncResult<HttpClientResponse>> responseHandler)
Sends an HTTP HEAD request to the server at the default host and port, specifying a response handler to receive
the response
|
void |
head(String host,
String requestURI)
Sends an HTTP HEAD request to the server at the specified host and default port, specifying a response handler to receive
the response
|
void |
head(String host,
String requestURI,
Handler<AsyncResult<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
|
void |
head(String host,
String requestURI,
MultiMap headers)
Sends an HTTP HEAD request to the server at the specified host and default port, specifying a response handler to receive
the response
|
void |
head(String host,
String requestURI,
MultiMap headers,
Handler<AsyncResult<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
|
boolean |
isMetricsEnabled()
Whether the metrics are enabled for this measured object
|
static HttpClient |
newInstance(HttpClient arg) |
void |
options(int port,
String host,
String requestURI)
Sends an HTTP OPTIONS request to send to the server at the specified host and port, specifying a response handler to receive
the response
|
void |
options(int port,
String host,
String requestURI,
Handler<AsyncResult<HttpClientResponse>> responseHandler)
Sends an HTTP OPTIONS request to send to the server at the specified host and port, specifying a response handler to receive
the response
|
void |
options(int port,
String host,
String requestURI,
MultiMap headers)
Sends an HTTP OPTIONS request to send to the server at the specified host and port, specifying a response handler to receive
the response
|
void |
options(int port,
String host,
String requestURI,
MultiMap headers,
Handler<AsyncResult<HttpClientResponse>> responseHandler)
Sends an HTTP OPTIONS request to send to the server at the specified host and port, specifying a response handler to receive
the response
|
void |
options(RequestOptions options)
Sends an HTTP OPTIONS request to send to the server with the specified options, specifying a response handler to receive
the response
|
void |
options(RequestOptions options,
Handler<AsyncResult<HttpClientResponse>> responseHandler)
Sends an HTTP OPTIONS request to send to the server with the specified options, specifying a response handler to receive
the response
|
void |
options(String requestURI)
Sends an HTTP OPTIONS request to send to the server at the default host and port, specifying a response handler to receive
the response
|
void |
options(String requestURI,
Handler<AsyncResult<HttpClientResponse>> responseHandler)
Sends an HTTP OPTIONS request to send to the server at the default host and port, specifying a response handler to receive
the response
|
void |
options(String requestURI,
MultiMap headers)
Sends an HTTP OPTIONS request to send to the server at the default host and port, specifying a response handler to receive
the response
|
void |
options(String requestURI,
MultiMap headers,
Handler<AsyncResult<HttpClientResponse>> responseHandler)
Sends an HTTP OPTIONS request to send to the server at the default host and port, specifying a response handler to receive
the response
|
void |
options(String host,
String requestURI)
Sends an HTTP OPTIONS request to send to the server at the specified host and default port, specifying a response handler to receive
the response
|
void |
options(String host,
String requestURI,
Handler<AsyncResult<HttpClientResponse>> responseHandler)
Sends an HTTP OPTIONS request to send to the server at the specified host and default port, specifying a response handler to receive
the response
|
void |
options(String host,
String requestURI,
MultiMap headers)
Sends an HTTP OPTIONS request to send to the server at the specified host and default port, specifying a response handler to receive
the response
|
void |
options(String host,
String requestURI,
MultiMap headers,
Handler<AsyncResult<HttpClientResponse>> responseHandler)
Sends an HTTP OPTIONS request to send to the server at the specified host and default port, specifying a response handler to receive
the response
|
void |
post(int port,
String host,
String requestURI,
Buffer body)
Sends an HTTP POST request to send to the server at the specified host and port, specifying a response handler to receive
the response
|
void |
post(int port,
String host,
String requestURI,
Buffer body,
Handler<AsyncResult<HttpClientResponse>> responseHandler)
Sends an HTTP POST request to send to the server at the specified host and port, specifying a response handler to receive
the response
|
void |
post(int port,
String host,
String requestURI,
Flowable<Buffer> body)
Sends an HTTP POST request to send to the server at the specified host and port, specifying a response handler to receive
the response
|
void |
post(int port,
String host,
String requestURI,
Flowable<Buffer> body,
Handler<AsyncResult<HttpClientResponse>> responseHandler)
Sends an HTTP POST request to send to the server at the specified host and port, specifying a response handler to receive
the response
|
void |
post(int port,
String host,
String requestURI,
MultiMap headers,
Buffer body)
Sends an HTTP POST request to send to the server at the specified host and port, specifying a response handler to receive
the response
|
void |
post(int port,
String host,
String requestURI,
MultiMap headers,
Buffer body,
Handler<AsyncResult<HttpClientResponse>> responseHandler)
Sends an HTTP POST request to send to the server at the specified host and port, specifying a response handler to receive
the response
|
void |
post(int port,
String host,
String requestURI,
MultiMap headers,
Flowable<Buffer> body)
Sends an HTTP POST request to send to the server at the specified host and port, specifying a response handler to receive
the response
|
void |
post(int port,
String host,
String requestURI,
MultiMap headers,
Flowable<Buffer> body,
Handler<AsyncResult<HttpClientResponse>> responseHandler)
Sends an HTTP POST request to send to the server at the specified host and port, specifying a response handler to receive
the response
|
void |
post(int port,
String host,
String requestURI,
MultiMap headers,
Observable<Buffer> body)
Sends an HTTP POST request to send to the server at the specified host and port, specifying a response handler to receive
the response
|
void |
post(int port,
String host,
String requestURI,
MultiMap headers,
Observable<Buffer> body,
Handler<AsyncResult<HttpClientResponse>> responseHandler)
Sends an HTTP POST request to send to the server at the specified host and port, specifying a response handler to receive
the response
|
void |
post(int port,
String host,
String requestURI,
MultiMap headers,
ReadStream<Buffer> body)
Sends an HTTP POST request to send to the server at the specified host and port, specifying a response handler to receive
the response
|
void |
post(int port,
String host,
String requestURI,
MultiMap headers,
ReadStream<Buffer> body,
Handler<AsyncResult<HttpClientResponse>> responseHandler)
Sends an HTTP POST request to send to the server at the specified host and port, specifying a response handler to receive
the response
|
void |
post(int port,
String host,
String requestURI,
Observable<Buffer> body)
Sends an HTTP POST request to send to the server at the specified host and port, specifying a response handler to receive
the response
|
void |
post(int port,
String host,
String requestURI,
Observable<Buffer> body,
Handler<AsyncResult<HttpClientResponse>> responseHandler)
Sends an HTTP POST request to send to the server at the specified host and port, specifying a response handler to receive
the response
|
void |
post(int port,
String host,
String requestURI,
ReadStream<Buffer> body)
Sends an HTTP POST request to send to the server at the specified host and port, specifying a response handler to receive
the response
|
void |
post(int port,
String host,
String requestURI,
ReadStream<Buffer> body,
Handler<AsyncResult<HttpClientResponse>> responseHandler)
Sends an HTTP POST request to send to the server at the specified host and port, specifying a response handler to receive
the response
|
void |
post(RequestOptions options,
Buffer body)
Sends an HTTP POST request to send to the server with the specified options, specifying a response handler to receive
the response
|
void |
post(RequestOptions options,
Buffer body,
Handler<AsyncResult<HttpClientResponse>> responseHandler)
Sends an HTTP POST request to send to the server with the specified options, specifying a response handler to receive
the response
|
void |
post(RequestOptions options,
Flowable<Buffer> body)
Sends an HTTP POST request to send to the server with the specified options, specifying a response handler to receive
the response
|
void |
post(RequestOptions options,
Flowable<Buffer> body,
Handler<AsyncResult<HttpClientResponse>> responseHandler)
Sends an HTTP POST request to send to the server with the specified options, specifying a response handler to receive
the response
|
void |
post(RequestOptions options,
Observable<Buffer> body)
Sends an HTTP POST request to send to the server with the specified options, specifying a response handler to receive
the response
|
void |
post(RequestOptions options,
Observable<Buffer> body,
Handler<AsyncResult<HttpClientResponse>> responseHandler)
Sends an HTTP POST request to send to the server with the specified options, specifying a response handler to receive
the response
|
void |
post(RequestOptions options,
ReadStream<Buffer> body)
Sends an HTTP POST request to send to the server with the specified options, specifying a response handler to receive
the response
|
void |
post(RequestOptions options,
ReadStream<Buffer> body,
Handler<AsyncResult<HttpClientResponse>> responseHandler)
Sends an HTTP POST request to send to the server with the specified options, specifying a response handler to receive
the response
|
void |
post(String requestURI,
Buffer body)
Sends an HTTP POST request to send to the server at the default host and port, specifying a response handler to receive
the response
|
void |
post(String requestURI,
Buffer body,
Handler<AsyncResult<HttpClientResponse>> responseHandler)
Sends an HTTP POST request to send to the server at the default host and port, specifying a response handler to receive
the response
|
void |
post(String requestURI,
Flowable<Buffer> body)
Sends an HTTP POST request to send to the server at the default host and port, specifying a response handler to receive
the response
|
void |
post(String requestURI,
Flowable<Buffer> body,
Handler<AsyncResult<HttpClientResponse>> responseHandler)
Sends an HTTP POST request to send to the server at the default host and port, specifying a response handler to receive
the response
|
void |
post(String requestURI,
MultiMap headers,
Buffer body)
Sends an HTTP POST request to send to the server at the default host and port, specifying a response handler to receive
the response
|
void |
post(String requestURI,
MultiMap headers,
Buffer body,
Handler<AsyncResult<HttpClientResponse>> responseHandler)
Sends an HTTP POST request to send to the server at the default host and port, specifying a response handler to receive
the response
|
void |
post(String requestURI,
MultiMap headers,
Flowable<Buffer> body)
Sends an HTTP POST request to send to the server at the default host and port, specifying a response handler to receive
the response
|
void |
post(String requestURI,
MultiMap headers,
Flowable<Buffer> body,
Handler<AsyncResult<HttpClientResponse>> responseHandler)
Sends an HTTP POST request to send to the server at the default host and port, specifying a response handler to receive
the response
|
void |
post(String requestURI,
MultiMap headers,
Observable<Buffer> body)
Sends an HTTP POST request to send to the server at the default host and port, specifying a response handler to receive
the response
|
void |
post(String requestURI,
MultiMap headers,
Observable<Buffer> body,
Handler<AsyncResult<HttpClientResponse>> responseHandler)
Sends an HTTP POST request to send to the server at the default host and port, specifying a response handler to receive
the response
|
void |
post(String requestURI,
MultiMap headers,
ReadStream<Buffer> body)
Sends an HTTP POST request to send to the server at the default host and port, specifying a response handler to receive
the response
|
void |
post(String requestURI,
MultiMap headers,
ReadStream<Buffer> body,
Handler<AsyncResult<HttpClientResponse>> responseHandler)
Sends an HTTP POST request to send to the server at the default host and port, specifying a response handler to receive
the response
|
void |
post(String requestURI,
Observable<Buffer> body)
Sends an HTTP POST request to send to the server at the default host and port, specifying a response handler to receive
the response
|
void |
post(String requestURI,
Observable<Buffer> body,
Handler<AsyncResult<HttpClientResponse>> responseHandler)
Sends an HTTP POST request to send to the server at the default host and port, specifying a response handler to receive
the response
|
void |
post(String requestURI,
ReadStream<Buffer> body)
Sends an HTTP POST request to send to the server at the default host and port, specifying a response handler to receive
the response
|
void |
post(String requestURI,
ReadStream<Buffer> body,
Handler<AsyncResult<HttpClientResponse>> responseHandler)
Sends an HTTP POST request to send to the server at the default host and port, specifying a response handler to receive
the response
|
void |
post(String host,
String requestURI,
Buffer body)
Sends an HTTP POST request to send to the server at the specified host and default port, specifying a response handler to receive
the response
|
void |
post(String host,
String requestURI,
Buffer body,
Handler<AsyncResult<HttpClientResponse>> responseHandler)
Sends an HTTP POST request to send to the server at the specified host and default port, specifying a response handler to receive
the response
|
void |
post(String host,
String requestURI,
Flowable<Buffer> body)
Sends an HTTP POST request to send to the server at the specified host and default port, specifying a response handler to receive
the response
|
void |
post(String host,
String requestURI,
Flowable<Buffer> body,
Handler<AsyncResult<HttpClientResponse>> responseHandler)
Sends an HTTP POST request to send to the server at the specified host and default port, specifying a response handler to receive
the response
|
void |
post(String host,
String requestURI,
MultiMap headers,
Buffer body)
Sends an HTTP POST request to send to the server at the specified host and default port, specifying a response handler to receive
the response
|
void |
post(String host,
String requestURI,
MultiMap headers,
Buffer body,
Handler<AsyncResult<HttpClientResponse>> responseHandler)
Sends an HTTP POST request to send to the server at the specified host and default port, specifying a response handler to receive
the response
|
void |
post(String host,
String requestURI,
MultiMap headers,
Flowable<Buffer> body)
Sends an HTTP POST request to send to the server at the specified host and default port, specifying a response handler to receive
the response
|
void |
post(String host,
String requestURI,
MultiMap headers,
Flowable<Buffer> body,
Handler<AsyncResult<HttpClientResponse>> responseHandler)
Sends an HTTP POST request to send to the server at the specified host and default port, specifying a response handler to receive
the response
|
void |
post(String host,
String requestURI,
MultiMap headers,
Observable<Buffer> body)
Sends an HTTP POST request to send to the server at the specified host and default port, specifying a response handler to receive
the response
|
void |
post(String host,
String requestURI,
MultiMap headers,
Observable<Buffer> body,
Handler<AsyncResult<HttpClientResponse>> responseHandler)
Sends an HTTP POST request to send to the server at the specified host and default port, specifying a response handler to receive
the response
|
void |
post(String host,
String requestURI,
MultiMap headers,
ReadStream<Buffer> body)
Sends an HTTP POST request to send to the server at the specified host and default port, specifying a response handler to receive
the response
|
void |
post(String host,
String requestURI,
MultiMap headers,
ReadStream<Buffer> body,
Handler<AsyncResult<HttpClientResponse>> responseHandler)
Sends an HTTP POST request to send to the server at the specified host and default port, specifying a response handler to receive
the response
|
void |
post(String host,
String requestURI,
Observable<Buffer> body)
Sends an HTTP POST request to send to the server at the specified host and default port, specifying a response handler to receive
the response
|
void |
post(String host,
String requestURI,
Observable<Buffer> body,
Handler<AsyncResult<HttpClientResponse>> responseHandler)
Sends an HTTP POST request to send to the server at the specified host and default port, specifying a response handler to receive
the response
|
void |
post(String host,
String requestURI,
ReadStream<Buffer> body)
Sends an HTTP POST request to send to the server at the specified host and default port, specifying a response handler to receive
the response
|
void |
post(String host,
String requestURI,
ReadStream<Buffer> body,
Handler<AsyncResult<HttpClientResponse>> responseHandler)
Sends an HTTP POST request to send to the server at the specified host and default port, specifying a response handler to receive
the response
|
void |
put(int port,
String host,
String requestURI,
Buffer body)
Sends an HTTP PUT request to send to the server at the specified host and port, specifying a response handler to receive
the response
|
void |
put(int port,
String host,
String requestURI,
Buffer body,
Handler<AsyncResult<HttpClientResponse>> responseHandler)
Sends an HTTP PUT request to send to the server at the specified host and port, specifying a response handler to receive
the response
|
void |
put(int port,
String host,
String requestURI,
Flowable<Buffer> body)
Sends an HTTP PUT request to send to the server at the specified host and port, specifying a response handler to receive
the response
|
void |
put(int port,
String host,
String requestURI,
Flowable<Buffer> body,
Handler<AsyncResult<HttpClientResponse>> responseHandler)
Sends an HTTP PUT request to send to the server at the specified host and port, specifying a response handler to receive
the response
|
void |
put(int port,
String host,
String requestURI,
MultiMap headers,
Buffer body)
Sends an HTTP PUT request to send to the server at the specified host and port, specifying a response handler to receive
the response
|
void |
put(int port,
String host,
String requestURI,
MultiMap headers,
Buffer body,
Handler<AsyncResult<HttpClientResponse>> responseHandler)
Sends an HTTP PUT request to send to the server at the specified host and port, specifying a response handler to receive
the response
|
void |
put(int port,
String host,
String requestURI,
MultiMap headers,
Flowable<Buffer> body)
Sends an HTTP PUT request to send to the server at the specified host and port, specifying a response handler to receive
the response
|
void |
put(int port,
String host,
String requestURI,
MultiMap headers,
Flowable<Buffer> body,
Handler<AsyncResult<HttpClientResponse>> responseHandler)
Sends an HTTP PUT request to send to the server at the specified host and port, specifying a response handler to receive
the response
|
void |
put(int port,
String host,
String requestURI,
MultiMap headers,
Observable<Buffer> body)
Sends an HTTP PUT request to send to the server at the specified host and port, specifying a response handler to receive
the response
|
void |
put(int port,
String host,
String requestURI,
MultiMap headers,
Observable<Buffer> body,
Handler<AsyncResult<HttpClientResponse>> responseHandler)
Sends an HTTP PUT request to send to the server at the specified host and port, specifying a response handler to receive
the response
|
void |
put(int port,
String host,
String requestURI,
MultiMap headers,
ReadStream<Buffer> body)
Sends an HTTP PUT request to send to the server at the specified host and port, specifying a response handler to receive
the response
|
void |
put(int port,
String host,
String requestURI,
MultiMap headers,
ReadStream<Buffer> body,
Handler<AsyncResult<HttpClientResponse>> responseHandler)
Sends an HTTP PUT request to send to the server at the specified host and port, specifying a response handler to receive
the response
|
void |
put(int port,
String host,
String requestURI,
Observable<Buffer> body)
Sends an HTTP PUT request to send to the server at the specified host and port, specifying a response handler to receive
the response
|
void |
put(int port,
String host,
String requestURI,
Observable<Buffer> body,
Handler<AsyncResult<HttpClientResponse>> responseHandler)
Sends an HTTP PUT request to send to the server at the specified host and port, specifying a response handler to receive
the response
|
void |
put(int port,
String host,
String requestURI,
ReadStream<Buffer> body)
Sends an HTTP PUT request to send to the server at the specified host and port, specifying a response handler to receive
the response
|
void |
put(int port,
String host,
String requestURI,
ReadStream<Buffer> body,
Handler<AsyncResult<HttpClientResponse>> responseHandler)
Sends an HTTP PUT request to send to the server at the specified host and port, specifying a response handler to receive
the response
|
void |
put(RequestOptions options,
Buffer body)
Sends an HTTP PUT request to send to the server with the specified options, specifying a response handler to receive
the response
|
void |
put(RequestOptions options,
Buffer body,
Handler<AsyncResult<HttpClientResponse>> responseHandler)
Sends an HTTP PUT request to send to the server with the specified options, specifying a response handler to receive
the response
|
void |
put(RequestOptions options,
Flowable<Buffer> body)
Sends an HTTP PUT request to send to the server with the specified options, specifying a response handler to receive
the response
|
void |
put(RequestOptions options,
Flowable<Buffer> body,
Handler<AsyncResult<HttpClientResponse>> responseHandler)
Sends an HTTP PUT request to send to the server with the specified options, specifying a response handler to receive
the response
|
void |
put(RequestOptions options,
Observable<Buffer> body)
Sends an HTTP PUT request to send to the server with the specified options, specifying a response handler to receive
the response
|
void |
put(RequestOptions options,
Observable<Buffer> body,
Handler<AsyncResult<HttpClientResponse>> responseHandler)
Sends an HTTP PUT request to send to the server with the specified options, specifying a response handler to receive
the response
|
void |
put(RequestOptions options,
ReadStream<Buffer> body)
Sends an HTTP PUT request to send to the server with the specified options, specifying a response handler to receive
the response
|
void |
put(RequestOptions options,
ReadStream<Buffer> body,
Handler<AsyncResult<HttpClientResponse>> responseHandler)
Sends an HTTP PUT request to send to the server with the specified options, specifying a response handler to receive
the response
|
void |
put(String requestURI,
Buffer body)
Sends an HTTP PUT request to send to the server at the default host and port, specifying a response handler to receive
the response
|
void |
put(String requestURI,
Buffer body,
Handler<AsyncResult<HttpClientResponse>> responseHandler)
Sends an HTTP PUT request to send to the server at the default host and port, specifying a response handler to receive
the response
|
void |
put(String requestURI,
Flowable<Buffer> body)
Sends an HTTP PUT request to send to the server at the default host and port, specifying a response handler to receive
the response
|
void |
put(String requestURI,
Flowable<Buffer> body,
Handler<AsyncResult<HttpClientResponse>> responseHandler)
Sends an HTTP PUT request to send to the server at the default host and port, specifying a response handler to receive
the response
|
void |
put(String requestURI,
MultiMap headers,
Buffer body)
Sends an HTTP PUT request to send to the server at the default host and port, specifying a response handler to receive
the response
|
void |
put(String requestURI,
MultiMap headers,
Buffer body,
Handler<AsyncResult<HttpClientResponse>> responseHandler)
Sends an HTTP PUT request to send to the server at the default host and port, specifying a response handler to receive
the response
|
void |
put(String requestURI,
MultiMap headers,
Flowable<Buffer> body)
Sends an HTTP PUT request to send to the server at the default host and port, specifying a response handler to receive
the response
|
void |
put(String requestURI,
MultiMap headers,
Flowable<Buffer> body,
Handler<AsyncResult<HttpClientResponse>> responseHandler)
Sends an HTTP PUT request to send to the server at the default host and port, specifying a response handler to receive
the response
|
void |
put(String requestURI,
MultiMap headers,
Observable<Buffer> body)
Sends an HTTP PUT request to send to the server at the default host and port, specifying a response handler to receive
the response
|
void |
put(String requestURI,
MultiMap headers,
Observable<Buffer> body,
Handler<AsyncResult<HttpClientResponse>> responseHandler)
Sends an HTTP PUT request to send to the server at the default host and port, specifying a response handler to receive
the response
|
void |
put(String requestURI,
MultiMap headers,
ReadStream<Buffer> body)
Sends an HTTP PUT request to send to the server at the default host and port, specifying a response handler to receive
the response
|
void |
put(String requestURI,
MultiMap headers,
ReadStream<Buffer> body,
Handler<AsyncResult<HttpClientResponse>> responseHandler)
Sends an HTTP PUT request to send to the server at the default host and port, specifying a response handler to receive
the response
|
void |
put(String requestURI,
Observable<Buffer> body)
Sends an HTTP PUT request to send to the server at the default host and port, specifying a response handler to receive
the response
|
void |
put(String requestURI,
Observable<Buffer> body,
Handler<AsyncResult<HttpClientResponse>> responseHandler)
Sends an HTTP PUT request to send to the server at the default host and port, specifying a response handler to receive
the response
|
void |
put(String requestURI,
ReadStream<Buffer> body)
Sends an HTTP PUT request to send to the server at the default host and port, specifying a response handler to receive
the response
|
void |
put(String requestURI,
ReadStream<Buffer> body,
Handler<AsyncResult<HttpClientResponse>> responseHandler)
Sends an HTTP PUT request to send to the server at the default host and port, specifying a response handler to receive
the response
|
void |
put(String host,
String requestURI,
Buffer body)
Sends an HTTP PUT request to send to the server at the specified host and default port, specifying a response handler to receive
the response
|
void |
put(String host,
String requestURI,
Buffer body,
Handler<AsyncResult<HttpClientResponse>> responseHandler)
Sends an HTTP PUT request to send to the server at the specified host and default port, specifying a response handler to receive
the response
|
void |
put(String host,
String requestURI,
Flowable<Buffer> body)
Sends an HTTP PUT request to send to the server at the specified host and default port, specifying a response handler to receive
the response
|
void |
put(String host,
String requestURI,
Flowable<Buffer> body,
Handler<AsyncResult<HttpClientResponse>> responseHandler)
Sends an HTTP PUT request to send to the server at the specified host and default port, specifying a response handler to receive
the response
|
void |
put(String host,
String requestURI,
MultiMap headers,
Buffer body)
Sends an HTTP PUT request to send to the server at the specified host and default port, specifying a response handler to receive
the response
|
void |
put(String host,
String requestURI,
MultiMap headers,
Buffer body,
Handler<AsyncResult<HttpClientResponse>> responseHandler)
Sends an HTTP PUT request to send to the server at the specified host and default port, specifying a response handler to receive
the response
|
void |
put(String host,
String requestURI,
MultiMap headers,
Flowable<Buffer> body)
Sends an HTTP PUT request to send to the server at the specified host and default port, specifying a response handler to receive
the response
|
void |
put(String host,
String requestURI,
MultiMap headers,
Flowable<Buffer> body,
Handler<AsyncResult<HttpClientResponse>> responseHandler)
Sends an HTTP PUT request to send to the server at the specified host and default port, specifying a response handler to receive
the response
|
void |
put(String host,
String requestURI,
MultiMap headers,
Observable<Buffer> body)
Sends an HTTP PUT request to send to the server at the specified host and default port, specifying a response handler to receive
the response
|
void |
put(String host,
String requestURI,
MultiMap headers,
Observable<Buffer> body,
Handler<AsyncResult<HttpClientResponse>> responseHandler)
Sends an HTTP PUT request to send to the server at the specified host and default port, specifying a response handler to receive
the response
|
void |
put(String host,
String requestURI,
MultiMap headers,
ReadStream<Buffer> body)
Sends an HTTP PUT request to send to the server at the specified host and default port, specifying a response handler to receive
the response
|
void |
put(String host,
String requestURI,
MultiMap headers,
ReadStream<Buffer> body,
Handler<AsyncResult<HttpClientResponse>> responseHandler)
Sends an HTTP PUT request to send to the server at the specified host and default port, specifying a response handler to receive
the response
|
void |
put(String host,
String requestURI,
Observable<Buffer> body)
Sends an HTTP PUT request to send to the server at the specified host and default port, specifying a response handler to receive
the response
|
void |
put(String host,
String requestURI,
Observable<Buffer> body,
Handler<AsyncResult<HttpClientResponse>> responseHandler)
Sends an HTTP PUT request to send to the server at the specified host and default port, specifying a response handler to receive
the response
|
void |
put(String host,
String requestURI,
ReadStream<Buffer> body)
Sends an HTTP PUT request to send to the server at the specified host and default port, specifying a response handler to receive
the response
|
void |
put(String host,
String requestURI,
ReadStream<Buffer> body,
Handler<AsyncResult<HttpClientResponse>> responseHandler)
Sends an HTTP PUT request to send to the server at the specified host and default port, specifying a response handler to receive
the response
|
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,
SocketAddress serverAddress,
int port,
String host,
String requestURI)
Like
request(io.vertx.reactivex.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 host,
String requestURI)
Create an HTTP request to send to the server at the specified host and default port.
|
HttpClientRequest |
request(RequestOptions options)
Create an HTTP request to send to the server with the specified options.
|
HttpClientRequest |
request(SocketAddress serverAddress,
RequestOptions options)
Like
request(io.vertx.reactivex.core.net.SocketAddress, io.vertx.core.http.RequestOptions) using the serverAddress parameter to connect to the
server instead of the absoluteURI parameter. |
Completable |
rxClose()
Close the client.
|
Single<HttpClientResponse> |
rxDelete(int port,
String host,
String requestURI)
Sends an HTTP DELETE request to send to the server at the specified host and port, specifying a response handler to receive
the response
|
Single<HttpClientResponse> |
rxDelete(int port,
String host,
String requestURI,
MultiMap headers)
Sends an HTTP DELETE request to send to the server at the specified host and port, specifying a response handler to receive
the response
|
Single<HttpClientResponse> |
rxDelete(RequestOptions options)
Sends an HTTP DELETE request to send to the server with the specified options, specifying a response handler to receive
the response
|
Single<HttpClientResponse> |
rxDelete(String requestURI)
Sends an HTTP DELETE request to send to the server at the default host and port, specifying a response handler to receive
the response
|
Single<HttpClientResponse> |
rxDelete(String requestURI,
MultiMap headers)
Sends an HTTP DELETE request to send to the server at the default host and port, specifying a response handler to receive
the response
|
Single<HttpClientResponse> |
rxDelete(String host,
String requestURI)
Sends an HTTP DELETE request to send to the server at the specified host and default port, specifying a response handler to receive
the response
|
Single<HttpClientResponse> |
rxDelete(String host,
String requestURI,
MultiMap headers)
Sends an HTTP DELETE request to send to the server at the specified host and default port, specifying a response handler to receive
the response
|
Single<HttpClientResponse> |
rxGet(int port,
String host,
String requestURI)
Sends an HTTP GET request to the server at the specified host and port, specifying a response handler to receive
the response
|
Single<HttpClientResponse> |
rxGet(int port,
String host,
String requestURI,
MultiMap headers)
Sends an HTTP GET request to the server at the specified host and port, specifying a response handler to receive
the response
|
Single<HttpClientResponse> |
rxGet(RequestOptions options)
Sends an HTTP GET request to the server with the specified options, specifying a response handler to receive
the response
|
Single<HttpClientResponse> |
rxGet(String requestURI)
Sends an HTTP GET request to the server at the default host and port, specifying a response handler to receive
the response
|
Single<HttpClientResponse> |
rxGet(String requestURI,
MultiMap headers)
Sends an HTTP GET request to the server at the default host and port, specifying a response handler to receive
the response
|
Single<HttpClientResponse> |
rxGet(String host,
String requestURI)
Sends an HTTP GET request to the server at the specified host and default port, specifying a response handler to receive
the response
|
Single<HttpClientResponse> |
rxGet(String host,
String requestURI,
MultiMap headers)
Sends an HTTP GET request to the server at the specified host and default port, specifying a response handler to receive
the response
|
Single<HttpClientResponse> |
rxHead(int port,
String host,
String requestURI)
Sends an HTTP HEAD request to the server at the specified host and port, specifying a response handler to receive
the response
|
Single<HttpClientResponse> |
rxHead(int port,
String host,
String requestURI,
MultiMap headers)
Sends an HTTP HEAD request to the server at the specified host and port, specifying a response handler to receive
the response
|
Single<HttpClientResponse> |
rxHead(RequestOptions options)
Sends an HTTP HEAD request to the server with the specified options, specifying a response handler to receive
the response
|
Single<HttpClientResponse> |
rxHead(String requestURI)
Sends an HTTP HEAD request to the server at the default host and port, specifying a response handler to receive
the response
|
Single<HttpClientResponse> |
rxHead(String requestURI,
MultiMap headers)
Sends an HTTP HEAD request to the server at the default host and port, specifying a response handler to receive
the response
|
Single<HttpClientResponse> |
rxHead(String host,
String requestURI)
Sends an HTTP HEAD request to the server at the specified host and default port, specifying a response handler to receive
the response
|
Single<HttpClientResponse> |
rxHead(String host,
String requestURI,
MultiMap headers)
Sends an HTTP HEAD request to the server at the specified host and default port, specifying a response handler to receive
the response
|
Single<HttpClientResponse> |
rxOptions(int port,
String host,
String requestURI)
Sends an HTTP OPTIONS request to send to the server at the specified host and port, specifying a response handler to receive
the response
|
Single<HttpClientResponse> |
rxOptions(int port,
String host,
String requestURI,
MultiMap headers)
Sends an HTTP OPTIONS request to send to the server at the specified host and port, specifying a response handler to receive
the response
|
Single<HttpClientResponse> |
rxOptions(RequestOptions options)
Sends an HTTP OPTIONS request to send to the server with the specified options, specifying a response handler to receive
the response
|
Single<HttpClientResponse> |
rxOptions(String requestURI)
Sends an HTTP OPTIONS request to send to the server at the default host and port, specifying a response handler to receive
the response
|
Single<HttpClientResponse> |
rxOptions(String requestURI,
MultiMap headers)
Sends an HTTP OPTIONS request to send to the server at the default host and port, specifying a response handler to receive
the response
|
Single<HttpClientResponse> |
rxOptions(String host,
String requestURI)
Sends an HTTP OPTIONS request to send to the server at the specified host and default port, specifying a response handler to receive
the response
|
Single<HttpClientResponse> |
rxOptions(String host,
String requestURI,
MultiMap headers)
Sends an HTTP OPTIONS request to send to the server at the specified host and default port, specifying a response handler to receive
the response
|
Single<HttpClientResponse> |
rxPost(int port,
String host,
String requestURI,
Buffer body)
Sends an HTTP POST request to send to the server at the specified host and port, specifying a response handler to receive
the response
|
Single<HttpClientResponse> |
rxPost(int port,
String host,
String requestURI,
Flowable<Buffer> body)
Sends an HTTP POST request to send to the server at the specified host and port, specifying a response handler to receive
the response
|
Single<HttpClientResponse> |
rxPost(int port,
String host,
String requestURI,
MultiMap headers,
Buffer body)
Sends an HTTP POST request to send to the server at the specified host and port, specifying a response handler to receive
the response
|
Single<HttpClientResponse> |
rxPost(int port,
String host,
String requestURI,
MultiMap headers,
Flowable<Buffer> body)
Sends an HTTP POST request to send to the server at the specified host and port, specifying a response handler to receive
the response
|
Single<HttpClientResponse> |
rxPost(int port,
String host,
String requestURI,
MultiMap headers,
Observable<Buffer> body)
Sends an HTTP POST request to send to the server at the specified host and port, specifying a response handler to receive
the response
|
Single<HttpClientResponse> |
rxPost(int port,
String host,
String requestURI,
MultiMap headers,
ReadStream<Buffer> body)
Sends an HTTP POST request to send to the server at the specified host and port, specifying a response handler to receive
the response
|
Single<HttpClientResponse> |
rxPost(int port,
String host,
String requestURI,
Observable<Buffer> body)
Sends an HTTP POST request to send to the server at the specified host and port, specifying a response handler to receive
the response
|
Single<HttpClientResponse> |
rxPost(int port,
String host,
String requestURI,
ReadStream<Buffer> body)
Sends an HTTP POST request to send to the server at the specified host and port, specifying a response handler to receive
the response
|
Single<HttpClientResponse> |
rxPost(RequestOptions options,
Buffer body)
Sends an HTTP POST request to send to the server with the specified options, specifying a response handler to receive
the response
|
Single<HttpClientResponse> |
rxPost(RequestOptions options,
Flowable<Buffer> body)
Sends an HTTP POST request to send to the server with the specified options, specifying a response handler to receive
the response
|
Single<HttpClientResponse> |
rxPost(RequestOptions options,
Observable<Buffer> body)
Sends an HTTP POST request to send to the server with the specified options, specifying a response handler to receive
the response
|
Single<HttpClientResponse> |
rxPost(RequestOptions options,
ReadStream<Buffer> body)
Sends an HTTP POST request to send to the server with the specified options, specifying a response handler to receive
the response
|
Single<HttpClientResponse> |
rxPost(String requestURI,
Buffer body)
Sends an HTTP POST request to send to the server at the default host and port, specifying a response handler to receive
the response
|
Single<HttpClientResponse> |
rxPost(String requestURI,
Flowable<Buffer> body)
Sends an HTTP POST request to send to the server at the default host and port, specifying a response handler to receive
the response
|
Single<HttpClientResponse> |
rxPost(String requestURI,
MultiMap headers,
Buffer body)
Sends an HTTP POST request to send to the server at the default host and port, specifying a response handler to receive
the response
|
Single<HttpClientResponse> |
rxPost(String requestURI,
MultiMap headers,
Flowable<Buffer> body)
Sends an HTTP POST request to send to the server at the default host and port, specifying a response handler to receive
the response
|
Single<HttpClientResponse> |
rxPost(String requestURI,
MultiMap headers,
Observable<Buffer> body)
Sends an HTTP POST request to send to the server at the default host and port, specifying a response handler to receive
the response
|
Single<HttpClientResponse> |
rxPost(String requestURI,
MultiMap headers,
ReadStream<Buffer> body)
Sends an HTTP POST request to send to the server at the default host and port, specifying a response handler to receive
the response
|
Single<HttpClientResponse> |
rxPost(String requestURI,
Observable<Buffer> body)
Sends an HTTP POST request to send to the server at the default host and port, specifying a response handler to receive
the response
|
Single<HttpClientResponse> |
rxPost(String requestURI,
ReadStream<Buffer> body)
Sends an HTTP POST request to send to the server at the default host and port, specifying a response handler to receive
the response
|
Single<HttpClientResponse> |
rxPost(String host,
String requestURI,
Buffer body)
Sends an HTTP POST request to send to the server at the specified host and default port, specifying a response handler to receive
the response
|
Single<HttpClientResponse> |
rxPost(String host,
String requestURI,
Flowable<Buffer> body)
Sends an HTTP POST request to send to the server at the specified host and default port, specifying a response handler to receive
the response
|
Single<HttpClientResponse> |
rxPost(String host,
String requestURI,
MultiMap headers,
Buffer body)
Sends an HTTP POST request to send to the server at the specified host and default port, specifying a response handler to receive
the response
|
Single<HttpClientResponse> |
rxPost(String host,
String requestURI,
MultiMap headers,
Flowable<Buffer> body)
Sends an HTTP POST request to send to the server at the specified host and default port, specifying a response handler to receive
the response
|
Single<HttpClientResponse> |
rxPost(String host,
String requestURI,
MultiMap headers,
Observable<Buffer> body)
Sends an HTTP POST request to send to the server at the specified host and default port, specifying a response handler to receive
the response
|
Single<HttpClientResponse> |
rxPost(String host,
String requestURI,
MultiMap headers,
ReadStream<Buffer> body)
Sends an HTTP POST request to send to the server at the specified host and default port, specifying a response handler to receive
the response
|
Single<HttpClientResponse> |
rxPost(String host,
String requestURI,
Observable<Buffer> body)
Sends an HTTP POST request to send to the server at the specified host and default port, specifying a response handler to receive
the response
|
Single<HttpClientResponse> |
rxPost(String host,
String requestURI,
ReadStream<Buffer> body)
Sends an HTTP POST request to send to the server at the specified host and default port, specifying a response handler to receive
the response
|
Single<HttpClientResponse> |
rxPut(int port,
String host,
String requestURI,
Buffer body)
Sends an HTTP PUT request to send to the server at the specified host and port, specifying a response handler to receive
the response
|
Single<HttpClientResponse> |
rxPut(int port,
String host,
String requestURI,
Flowable<Buffer> body)
Sends an HTTP PUT request to send to the server at the specified host and port, specifying a response handler to receive
the response
|
Single<HttpClientResponse> |
rxPut(int port,
String host,
String requestURI,
MultiMap headers,
Buffer body)
Sends an HTTP PUT request to send to the server at the specified host and port, specifying a response handler to receive
the response
|
Single<HttpClientResponse> |
rxPut(int port,
String host,
String requestURI,
MultiMap headers,
Flowable<Buffer> body)
Sends an HTTP PUT request to send to the server at the specified host and port, specifying a response handler to receive
the response
|
Single<HttpClientResponse> |
rxPut(int port,
String host,
String requestURI,
MultiMap headers,
Observable<Buffer> body)
Sends an HTTP PUT request to send to the server at the specified host and port, specifying a response handler to receive
the response
|
Single<HttpClientResponse> |
rxPut(int port,
String host,
String requestURI,
MultiMap headers,
ReadStream<Buffer> body)
Sends an HTTP PUT request to send to the server at the specified host and port, specifying a response handler to receive
the response
|
Single<HttpClientResponse> |
rxPut(int port,
String host,
String requestURI,
Observable<Buffer> body)
Sends an HTTP PUT request to send to the server at the specified host and port, specifying a response handler to receive
the response
|
Single<HttpClientResponse> |
rxPut(int port,
String host,
String requestURI,
ReadStream<Buffer> body)
Sends an HTTP PUT request to send to the server at the specified host and port, specifying a response handler to receive
the response
|
Single<HttpClientResponse> |
rxPut(RequestOptions options,
Buffer body)
Sends an HTTP PUT request to send to the server with the specified options, specifying a response handler to receive
the response
|
Single<HttpClientResponse> |
rxPut(RequestOptions options,
Flowable<Buffer> body)
Sends an HTTP PUT request to send to the server with the specified options, specifying a response handler to receive
the response
|
Single<HttpClientResponse> |
rxPut(RequestOptions options,
Observable<Buffer> body)
Sends an HTTP PUT request to send to the server with the specified options, specifying a response handler to receive
the response
|
Single<HttpClientResponse> |
rxPut(RequestOptions options,
ReadStream<Buffer> body)
Sends an HTTP PUT request to send to the server with the specified options, specifying a response handler to receive
the response
|
Single<HttpClientResponse> |
rxPut(String requestURI,
Buffer body)
Sends an HTTP PUT request to send to the server at the default host and port, specifying a response handler to receive
the response
|
Single<HttpClientResponse> |
rxPut(String requestURI,
Flowable<Buffer> body)
Sends an HTTP PUT request to send to the server at the default host and port, specifying a response handler to receive
the response
|
Single<HttpClientResponse> |
rxPut(String requestURI,
MultiMap headers,
Buffer body)
Sends an HTTP PUT request to send to the server at the default host and port, specifying a response handler to receive
the response
|
Single<HttpClientResponse> |
rxPut(String requestURI,
MultiMap headers,
Flowable<Buffer> body)
Sends an HTTP PUT request to send to the server at the default host and port, specifying a response handler to receive
the response
|
Single<HttpClientResponse> |
rxPut(String requestURI,
MultiMap headers,
Observable<Buffer> body)
Sends an HTTP PUT request to send to the server at the default host and port, specifying a response handler to receive
the response
|
Single<HttpClientResponse> |
rxPut(String requestURI,
MultiMap headers,
ReadStream<Buffer> body)
Sends an HTTP PUT request to send to the server at the default host and port, specifying a response handler to receive
the response
|
Single<HttpClientResponse> |
rxPut(String requestURI,
Observable<Buffer> body)
Sends an HTTP PUT request to send to the server at the default host and port, specifying a response handler to receive
the response
|
Single<HttpClientResponse> |
rxPut(String requestURI,
ReadStream<Buffer> body)
Sends an HTTP PUT request to send to the server at the default host and port, specifying a response handler to receive
the response
|
Single<HttpClientResponse> |
rxPut(String host,
String requestURI,
Buffer body)
Sends an HTTP PUT request to send to the server at the specified host and default port, specifying a response handler to receive
the response
|
Single<HttpClientResponse> |
rxPut(String host,
String requestURI,
Flowable<Buffer> body)
Sends an HTTP PUT request to send to the server at the specified host and default port, specifying a response handler to receive
the response
|
Single<HttpClientResponse> |
rxPut(String host,
String requestURI,
MultiMap headers,
Buffer body)
Sends an HTTP PUT request to send to the server at the specified host and default port, specifying a response handler to receive
the response
|
Single<HttpClientResponse> |
rxPut(String host,
String requestURI,
MultiMap headers,
Flowable<Buffer> body)
Sends an HTTP PUT request to send to the server at the specified host and default port, specifying a response handler to receive
the response
|
Single<HttpClientResponse> |
rxPut(String host,
String requestURI,
MultiMap headers,
Observable<Buffer> body)
Sends an HTTP PUT request to send to the server at the specified host and default port, specifying a response handler to receive
the response
|
Single<HttpClientResponse> |
rxPut(String host,
String requestURI,
MultiMap headers,
ReadStream<Buffer> body)
Sends an HTTP PUT request to send to the server at the specified host and default port, specifying a response handler to receive
the response
|
Single<HttpClientResponse> |
rxPut(String host,
String requestURI,
Observable<Buffer> body)
Sends an HTTP PUT request to send to the server at the specified host and default port, specifying a response handler to receive
the response
|
Single<HttpClientResponse> |
rxPut(String host,
String requestURI,
ReadStream<Buffer> body)
Sends an HTTP PUT request to send to the server at the specified host and default port, specifying a response handler to receive
the response
|
Single<HttpClientResponse> |
rxSend(HttpMethod method,
int port,
String host,
String requestURI)
Sends an HTTP request to send to the server at the specified host and port, specifying a response handler to receive
the response
|
Single<HttpClientResponse> |
rxSend(HttpMethod method,
int port,
String host,
String requestURI,
Buffer body)
Sends an HTTP request to send to the server at the specified host and port, specifying a response handler to receive
the response
|
Single<HttpClientResponse> |
rxSend(HttpMethod method,
int port,
String host,
String requestURI,
Flowable<Buffer> body)
Sends an HTTP request to send to the server at the specified host and port, specifying a response handler to receive
the response
|
Single<HttpClientResponse> |
rxSend(HttpMethod method,
int port,
String host,
String requestURI,
MultiMap headers)
Sends an HTTP request to send to the server at the specified host and port, specifying a response handler to receive
the response
|
Single<HttpClientResponse> |
rxSend(HttpMethod method,
int port,
String host,
String requestURI,
MultiMap headers,
Buffer body)
Sends an HTTP request to send to the server at the specified host and port, specifying a response handler to receive
the response
|
Single<HttpClientResponse> |
rxSend(HttpMethod method,
int port,
String host,
String requestURI,
MultiMap headers,
Flowable<Buffer> body)
Sends an HTTP request to send to the server at the specified host and port, specifying a response handler to receive
the response
|
Single<HttpClientResponse> |
rxSend(HttpMethod method,
int port,
String host,
String requestURI,
MultiMap headers,
Observable<Buffer> body)
Sends an HTTP request to send to the server at the specified host and port, specifying a response handler to receive
the response
|
Single<HttpClientResponse> |
rxSend(HttpMethod method,
int port,
String host,
String requestURI,
MultiMap headers,
ReadStream<Buffer> body)
Sends an HTTP request to send to the server at the specified host and port, specifying a response handler to receive
the response
|
Single<HttpClientResponse> |
rxSend(HttpMethod method,
int port,
String host,
String requestURI,
Observable<Buffer> body)
Sends an HTTP request to send to the server at the specified host and port, specifying a response handler to receive
the response
|
Single<HttpClientResponse> |
rxSend(HttpMethod method,
int port,
String host,
String requestURI,
ReadStream<Buffer> body)
Sends an HTTP request to send to the server at the specified host and port, specifying a response handler to receive
the response
|
Single<HttpClientResponse> |
rxSend(HttpMethod method,
String requestURI)
Sends an HTTP request to send to the server at the default host and port, specifying a response handler to receive
the response
|
Single<HttpClientResponse> |
rxSend(HttpMethod method,
String requestURI,
Buffer body)
Sends an HTTP request to send to the server at the default host and port, specifying a response handler to receive
the response
|
Single<HttpClientResponse> |
rxSend(HttpMethod method,
String requestURI,
Flowable<Buffer> body)
Sends an HTTP request to send to the server at the default host and port, specifying a response handler to receive
the response
|
Single<HttpClientResponse> |
rxSend(HttpMethod method,
String requestURI,
MultiMap headers)
Sends an HTTP request to send to the server at the default host and port, specifying a response handler to receive
the response
|
Single<HttpClientResponse> |
rxSend(HttpMethod method,
String requestURI,
MultiMap headers,
Buffer body)
Sends an HTTP request to send to the server at the default host and port, specifying a response handler to receive
the response
|
Single<HttpClientResponse> |
rxSend(HttpMethod method,
String requestURI,
MultiMap headers,
Flowable<Buffer> body)
Sends an HTTP request to send to the server at the default host and port, specifying a response handler to receive
the response
|
Single<HttpClientResponse> |
rxSend(HttpMethod method,
String requestURI,
MultiMap headers,
Observable<Buffer> body)
Sends an HTTP request to send to the server at the default host and port, specifying a response handler to receive
the response
|
Single<HttpClientResponse> |
rxSend(HttpMethod method,
String requestURI,
MultiMap headers,
ReadStream<Buffer> body)
Sends an HTTP request to send to the server at the default host and port, specifying a response handler to receive
the response
|
Single<HttpClientResponse> |
rxSend(HttpMethod method,
String requestURI,
Observable<Buffer> body)
Sends an HTTP request to send to the server at the default host and port, specifying a response handler to receive
the response
|
Single<HttpClientResponse> |
rxSend(HttpMethod method,
String requestURI,
ReadStream<Buffer> body)
Sends an HTTP request to send to the server at the default host and port, specifying a response handler to receive
the response
|
Single<HttpClientResponse> |
rxSend(HttpMethod method,
String host,
String requestURI)
Sends an HTTP request to send to the server at the specified host and default port, specifying a response handler to receive
the response
|
Single<HttpClientResponse> |
rxSend(HttpMethod method,
String host,
String requestURI,
Buffer body)
Sends an HTTP request to send to the server at the specified host and default port, specifying a response handler to receive
the response
|
Single<HttpClientResponse> |
rxSend(HttpMethod method,
String host,
String requestURI,
Flowable<Buffer> body)
Sends an HTTP request to send to the server at the specified host and default port, specifying a response handler to receive
the response
|
Single<HttpClientResponse> |
rxSend(HttpMethod method,
String host,
String requestURI,
MultiMap headers)
Sends an HTTP request to send to the server at the specified host and default port, specifying a response handler to receive
the response
|
Single<HttpClientResponse> |
rxSend(HttpMethod method,
String host,
String requestURI,
MultiMap headers,
Buffer body)
Sends an HTTP request to send to the server at the specified host and default port, specifying a response handler to receive
the response
|
Single<HttpClientResponse> |
rxSend(HttpMethod method,
String host,
String requestURI,
MultiMap headers,
Flowable<Buffer> body)
Sends an HTTP request to send to the server at the specified host and default port, specifying a response handler to receive
the response
|
Single<HttpClientResponse> |
rxSend(HttpMethod method,
String host,
String requestURI,
MultiMap headers,
Observable<Buffer> body)
Sends an HTTP request to send to the server at the specified host and default port, specifying a response handler to receive
the response
|
Single<HttpClientResponse> |
rxSend(HttpMethod method,
String host,
String requestURI,
MultiMap headers,
ReadStream<Buffer> body)
Sends an HTTP request to send to the server at the specified host and default port, specifying a response handler to receive
the response
|
Single<HttpClientResponse> |
rxSend(HttpMethod method,
String host,
String requestURI,
Observable<Buffer> body)
Sends an HTTP request to send to the server at the specified host and default port, specifying a response handler to receive
the response
|
Single<HttpClientResponse> |
rxSend(HttpMethod method,
String host,
String requestURI,
ReadStream<Buffer> body)
Sends an HTTP request to send to the server at the specified host and default port, specifying a response handler to receive
the response
|
Single<HttpClientResponse> |
rxSend(RequestOptions options)
Sends an HTTP request to send to the server with the specified options, specifying a response handler to receive
the response
|
Single<HttpClientResponse> |
rxSend(RequestOptions options,
Buffer body)
Sends an HTTP request to send to the server with the specified options, specifying a response handler to receive
the response
|
Single<HttpClientResponse> |
rxSend(RequestOptions options,
Flowable<Buffer> body)
Sends an HTTP request to send to the server with the specified options, specifying a response handler to receive
the response
|
Single<HttpClientResponse> |
rxSend(RequestOptions options,
Observable<Buffer> body)
Sends an HTTP request to send to the server with the specified options, specifying a response handler to receive
the response
|
Single<HttpClientResponse> |
rxSend(RequestOptions options,
ReadStream<Buffer> body)
Sends an HTTP request to send to the server with the specified options, specifying a response handler to receive
the response
|
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.
|
void |
send(HttpMethod method,
int port,
String host,
String requestURI)
Sends an HTTP request to send to the server at the specified host and port, specifying a response handler to receive
the response
|
void |
send(HttpMethod method,
int port,
String host,
String requestURI,
Buffer body)
Sends an HTTP request to send to the server at the specified host and port, specifying a response handler to receive
the response
|
void |
send(HttpMethod method,
int port,
String host,
String requestURI,
Buffer body,
Handler<AsyncResult<HttpClientResponse>> responseHandler)
Sends an HTTP request to send to the server at the specified host and port, specifying a response handler to receive
the response
|
void |
send(HttpMethod method,
int port,
String host,
String requestURI,
Flowable<Buffer> body)
Sends an HTTP request to send to the server at the specified host and port, specifying a response handler to receive
the response
|
void |
send(HttpMethod method,
int port,
String host,
String requestURI,
Flowable<Buffer> body,
Handler<AsyncResult<HttpClientResponse>> responseHandler)
Sends an HTTP request to send to the server at the specified host and port, specifying a response handler to receive
the response
|
void |
send(HttpMethod method,
int port,
String host,
String requestURI,
Handler<AsyncResult<HttpClientResponse>> responseHandler)
Sends an HTTP request to send to the server at the specified host and port, specifying a response handler to receive
the response
|
void |
send(HttpMethod method,
int port,
String host,
String requestURI,
MultiMap headers)
Sends an HTTP request to send to the server at the specified host and port, specifying a response handler to receive
the response
|
void |
send(HttpMethod method,
int port,
String host,
String requestURI,
MultiMap headers,
Buffer body)
Sends an HTTP request to send to the server at the specified host and port, specifying a response handler to receive
the response
|
void |
send(HttpMethod method,
int port,
String host,
String requestURI,
MultiMap headers,
Buffer body,
Handler<AsyncResult<HttpClientResponse>> responseHandler)
Sends an HTTP request to send to the server at the specified host and port, specifying a response handler to receive
the response
|
void |
send(HttpMethod method,
int port,
String host,
String requestURI,
MultiMap headers,
Flowable<Buffer> body)
Sends an HTTP request to send to the server at the specified host and port, specifying a response handler to receive
the response
|
void |
send(HttpMethod method,
int port,
String host,
String requestURI,
MultiMap headers,
Flowable<Buffer> body,
Handler<AsyncResult<HttpClientResponse>> responseHandler)
Sends an HTTP request to send to the server at the specified host and port, specifying a response handler to receive
the response
|
void |
send(HttpMethod method,
int port,
String host,
String requestURI,
MultiMap headers,
Handler<AsyncResult<HttpClientResponse>> responseHandler)
Sends an HTTP request to send to the server at the specified host and port, specifying a response handler to receive
the response
|
void |
send(HttpMethod method,
int port,
String host,
String requestURI,
MultiMap headers,
Observable<Buffer> body)
Sends an HTTP request to send to the server at the specified host and port, specifying a response handler to receive
the response
|
void |
send(HttpMethod method,
int port,
String host,
String requestURI,
MultiMap headers,
Observable<Buffer> body,
Handler<AsyncResult<HttpClientResponse>> responseHandler)
Sends an HTTP request to send to the server at the specified host and port, specifying a response handler to receive
the response
|
void |
send(HttpMethod method,
int port,
String host,
String requestURI,
MultiMap headers,
ReadStream<Buffer> body)
Sends an HTTP request to send to the server at the specified host and port, specifying a response handler to receive
the response
|
void |
send(HttpMethod method,
int port,
String host,
String requestURI,
MultiMap headers,
ReadStream<Buffer> body,
Handler<AsyncResult<HttpClientResponse>> responseHandler)
Sends an HTTP request to send to the server at the specified host and port, specifying a response handler to receive
the response
|
void |
send(HttpMethod method,
int port,
String host,
String requestURI,
Observable<Buffer> body)
Sends an HTTP request to send to the server at the specified host and port, specifying a response handler to receive
the response
|
void |
send(HttpMethod method,
int port,
String host,
String requestURI,
Observable<Buffer> body,
Handler<AsyncResult<HttpClientResponse>> responseHandler)
Sends an HTTP request to send to the server at the specified host and port, specifying a response handler to receive
the response
|
void |
send(HttpMethod method,
int port,
String host,
String requestURI,
ReadStream<Buffer> body)
Sends an HTTP request to send to the server at the specified host and port, specifying a response handler to receive
the response
|
void |
send(HttpMethod method,
int port,
String host,
String requestURI,
ReadStream<Buffer> body,
Handler<AsyncResult<HttpClientResponse>> responseHandler)
Sends an HTTP request to send to the server at the specified host and port, specifying a response handler to receive
the response
|
void |
send(HttpMethod method,
String requestURI)
Sends an HTTP request to send to the server at the default host and port, specifying a response handler to receive
the response
|
void |
send(HttpMethod method,
String requestURI,
Buffer body)
Sends an HTTP request to send to the server at the default host and port, specifying a response handler to receive
the response
|
void |
send(HttpMethod method,
String requestURI,
Buffer body,
Handler<AsyncResult<HttpClientResponse>> responseHandler)
Sends an HTTP request to send to the server at the default host and port, specifying a response handler to receive
the response
|
void |
send(HttpMethod method,
String requestURI,
Flowable<Buffer> body)
Sends an HTTP request to send to the server at the default host and port, specifying a response handler to receive
the response
|
void |
send(HttpMethod method,
String requestURI,
Flowable<Buffer> body,
Handler<AsyncResult<HttpClientResponse>> responseHandler)
Sends an HTTP request to send to the server at the default host and port, specifying a response handler to receive
the response
|
void |
send(HttpMethod method,
String requestURI,
Handler<AsyncResult<HttpClientResponse>> responseHandler)
Sends an HTTP request to send to the server at the default host and port, specifying a response handler to receive
the response
|
void |
send(HttpMethod method,
String requestURI,
MultiMap headers)
Sends an HTTP request to send to the server at the default host and port, specifying a response handler to receive
the response
|
void |
send(HttpMethod method,
String requestURI,
MultiMap headers,
Buffer body)
Sends an HTTP request to send to the server at the default host and port, specifying a response handler to receive
the response
|
void |
send(HttpMethod method,
String requestURI,
MultiMap headers,
Buffer body,
Handler<AsyncResult<HttpClientResponse>> responseHandler)
Sends an HTTP request to send to the server at the default host and port, specifying a response handler to receive
the response
|
void |
send(HttpMethod method,
String requestURI,
MultiMap headers,
Flowable<Buffer> body)
Sends an HTTP request to send to the server at the default host and port, specifying a response handler to receive
the response
|
void |
send(HttpMethod method,
String requestURI,
MultiMap headers,
Flowable<Buffer> body,
Handler<AsyncResult<HttpClientResponse>> responseHandler)
Sends an HTTP request to send to the server at the default host and port, specifying a response handler to receive
the response
|
void |
send(HttpMethod method,
String requestURI,
MultiMap headers,
Handler<AsyncResult<HttpClientResponse>> responseHandler)
Sends an HTTP request to send to the server at the default host and port, specifying a response handler to receive
the response
|
void |
send(HttpMethod method,
String requestURI,
MultiMap headers,
Observable<Buffer> body)
Sends an HTTP request to send to the server at the default host and port, specifying a response handler to receive
the response
|
void |
send(HttpMethod method,
String requestURI,
MultiMap headers,
Observable<Buffer> body,
Handler<AsyncResult<HttpClientResponse>> responseHandler)
Sends an HTTP request to send to the server at the default host and port, specifying a response handler to receive
the response
|
void |
send(HttpMethod method,
String requestURI,
MultiMap headers,
ReadStream<Buffer> body)
Sends an HTTP request to send to the server at the default host and port, specifying a response handler to receive
the response
|
void |
send(HttpMethod method,
String requestURI,
MultiMap headers,
ReadStream<Buffer> body,
Handler<AsyncResult<HttpClientResponse>> responseHandler)
Sends an HTTP request to send to the server at the default host and port, specifying a response handler to receive
the response
|
void |
send(HttpMethod method,
String requestURI,
Observable<Buffer> body)
Sends an HTTP request to send to the server at the default host and port, specifying a response handler to receive
the response
|
void |
send(HttpMethod method,
String requestURI,
Observable<Buffer> body,
Handler<AsyncResult<HttpClientResponse>> responseHandler)
Sends an HTTP request to send to the server at the default host and port, specifying a response handler to receive
the response
|
void |
send(HttpMethod method,
String requestURI,
ReadStream<Buffer> body)
Sends an HTTP request to send to the server at the default host and port, specifying a response handler to receive
the response
|
void |
send(HttpMethod method,
String requestURI,
ReadStream<Buffer> body,
Handler<AsyncResult<HttpClientResponse>> responseHandler)
Sends an HTTP request to send to the server at the default host and port, specifying a response handler to receive
the response
|
void |
send(HttpMethod method,
String host,
String requestURI)
Sends an HTTP request to send to the server at the specified host and default port, specifying a response handler to receive
the response
|
void |
send(HttpMethod method,
String host,
String requestURI,
Buffer body)
Sends an HTTP request to send to the server at the specified host and default port, specifying a response handler to receive
the response
|
void |
send(HttpMethod method,
String host,
String requestURI,
Buffer body,
Handler<AsyncResult<HttpClientResponse>> responseHandler)
Sends an HTTP request to send to the server at the specified host and default port, specifying a response handler to receive
the response
|
void |
send(HttpMethod method,
String host,
String requestURI,
Flowable<Buffer> body)
Sends an HTTP request to send to the server at the specified host and default port, specifying a response handler to receive
the response
|
void |
send(HttpMethod method,
String host,
String requestURI,
Flowable<Buffer> body,
Handler<AsyncResult<HttpClientResponse>> responseHandler)
Sends an HTTP request to send to the server at the specified host and default port, specifying a response handler to receive
the response
|
void |
send(HttpMethod method,
String host,
String requestURI,
Handler<AsyncResult<HttpClientResponse>> responseHandler)
Sends an HTTP request to send to the server at the specified host and default port, specifying a response handler to receive
the response
|
void |
send(HttpMethod method,
String host,
String requestURI,
MultiMap headers)
Sends an HTTP request to send to the server at the specified host and default port, specifying a response handler to receive
the response
|
void |
send(HttpMethod method,
String host,
String requestURI,
MultiMap headers,
Buffer body)
Sends an HTTP request to send to the server at the specified host and default port, specifying a response handler to receive
the response
|
void |
send(HttpMethod method,
String host,
String requestURI,
MultiMap headers,
Buffer body,
Handler<AsyncResult<HttpClientResponse>> responseHandler)
Sends an HTTP request to send to the server at the specified host and default port, specifying a response handler to receive
the response
|
void |
send(HttpMethod method,
String host,
String requestURI,
MultiMap headers,
Flowable<Buffer> body)
Sends an HTTP request to send to the server at the specified host and default port, specifying a response handler to receive
the response
|
void |
send(HttpMethod method,
String host,
String requestURI,
MultiMap headers,
Flowable<Buffer> body,
Handler<AsyncResult<HttpClientResponse>> responseHandler)
Sends an HTTP request to send to the server at the specified host and default port, specifying a response handler to receive
the response
|
void |
send(HttpMethod method,
String host,
String requestURI,
MultiMap headers,
Handler<AsyncResult<HttpClientResponse>> responseHandler)
Sends an HTTP request to send to the server at the specified host and default port, specifying a response handler to receive
the response
|
void |
send(HttpMethod method,
String host,
String requestURI,
MultiMap headers,
Observable<Buffer> body)
Sends an HTTP request to send to the server at the specified host and default port, specifying a response handler to receive
the response
|
void |
send(HttpMethod method,
String host,
String requestURI,
MultiMap headers,
Observable<Buffer> body,
Handler<AsyncResult<HttpClientResponse>> responseHandler)
Sends an HTTP request to send to the server at the specified host and default port, specifying a response handler to receive
the response
|
void |
send(HttpMethod method,
String host,
String requestURI,
MultiMap headers,
ReadStream<Buffer> body)
Sends an HTTP request to send to the server at the specified host and default port, specifying a response handler to receive
the response
|
void |
send(HttpMethod method,
String host,
String requestURI,
MultiMap headers,
ReadStream<Buffer> body,
Handler<AsyncResult<HttpClientResponse>> responseHandler)
Sends an HTTP request to send to the server at the specified host and default port, specifying a response handler to receive
the response
|
void |
send(HttpMethod method,
String host,
String requestURI,
Observable<Buffer> body)
Sends an HTTP request to send to the server at the specified host and default port, specifying a response handler to receive
the response
|
void |
send(HttpMethod method,
String host,
String requestURI,
Observable<Buffer> body,
Handler<AsyncResult<HttpClientResponse>> responseHandler)
Sends an HTTP request to send to the server at the specified host and default port, specifying a response handler to receive
the response
|
void |
send(HttpMethod method,
String host,
String requestURI,
ReadStream<Buffer> body)
Sends an HTTP request to send to the server at the specified host and default port, specifying a response handler to receive
the response
|
void |
send(HttpMethod method,
String host,
String requestURI,
ReadStream<Buffer> body,
Handler<AsyncResult<HttpClientResponse>> responseHandler)
Sends an HTTP request to send to the server at the specified host and default port, specifying a response handler to receive
the response
|
void |
send(RequestOptions options)
Sends an HTTP request to send to the server with the specified options, specifying a response handler to receive
the response
|
void |
send(RequestOptions options,
Buffer body)
Sends an HTTP request to send to the server with the specified options, specifying a response handler to receive
the response
|
void |
send(RequestOptions options,
Buffer body,
Handler<AsyncResult<HttpClientResponse>> responseHandler)
Sends an HTTP request to send to the server with the specified options, specifying a response handler to receive
the response
|
void |
send(RequestOptions options,
Flowable<Buffer> body)
Sends an HTTP request to send to the server with the specified options, specifying a response handler to receive
the response
|
void |
send(RequestOptions options,
Flowable<Buffer> body,
Handler<AsyncResult<HttpClientResponse>> responseHandler)
Sends an HTTP request to send to the server with the specified options, specifying a response handler to receive
the response
|
void |
send(RequestOptions options,
Handler<AsyncResult<HttpClientResponse>> responseHandler)
Sends an HTTP request to send to the server with the specified options, specifying a response handler to receive
the response
|
void |
send(RequestOptions options,
Observable<Buffer> body)
Sends an HTTP request to send to the server with the specified options, specifying a response handler to receive
the response
|
void |
send(RequestOptions options,
Observable<Buffer> body,
Handler<AsyncResult<HttpClientResponse>> responseHandler)
Sends an HTTP request to send to the server with the specified options, specifying a response handler to receive
the response
|
void |
send(RequestOptions options,
ReadStream<Buffer> body)
Sends an HTTP request to send to the server with the specified options, specifying a response handler to receive
the response
|
void |
send(RequestOptions options,
ReadStream<Buffer> body,
Handler<AsyncResult<HttpClientResponse>> responseHandler)
Sends an HTTP request to send to the server with the specified options, specifying a response handler to receive
the response
|
String |
toString() |
void |
webSocket(int port,
String host,
String requestURI)
Connect a WebSocket to the specified port, host and relative request URI
|
void |
webSocket(int port,
String host,
String requestURI,
Handler<AsyncResult<WebSocket>> handler)
Connect a WebSocket to the specified port, host and relative request URI
|
void |
webSocket(String requestURI)
Connect a WebSocket at the relative request URI using the default host and port
|
void |
webSocket(String requestURI,
Handler<AsyncResult<WebSocket>> handler)
Connect a WebSocket at the relative request URI using the default host and port
|
void |
webSocket(String host,
String requestURI)
Connect a WebSocket to the host and relative request URI and default port
|
void |
webSocket(String host,
String requestURI,
Handler<AsyncResult<WebSocket>> handler)
Connect a WebSocket to the host and relative request URI and default port
|
void |
webSocket(WebSocketConnectOptions options)
Connect a WebSocket with the specified options.
|
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)
Connect a WebSocket with the specified absolute url, with the specified headers, using
the specified version of WebSockets, and the specified WebSocket sub protocols.
|
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.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitnewInstancepublic static final io.vertx.lang.rx.TypeArg<HttpClient> __TYPE_ARG
public HttpClient(HttpClient delegate)
public HttpClient(Object delegate)
public HttpClient getDelegate()
getDelegate in interface Measuredpublic boolean isMetricsEnabled()
isMetricsEnabled in interface Measuredtrue if metrics are enabledpublic void send(RequestOptions options, Handler<AsyncResult<HttpClientResponse>> responseHandler)
options - the request optionsresponseHandler - the response handlerpublic void send(RequestOptions options)
options - the request optionspublic Single<HttpClientResponse> rxSend(RequestOptions options)
options - the request optionspublic void send(RequestOptions options, Buffer body, Handler<AsyncResult<HttpClientResponse>> responseHandler)
options - the request optionsbody - the request bodyresponseHandler - the response handlerpublic void send(RequestOptions options, Buffer body)
options - the request optionsbody - the request bodypublic Single<HttpClientResponse> rxSend(RequestOptions options, Buffer body)
options - the request optionsbody - the request bodypublic void send(RequestOptions options, ReadStream<Buffer> body, Handler<AsyncResult<HttpClientResponse>> responseHandler)
options - the request optionsbody - the request bodyresponseHandler - the response handlerpublic void send(RequestOptions options, ReadStream<Buffer> body)
options - the request optionsbody - the request bodypublic Single<HttpClientResponse> rxSend(RequestOptions options, ReadStream<Buffer> body)
options - the request optionsbody - the request bodypublic void send(RequestOptions options, Flowable<Buffer> body, Handler<AsyncResult<HttpClientResponse>> responseHandler)
options - the request optionsbody - the request bodyresponseHandler - the response handlerpublic void send(RequestOptions options, Flowable<Buffer> body)
options - the request optionsbody - the request bodypublic Single<HttpClientResponse> rxSend(RequestOptions options, Flowable<Buffer> body)
options - the request optionsbody - the request bodypublic void send(RequestOptions options, Observable<Buffer> body, Handler<AsyncResult<HttpClientResponse>> responseHandler)
options - the request optionsbody - the request bodyresponseHandler - the response handlerpublic void send(RequestOptions options, Observable<Buffer> body)
options - the request optionsbody - the request bodypublic Single<HttpClientResponse> rxSend(RequestOptions options, Observable<Buffer> body)
options - the request optionsbody - the request bodypublic void send(HttpMethod method, int port, String host, String requestURI, MultiMap headers, Handler<AsyncResult<HttpClientResponse>> responseHandler)
method - the HTTP methodport - the porthost - the hostrequestURI - the relative URIheaders - the headersresponseHandler - the response handlerpublic void send(HttpMethod method, int port, String host, String requestURI, MultiMap headers)
method - the HTTP methodport - the porthost - the hostrequestURI - the relative URIheaders - the headerspublic Single<HttpClientResponse> rxSend(HttpMethod method, int port, String host, String requestURI, MultiMap headers)
method - the HTTP methodport - the porthost - the hostrequestURI - the relative URIheaders - the headerspublic void send(HttpMethod method, int port, String host, String requestURI, MultiMap headers, Buffer body, Handler<AsyncResult<HttpClientResponse>> responseHandler)
method - the HTTP methodport - the porthost - the hostrequestURI - the relative URIheaders - the headersbody - the request bodyresponseHandler - the response handlerpublic void send(HttpMethod method, int port, String host, String requestURI, MultiMap headers, Buffer body)
method - the HTTP methodport - the porthost - the hostrequestURI - the relative URIheaders - the headersbody - the request bodypublic Single<HttpClientResponse> rxSend(HttpMethod method, int port, String host, String requestURI, MultiMap headers, Buffer body)
method - the HTTP methodport - the porthost - the hostrequestURI - the relative URIheaders - the headersbody - the request bodypublic void send(HttpMethod method, int port, String host, String requestURI, MultiMap headers, ReadStream<Buffer> body, Handler<AsyncResult<HttpClientResponse>> responseHandler)
method - the HTTP methodport - the porthost - the hostrequestURI - the relative URIheaders - the headersbody - the request bodyresponseHandler - the response handlerpublic void send(HttpMethod method, int port, String host, String requestURI, MultiMap headers, ReadStream<Buffer> body)
method - the HTTP methodport - the porthost - the hostrequestURI - the relative URIheaders - the headersbody - the request bodypublic Single<HttpClientResponse> rxSend(HttpMethod method, int port, String host, String requestURI, MultiMap headers, ReadStream<Buffer> body)
method - the HTTP methodport - the porthost - the hostrequestURI - the relative URIheaders - the headersbody - the request bodypublic void send(HttpMethod method, int port, String host, String requestURI, MultiMap headers, Flowable<Buffer> body, Handler<AsyncResult<HttpClientResponse>> responseHandler)
method - the HTTP methodport - the porthost - the hostrequestURI - the relative URIheaders - the headersbody - the request bodyresponseHandler - the response handlerpublic void send(HttpMethod method, int port, String host, String requestURI, MultiMap headers, Flowable<Buffer> body)
method - the HTTP methodport - the porthost - the hostrequestURI - the relative URIheaders - the headersbody - the request bodypublic Single<HttpClientResponse> rxSend(HttpMethod method, int port, String host, String requestURI, MultiMap headers, Flowable<Buffer> body)
method - the HTTP methodport - the porthost - the hostrequestURI - the relative URIheaders - the headersbody - the request bodypublic void send(HttpMethod method, int port, String host, String requestURI, MultiMap headers, Observable<Buffer> body, Handler<AsyncResult<HttpClientResponse>> responseHandler)
method - the HTTP methodport - the porthost - the hostrequestURI - the relative URIheaders - the headersbody - the request bodyresponseHandler - the response handlerpublic void send(HttpMethod method, int port, String host, String requestURI, MultiMap headers, Observable<Buffer> body)
method - the HTTP methodport - the porthost - the hostrequestURI - the relative URIheaders - the headersbody - the request bodypublic Single<HttpClientResponse> rxSend(HttpMethod method, int port, String host, String requestURI, MultiMap headers, Observable<Buffer> body)
method - the HTTP methodport - the porthost - the hostrequestURI - the relative URIheaders - the headersbody - the request bodypublic void send(HttpMethod method, int port, String host, String requestURI, Handler<AsyncResult<HttpClientResponse>> responseHandler)
method - the HTTP methodport - the porthost - the hostrequestURI - the relative URIresponseHandler - the response handlerpublic void send(HttpMethod method, int port, String host, String requestURI)
method - the HTTP methodport - the porthost - the hostrequestURI - the relative URIpublic Single<HttpClientResponse> rxSend(HttpMethod method, int port, String host, String requestURI)
method - the HTTP methodport - the porthost - the hostrequestURI - the relative URIpublic void send(HttpMethod method, int port, String host, String requestURI, Buffer body, Handler<AsyncResult<HttpClientResponse>> responseHandler)
method - the HTTP methodport - the porthost - the hostrequestURI - the relative URIbody - the request bodyresponseHandler - the response handlerpublic void send(HttpMethod method, int port, String host, String requestURI, Buffer body)
method - the HTTP methodport - the porthost - the hostrequestURI - the relative URIbody - the request bodypublic Single<HttpClientResponse> rxSend(HttpMethod method, int port, String host, String requestURI, Buffer body)
method - the HTTP methodport - the porthost - the hostrequestURI - the relative URIbody - the request bodypublic void send(HttpMethod method, int port, String host, String requestURI, ReadStream<Buffer> body, Handler<AsyncResult<HttpClientResponse>> responseHandler)
method - the HTTP methodport - the porthost - the hostrequestURI - the relative URIbody - the request bodyresponseHandler - the response handlerpublic void send(HttpMethod method, int port, String host, String requestURI, ReadStream<Buffer> body)
method - the HTTP methodport - the porthost - the hostrequestURI - the relative URIbody - the request bodypublic Single<HttpClientResponse> rxSend(HttpMethod method, int port, String host, String requestURI, ReadStream<Buffer> body)
method - the HTTP methodport - the porthost - the hostrequestURI - the relative URIbody - the request bodypublic void send(HttpMethod method, int port, String host, String requestURI, Flowable<Buffer> body, Handler<AsyncResult<HttpClientResponse>> responseHandler)
method - the HTTP methodport - the porthost - the hostrequestURI - the relative URIbody - the request bodyresponseHandler - the response handlerpublic void send(HttpMethod method, int port, String host, String requestURI, Flowable<Buffer> body)
method - the HTTP methodport - the porthost - the hostrequestURI - the relative URIbody - the request bodypublic Single<HttpClientResponse> rxSend(HttpMethod method, int port, String host, String requestURI, Flowable<Buffer> body)
method - the HTTP methodport - the porthost - the hostrequestURI - the relative URIbody - the request bodypublic void send(HttpMethod method, int port, String host, String requestURI, Observable<Buffer> body, Handler<AsyncResult<HttpClientResponse>> responseHandler)
method - the HTTP methodport - the porthost - the hostrequestURI - the relative URIbody - the request bodyresponseHandler - the response handlerpublic void send(HttpMethod method, int port, String host, String requestURI, Observable<Buffer> body)
method - the HTTP methodport - the porthost - the hostrequestURI - the relative URIbody - the request bodypublic Single<HttpClientResponse> rxSend(HttpMethod method, int port, String host, String requestURI, Observable<Buffer> body)
method - the HTTP methodport - the porthost - the hostrequestURI - the relative URIbody - the request bodypublic void send(HttpMethod method, String host, String requestURI, MultiMap headers, Handler<AsyncResult<HttpClientResponse>> responseHandler)
method - the HTTP methodhost - the hostrequestURI - the relative URIheaders - the headersresponseHandler - the response handlerpublic void send(HttpMethod method, String host, String requestURI, MultiMap headers)
method - the HTTP methodhost - the hostrequestURI - the relative URIheaders - the headerspublic Single<HttpClientResponse> rxSend(HttpMethod method, String host, String requestURI, MultiMap headers)
method - the HTTP methodhost - the hostrequestURI - the relative URIheaders - the headerspublic void send(HttpMethod method, String host, String requestURI, MultiMap headers, Buffer body, Handler<AsyncResult<HttpClientResponse>> responseHandler)
method - the HTTP methodhost - the hostrequestURI - the relative URIheaders - the headersbody - the request bodyresponseHandler - the response handlerpublic void send(HttpMethod method, String host, String requestURI, MultiMap headers, Buffer body)
method - the HTTP methodhost - the hostrequestURI - the relative URIheaders - the headersbody - the request bodypublic Single<HttpClientResponse> rxSend(HttpMethod method, String host, String requestURI, MultiMap headers, Buffer body)
method - the HTTP methodhost - the hostrequestURI - the relative URIheaders - the headersbody - the request bodypublic void send(HttpMethod method, String host, String requestURI, MultiMap headers, ReadStream<Buffer> body, Handler<AsyncResult<HttpClientResponse>> responseHandler)
method - the HTTP methodhost - the hostrequestURI - the relative URIheaders - the headersbody - the request bodyresponseHandler - the response handlerpublic void send(HttpMethod method, String host, String requestURI, MultiMap headers, ReadStream<Buffer> body)
method - the HTTP methodhost - the hostrequestURI - the relative URIheaders - the headersbody - the request bodypublic Single<HttpClientResponse> rxSend(HttpMethod method, String host, String requestURI, MultiMap headers, ReadStream<Buffer> body)
method - the HTTP methodhost - the hostrequestURI - the relative URIheaders - the headersbody - the request bodypublic void send(HttpMethod method, String host, String requestURI, MultiMap headers, Flowable<Buffer> body, Handler<AsyncResult<HttpClientResponse>> responseHandler)
method - the HTTP methodhost - the hostrequestURI - the relative URIheaders - the headersbody - the request bodyresponseHandler - the response handlerpublic void send(HttpMethod method, String host, String requestURI, MultiMap headers, Flowable<Buffer> body)
method - the HTTP methodhost - the hostrequestURI - the relative URIheaders - the headersbody - the request bodypublic Single<HttpClientResponse> rxSend(HttpMethod method, String host, String requestURI, MultiMap headers, Flowable<Buffer> body)
method - the HTTP methodhost - the hostrequestURI - the relative URIheaders - the headersbody - the request bodypublic void send(HttpMethod method, String host, String requestURI, MultiMap headers, Observable<Buffer> body, Handler<AsyncResult<HttpClientResponse>> responseHandler)
method - the HTTP methodhost - the hostrequestURI - the relative URIheaders - the headersbody - the request bodyresponseHandler - the response handlerpublic void send(HttpMethod method, String host, String requestURI, MultiMap headers, Observable<Buffer> body)
method - the HTTP methodhost - the hostrequestURI - the relative URIheaders - the headersbody - the request bodypublic Single<HttpClientResponse> rxSend(HttpMethod method, String host, String requestURI, MultiMap headers, Observable<Buffer> body)
method - the HTTP methodhost - the hostrequestURI - the relative URIheaders - the headersbody - the request bodypublic void send(HttpMethod method, String host, String requestURI, Handler<AsyncResult<HttpClientResponse>> responseHandler)
method - the HTTP methodhost - the hostrequestURI - the relative URIresponseHandler - the response handlerpublic void send(HttpMethod method, String host, String requestURI)
method - the HTTP methodhost - the hostrequestURI - the relative URIpublic Single<HttpClientResponse> rxSend(HttpMethod method, String host, String requestURI)
method - the HTTP methodhost - the hostrequestURI - the relative URIpublic void send(HttpMethod method, String host, String requestURI, Buffer body, Handler<AsyncResult<HttpClientResponse>> responseHandler)
method - the HTTP methodhost - the hostrequestURI - the relative URIbody - the request bodyresponseHandler - the response handlerpublic void send(HttpMethod method, String host, String requestURI, Buffer body)
method - the HTTP methodhost - the hostrequestURI - the relative URIbody - the request bodypublic Single<HttpClientResponse> rxSend(HttpMethod method, String host, String requestURI, Buffer body)
method - the HTTP methodhost - the hostrequestURI - the relative URIbody - the request bodypublic void send(HttpMethod method, String host, String requestURI, ReadStream<Buffer> body, Handler<AsyncResult<HttpClientResponse>> responseHandler)
method - the HTTP methodhost - the hostrequestURI - the relative URIbody - the request bodyresponseHandler - the response handlerpublic void send(HttpMethod method, String host, String requestURI, ReadStream<Buffer> body)
method - the HTTP methodhost - the hostrequestURI - the relative URIbody - the request bodypublic Single<HttpClientResponse> rxSend(HttpMethod method, String host, String requestURI, ReadStream<Buffer> body)
method - the HTTP methodhost - the hostrequestURI - the relative URIbody - the request bodypublic void send(HttpMethod method, String host, String requestURI, Flowable<Buffer> body, Handler<AsyncResult<HttpClientResponse>> responseHandler)
method - the HTTP methodhost - the hostrequestURI - the relative URIbody - the request bodyresponseHandler - the response handlerpublic void send(HttpMethod method, String host, String requestURI, Flowable<Buffer> body)
method - the HTTP methodhost - the hostrequestURI - the relative URIbody - the request bodypublic Single<HttpClientResponse> rxSend(HttpMethod method, String host, String requestURI, Flowable<Buffer> body)
method - the HTTP methodhost - the hostrequestURI - the relative URIbody - the request bodypublic void send(HttpMethod method, String host, String requestURI, Observable<Buffer> body, Handler<AsyncResult<HttpClientResponse>> responseHandler)
method - the HTTP methodhost - the hostrequestURI - the relative URIbody - the request bodyresponseHandler - the response handlerpublic void send(HttpMethod method, String host, String requestURI, Observable<Buffer> body)
method - the HTTP methodhost - the hostrequestURI - the relative URIbody - the request bodypublic Single<HttpClientResponse> rxSend(HttpMethod method, String host, String requestURI, Observable<Buffer> body)
method - the HTTP methodhost - the hostrequestURI - the relative URIbody - the request bodypublic void send(HttpMethod method, String requestURI, MultiMap headers, Handler<AsyncResult<HttpClientResponse>> responseHandler)
method - the HTTP methodrequestURI - the relative URIheaders - the headersresponseHandler - the response handlerpublic void send(HttpMethod method, String requestURI, MultiMap headers)
method - the HTTP methodrequestURI - the relative URIheaders - the headerspublic Single<HttpClientResponse> rxSend(HttpMethod method, String requestURI, MultiMap headers)
method - the HTTP methodrequestURI - the relative URIheaders - the headerspublic void send(HttpMethod method, String requestURI, MultiMap headers, Buffer body, Handler<AsyncResult<HttpClientResponse>> responseHandler)
method - the HTTP methodrequestURI - the relative URIheaders - the headersbody - the request bodyresponseHandler - the response handlerpublic void send(HttpMethod method, String requestURI, MultiMap headers, Buffer body)
method - the HTTP methodrequestURI - the relative URIheaders - the headersbody - the request bodypublic Single<HttpClientResponse> rxSend(HttpMethod method, String requestURI, MultiMap headers, Buffer body)
method - the HTTP methodrequestURI - the relative URIheaders - the headersbody - the request bodypublic void send(HttpMethod method, String requestURI, MultiMap headers, ReadStream<Buffer> body, Handler<AsyncResult<HttpClientResponse>> responseHandler)
method - the HTTP methodrequestURI - the relative URIheaders - the headersbody - the request bodyresponseHandler - the response handlerpublic void send(HttpMethod method, String requestURI, MultiMap headers, ReadStream<Buffer> body)
method - the HTTP methodrequestURI - the relative URIheaders - the headersbody - the request bodypublic Single<HttpClientResponse> rxSend(HttpMethod method, String requestURI, MultiMap headers, ReadStream<Buffer> body)
method - the HTTP methodrequestURI - the relative URIheaders - the headersbody - the request bodypublic void send(HttpMethod method, String requestURI, MultiMap headers, Flowable<Buffer> body, Handler<AsyncResult<HttpClientResponse>> responseHandler)
method - the HTTP methodrequestURI - the relative URIheaders - the headersbody - the request bodyresponseHandler - the response handlerpublic void send(HttpMethod method, String requestURI, MultiMap headers, Flowable<Buffer> body)
method - the HTTP methodrequestURI - the relative URIheaders - the headersbody - the request bodypublic Single<HttpClientResponse> rxSend(HttpMethod method, String requestURI, MultiMap headers, Flowable<Buffer> body)
method - the HTTP methodrequestURI - the relative URIheaders - the headersbody - the request bodypublic void send(HttpMethod method, String requestURI, MultiMap headers, Observable<Buffer> body, Handler<AsyncResult<HttpClientResponse>> responseHandler)
method - the HTTP methodrequestURI - the relative URIheaders - the headersbody - the request bodyresponseHandler - the response handlerpublic void send(HttpMethod method, String requestURI, MultiMap headers, Observable<Buffer> body)
method - the HTTP methodrequestURI - the relative URIheaders - the headersbody - the request bodypublic Single<HttpClientResponse> rxSend(HttpMethod method, String requestURI, MultiMap headers, Observable<Buffer> body)
method - the HTTP methodrequestURI - the relative URIheaders - the headersbody - the request bodypublic void send(HttpMethod method, String requestURI, Handler<AsyncResult<HttpClientResponse>> responseHandler)
method - the HTTP methodrequestURI - the relative URIresponseHandler - the response handlerpublic void send(HttpMethod method, String requestURI)
method - the HTTP methodrequestURI - the relative URIpublic Single<HttpClientResponse> rxSend(HttpMethod method, String requestURI)
method - the HTTP methodrequestURI - the relative URIpublic void send(HttpMethod method, String requestURI, Buffer body, Handler<AsyncResult<HttpClientResponse>> responseHandler)
method - the HTTP methodrequestURI - the relative URIbody - the request bodyresponseHandler - the response handlerpublic void send(HttpMethod method, String requestURI, Buffer body)
method - the HTTP methodrequestURI - the relative URIbody - the request bodypublic Single<HttpClientResponse> rxSend(HttpMethod method, String requestURI, Buffer body)
method - the HTTP methodrequestURI - the relative URIbody - the request bodypublic void send(HttpMethod method, String requestURI, ReadStream<Buffer> body, Handler<AsyncResult<HttpClientResponse>> responseHandler)
method - the HTTP methodrequestURI - the relative URIbody - the request bodyresponseHandler - the response handlerpublic void send(HttpMethod method, String requestURI, ReadStream<Buffer> body)
method - the HTTP methodrequestURI - the relative URIbody - the request bodypublic Single<HttpClientResponse> rxSend(HttpMethod method, String requestURI, ReadStream<Buffer> body)
method - the HTTP methodrequestURI - the relative URIbody - the request bodypublic void send(HttpMethod method, String requestURI, Flowable<Buffer> body, Handler<AsyncResult<HttpClientResponse>> responseHandler)
method - the HTTP methodrequestURI - the relative URIbody - the request bodyresponseHandler - the response handlerpublic void send(HttpMethod method, String requestURI, Flowable<Buffer> body)
method - the HTTP methodrequestURI - the relative URIbody - the request bodypublic Single<HttpClientResponse> rxSend(HttpMethod method, String requestURI, Flowable<Buffer> body)
method - the HTTP methodrequestURI - the relative URIbody - the request bodypublic void send(HttpMethod method, String requestURI, Observable<Buffer> body, Handler<AsyncResult<HttpClientResponse>> responseHandler)
method - the HTTP methodrequestURI - the relative URIbody - the request bodyresponseHandler - the response handlerpublic void send(HttpMethod method, String requestURI, Observable<Buffer> body)
method - the HTTP methodrequestURI - the relative URIbody - the request bodypublic Single<HttpClientResponse> rxSend(HttpMethod method, String requestURI, Observable<Buffer> body)
method - the HTTP methodrequestURI - the relative URIbody - the request bodypublic HttpClientRequest request(SocketAddress serverAddress, RequestOptions options)
request(io.vertx.reactivex.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.
serverAddress - options - public HttpClientRequest request(RequestOptions options)
options - the request optionspublic HttpClientRequest request(HttpMethod method, int port, String host, String requestURI)
method - the HTTP methodport - the porthost - the hostrequestURI - the relative URIpublic HttpClientRequest request(HttpMethod method, SocketAddress serverAddress, int port, String host, String requestURI)
request(io.vertx.reactivex.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.
method - serverAddress - port - host - requestURI - public HttpClientRequest request(HttpMethod method, String host, String requestURI)
method - the HTTP methodhost - the hostrequestURI - the relative URIpublic HttpClientRequest request(HttpMethod method, String requestURI)
method - the HTTP methodrequestURI - the relative URIpublic void get(int port,
String host,
String requestURI,
MultiMap headers,
Handler<AsyncResult<HttpClientResponse>> responseHandler)
port - the porthost - the hostrequestURI - the relative URIheaders - the headersresponseHandler - the response handlerpublic void get(int port,
String host,
String requestURI,
MultiMap headers)
port - the porthost - the hostrequestURI - the relative URIheaders - the headerspublic Single<HttpClientResponse> rxGet(int port, String host, String requestURI, MultiMap headers)
port - the porthost - the hostrequestURI - the relative URIheaders - the headerspublic void get(String host, String requestURI, MultiMap headers, Handler<AsyncResult<HttpClientResponse>> responseHandler)
host - the hostrequestURI - the relative URIheaders - the headersresponseHandler - the response handlerpublic void get(String host, String requestURI, MultiMap headers)
host - the hostrequestURI - the relative URIheaders - the headerspublic Single<HttpClientResponse> rxGet(String host, String requestURI, MultiMap headers)
host - the hostrequestURI - the relative URIheaders - the headerspublic void get(String requestURI, MultiMap headers, Handler<AsyncResult<HttpClientResponse>> responseHandler)
requestURI - the relative URIheaders - the headersresponseHandler - the response handlerpublic void get(String requestURI, MultiMap headers)
requestURI - the relative URIheaders - the headerspublic Single<HttpClientResponse> rxGet(String requestURI, MultiMap headers)
requestURI - the relative URIheaders - the headerspublic void get(RequestOptions options, Handler<AsyncResult<HttpClientResponse>> responseHandler)
options - the request optionsresponseHandler - the response handlerpublic void get(RequestOptions options)
options - the request optionspublic Single<HttpClientResponse> rxGet(RequestOptions options)
options - the request optionspublic void get(int port,
String host,
String requestURI,
Handler<AsyncResult<HttpClientResponse>> responseHandler)
port - the porthost - the hostrequestURI - the relative URIresponseHandler - the response handlerpublic void get(int port,
String host,
String requestURI)
port - the porthost - the hostrequestURI - the relative URIpublic Single<HttpClientResponse> rxGet(int port, String host, String requestURI)
port - the porthost - the hostrequestURI - the relative URIpublic void get(String host, String requestURI, Handler<AsyncResult<HttpClientResponse>> responseHandler)
host - the hostrequestURI - the relative URIresponseHandler - the response handlerpublic void get(String host, String requestURI)
host - the hostrequestURI - the relative URIpublic Single<HttpClientResponse> rxGet(String host, String requestURI)
host - the hostrequestURI - the relative URIpublic void get(String requestURI, Handler<AsyncResult<HttpClientResponse>> responseHandler)
requestURI - the relative URIresponseHandler - the response handlerpublic void get(String requestURI)
requestURI - the relative URIpublic Single<HttpClientResponse> rxGet(String requestURI)
requestURI - the relative URIpublic void post(int port,
String host,
String requestURI,
MultiMap headers,
Buffer body,
Handler<AsyncResult<HttpClientResponse>> responseHandler)
port - the porthost - the hostrequestURI - the relative URIheaders - the headersbody - the request bodyresponseHandler - the response handlerpublic void post(int port,
String host,
String requestURI,
MultiMap headers,
Buffer body)
port - the porthost - the hostrequestURI - the relative URIheaders - the headersbody - the request bodypublic Single<HttpClientResponse> rxPost(int port, String host, String requestURI, MultiMap headers, Buffer body)
port - the porthost - the hostrequestURI - the relative URIheaders - the headersbody - the request bodypublic void post(int port,
String host,
String requestURI,
MultiMap headers,
ReadStream<Buffer> body,
Handler<AsyncResult<HttpClientResponse>> responseHandler)
port - the porthost - the hostrequestURI - the relative URIheaders - the headersbody - the request bodyresponseHandler - the response handlerpublic void post(int port,
String host,
String requestURI,
MultiMap headers,
ReadStream<Buffer> body)
port - the porthost - the hostrequestURI - the relative URIheaders - the headersbody - the request bodypublic Single<HttpClientResponse> rxPost(int port, String host, String requestURI, MultiMap headers, ReadStream<Buffer> body)
port - the porthost - the hostrequestURI - the relative URIheaders - the headersbody - the request bodypublic void post(int port,
String host,
String requestURI,
MultiMap headers,
Flowable<Buffer> body,
Handler<AsyncResult<HttpClientResponse>> responseHandler)
port - the porthost - the hostrequestURI - the relative URIheaders - the headersbody - the request bodyresponseHandler - the response handlerpublic void post(int port,
String host,
String requestURI,
MultiMap headers,
Flowable<Buffer> body)
port - the porthost - the hostrequestURI - the relative URIheaders - the headersbody - the request bodypublic Single<HttpClientResponse> rxPost(int port, String host, String requestURI, MultiMap headers, Flowable<Buffer> body)
port - the porthost - the hostrequestURI - the relative URIheaders - the headersbody - the request bodypublic void post(int port,
String host,
String requestURI,
MultiMap headers,
Observable<Buffer> body,
Handler<AsyncResult<HttpClientResponse>> responseHandler)
port - the porthost - the hostrequestURI - the relative URIheaders - the headersbody - the request bodyresponseHandler - the response handlerpublic void post(int port,
String host,
String requestURI,
MultiMap headers,
Observable<Buffer> body)
port - the porthost - the hostrequestURI - the relative URIheaders - the headersbody - the request bodypublic Single<HttpClientResponse> rxPost(int port, String host, String requestURI, MultiMap headers, Observable<Buffer> body)
port - the porthost - the hostrequestURI - the relative URIheaders - the headersbody - the request bodypublic void post(String host, String requestURI, MultiMap headers, Buffer body, Handler<AsyncResult<HttpClientResponse>> responseHandler)
host - the hostrequestURI - the relative URIheaders - the headersbody - the request bodyresponseHandler - the response handlerpublic void post(String host, String requestURI, MultiMap headers, Buffer body)
host - the hostrequestURI - the relative URIheaders - the headersbody - the request bodypublic Single<HttpClientResponse> rxPost(String host, String requestURI, MultiMap headers, Buffer body)
host - the hostrequestURI - the relative URIheaders - the headersbody - the request bodypublic void post(String host, String requestURI, MultiMap headers, ReadStream<Buffer> body, Handler<AsyncResult<HttpClientResponse>> responseHandler)
host - the hostrequestURI - the relative URIheaders - the headersbody - the request bodyresponseHandler - the response handlerpublic void post(String host, String requestURI, MultiMap headers, ReadStream<Buffer> body)
host - the hostrequestURI - the relative URIheaders - the headersbody - the request bodypublic Single<HttpClientResponse> rxPost(String host, String requestURI, MultiMap headers, ReadStream<Buffer> body)
host - the hostrequestURI - the relative URIheaders - the headersbody - the request bodypublic void post(String host, String requestURI, MultiMap headers, Flowable<Buffer> body, Handler<AsyncResult<HttpClientResponse>> responseHandler)
host - the hostrequestURI - the relative URIheaders - the headersbody - the request bodyresponseHandler - the response handlerpublic void post(String host, String requestURI, MultiMap headers, Flowable<Buffer> body)
host - the hostrequestURI - the relative URIheaders - the headersbody - the request bodypublic Single<HttpClientResponse> rxPost(String host, String requestURI, MultiMap headers, Flowable<Buffer> body)
host - the hostrequestURI - the relative URIheaders - the headersbody - the request bodypublic void post(String host, String requestURI, MultiMap headers, Observable<Buffer> body, Handler<AsyncResult<HttpClientResponse>> responseHandler)
host - the hostrequestURI - the relative URIheaders - the headersbody - the request bodyresponseHandler - the response handlerpublic void post(String host, String requestURI, MultiMap headers, Observable<Buffer> body)
host - the hostrequestURI - the relative URIheaders - the headersbody - the request bodypublic Single<HttpClientResponse> rxPost(String host, String requestURI, MultiMap headers, Observable<Buffer> body)
host - the hostrequestURI - the relative URIheaders - the headersbody - the request bodypublic void post(String requestURI, MultiMap headers, Buffer body, Handler<AsyncResult<HttpClientResponse>> responseHandler)
requestURI - the relative URIheaders - the headersbody - the request bodyresponseHandler - the response handlerpublic void post(String requestURI, MultiMap headers, Buffer body)
requestURI - the relative URIheaders - the headersbody - the request bodypublic Single<HttpClientResponse> rxPost(String requestURI, MultiMap headers, Buffer body)
requestURI - the relative URIheaders - the headersbody - the request bodypublic void post(String requestURI, MultiMap headers, ReadStream<Buffer> body, Handler<AsyncResult<HttpClientResponse>> responseHandler)
requestURI - the relative URIheaders - the headersbody - the request bodyresponseHandler - the response handlerpublic void post(String requestURI, MultiMap headers, ReadStream<Buffer> body)
requestURI - the relative URIheaders - the headersbody - the request bodypublic Single<HttpClientResponse> rxPost(String requestURI, MultiMap headers, ReadStream<Buffer> body)
requestURI - the relative URIheaders - the headersbody - the request bodypublic void post(String requestURI, MultiMap headers, Flowable<Buffer> body, Handler<AsyncResult<HttpClientResponse>> responseHandler)
requestURI - the relative URIheaders - the headersbody - the request bodyresponseHandler - the response handlerpublic void post(String requestURI, MultiMap headers, Flowable<Buffer> body)
requestURI - the relative URIheaders - the headersbody - the request bodypublic Single<HttpClientResponse> rxPost(String requestURI, MultiMap headers, Flowable<Buffer> body)
requestURI - the relative URIheaders - the headersbody - the request bodypublic void post(String requestURI, MultiMap headers, Observable<Buffer> body, Handler<AsyncResult<HttpClientResponse>> responseHandler)
requestURI - the relative URIheaders - the headersbody - the request bodyresponseHandler - the response handlerpublic void post(String requestURI, MultiMap headers, Observable<Buffer> body)
requestURI - the relative URIheaders - the headersbody - the request bodypublic Single<HttpClientResponse> rxPost(String requestURI, MultiMap headers, Observable<Buffer> body)
requestURI - the relative URIheaders - the headersbody - the request bodypublic void post(RequestOptions options, Buffer body, Handler<AsyncResult<HttpClientResponse>> responseHandler)
options - the request optionsbody - the request bodyresponseHandler - the response handlerpublic void post(RequestOptions options, Buffer body)
options - the request optionsbody - the request bodypublic Single<HttpClientResponse> rxPost(RequestOptions options, Buffer body)
options - the request optionsbody - the request bodypublic void post(RequestOptions options, ReadStream<Buffer> body, Handler<AsyncResult<HttpClientResponse>> responseHandler)
options - the request optionsbody - the request bodyresponseHandler - the response handlerpublic void post(RequestOptions options, ReadStream<Buffer> body)
options - the request optionsbody - the request bodypublic Single<HttpClientResponse> rxPost(RequestOptions options, ReadStream<Buffer> body)
options - the request optionsbody - the request bodypublic void post(RequestOptions options, Flowable<Buffer> body, Handler<AsyncResult<HttpClientResponse>> responseHandler)
options - the request optionsbody - the request bodyresponseHandler - the response handlerpublic void post(RequestOptions options, Flowable<Buffer> body)
options - the request optionsbody - the request bodypublic Single<HttpClientResponse> rxPost(RequestOptions options, Flowable<Buffer> body)
options - the request optionsbody - the request bodypublic void post(RequestOptions options, Observable<Buffer> body, Handler<AsyncResult<HttpClientResponse>> responseHandler)
options - the request optionsbody - the request bodyresponseHandler - the response handlerpublic void post(RequestOptions options, Observable<Buffer> body)
options - the request optionsbody - the request bodypublic Single<HttpClientResponse> rxPost(RequestOptions options, Observable<Buffer> body)
options - the request optionsbody - the request bodypublic void post(int port,
String host,
String requestURI,
Buffer body,
Handler<AsyncResult<HttpClientResponse>> responseHandler)
port - the porthost - the hostrequestURI - the relative URIbody - the request bodyresponseHandler - the response handlerpublic void post(int port,
String host,
String requestURI,
Buffer body)
port - the porthost - the hostrequestURI - the relative URIbody - the request bodypublic Single<HttpClientResponse> rxPost(int port, String host, String requestURI, Buffer body)
port - the porthost - the hostrequestURI - the relative URIbody - the request bodypublic void post(int port,
String host,
String requestURI,
ReadStream<Buffer> body,
Handler<AsyncResult<HttpClientResponse>> responseHandler)
port - the porthost - the hostrequestURI - the relative URIbody - the request bodyresponseHandler - the response handlerpublic void post(int port,
String host,
String requestURI,
ReadStream<Buffer> body)
port - the porthost - the hostrequestURI - the relative URIbody - the request bodypublic Single<HttpClientResponse> rxPost(int port, String host, String requestURI, ReadStream<Buffer> body)
port - the porthost - the hostrequestURI - the relative URIbody - the request bodypublic void post(int port,
String host,
String requestURI,
Flowable<Buffer> body,
Handler<AsyncResult<HttpClientResponse>> responseHandler)
port - the porthost - the hostrequestURI - the relative URIbody - the request bodyresponseHandler - the response handlerpublic void post(int port,
String host,
String requestURI,
Flowable<Buffer> body)
port - the porthost - the hostrequestURI - the relative URIbody - the request bodypublic Single<HttpClientResponse> rxPost(int port, String host, String requestURI, Flowable<Buffer> body)
port - the porthost - the hostrequestURI - the relative URIbody - the request bodypublic void post(int port,
String host,
String requestURI,
Observable<Buffer> body,
Handler<AsyncResult<HttpClientResponse>> responseHandler)
port - the porthost - the hostrequestURI - the relative URIbody - the request bodyresponseHandler - the response handlerpublic void post(int port,
String host,
String requestURI,
Observable<Buffer> body)
port - the porthost - the hostrequestURI - the relative URIbody - the request bodypublic Single<HttpClientResponse> rxPost(int port, String host, String requestURI, Observable<Buffer> body)
port - the porthost - the hostrequestURI - the relative URIbody - the request bodypublic void post(String host, String requestURI, Buffer body, Handler<AsyncResult<HttpClientResponse>> responseHandler)
host - the hostrequestURI - the relative URIbody - the request bodyresponseHandler - the response handlerpublic void post(String host, String requestURI, Buffer body)
host - the hostrequestURI - the relative URIbody - the request bodypublic Single<HttpClientResponse> rxPost(String host, String requestURI, Buffer body)
host - the hostrequestURI - the relative URIbody - the request bodypublic void post(String host, String requestURI, ReadStream<Buffer> body, Handler<AsyncResult<HttpClientResponse>> responseHandler)
host - the hostrequestURI - the relative URIbody - the request bodyresponseHandler - the response handlerpublic void post(String host, String requestURI, ReadStream<Buffer> body)
host - the hostrequestURI - the relative URIbody - the request bodypublic Single<HttpClientResponse> rxPost(String host, String requestURI, ReadStream<Buffer> body)
host - the hostrequestURI - the relative URIbody - the request bodypublic void post(String host, String requestURI, Flowable<Buffer> body, Handler<AsyncResult<HttpClientResponse>> responseHandler)
host - the hostrequestURI - the relative URIbody - the request bodyresponseHandler - the response handlerpublic void post(String host, String requestURI, Flowable<Buffer> body)
host - the hostrequestURI - the relative URIbody - the request bodypublic Single<HttpClientResponse> rxPost(String host, String requestURI, Flowable<Buffer> body)
host - the hostrequestURI - the relative URIbody - the request bodypublic void post(String host, String requestURI, Observable<Buffer> body, Handler<AsyncResult<HttpClientResponse>> responseHandler)
host - the hostrequestURI - the relative URIbody - the request bodyresponseHandler - the response handlerpublic void post(String host, String requestURI, Observable<Buffer> body)
host - the hostrequestURI - the relative URIbody - the request bodypublic Single<HttpClientResponse> rxPost(String host, String requestURI, Observable<Buffer> body)
host - the hostrequestURI - the relative URIbody - the request bodypublic void post(String requestURI, Buffer body, Handler<AsyncResult<HttpClientResponse>> responseHandler)
requestURI - the relative URIbody - the request bodyresponseHandler - the response handlerpublic void post(String requestURI, Buffer body)
requestURI - the relative URIbody - the request bodypublic Single<HttpClientResponse> rxPost(String requestURI, Buffer body)
requestURI - the relative URIbody - the request bodypublic void post(String requestURI, ReadStream<Buffer> body, Handler<AsyncResult<HttpClientResponse>> responseHandler)
requestURI - the relative URIbody - the request bodyresponseHandler - the response handlerpublic void post(String requestURI, ReadStream<Buffer> body)
requestURI - the relative URIbody - the request bodypublic Single<HttpClientResponse> rxPost(String requestURI, ReadStream<Buffer> body)
requestURI - the relative URIbody - the request bodypublic void post(String requestURI, Flowable<Buffer> body, Handler<AsyncResult<HttpClientResponse>> responseHandler)
requestURI - the relative URIbody - the request bodyresponseHandler - the response handlerpublic void post(String requestURI, Flowable<Buffer> body)
requestURI - the relative URIbody - the request bodypublic Single<HttpClientResponse> rxPost(String requestURI, Flowable<Buffer> body)
requestURI - the relative URIbody - the request bodypublic void post(String requestURI, Observable<Buffer> body, Handler<AsyncResult<HttpClientResponse>> responseHandler)
requestURI - the relative URIbody - the request bodyresponseHandler - the response handlerpublic void post(String requestURI, Observable<Buffer> body)
requestURI - the relative URIbody - the request bodypublic Single<HttpClientResponse> rxPost(String requestURI, Observable<Buffer> body)
requestURI - the relative URIbody - the request bodypublic void put(int port,
String host,
String requestURI,
MultiMap headers,
Buffer body,
Handler<AsyncResult<HttpClientResponse>> responseHandler)
port - the porthost - the hostrequestURI - the relative URIheaders - the headersbody - the request bodyresponseHandler - the response handlerpublic void put(int port,
String host,
String requestURI,
MultiMap headers,
Buffer body)
port - the porthost - the hostrequestURI - the relative URIheaders - the headersbody - the request bodypublic Single<HttpClientResponse> rxPut(int port, String host, String requestURI, MultiMap headers, Buffer body)
port - the porthost - the hostrequestURI - the relative URIheaders - the headersbody - the request bodypublic void put(int port,
String host,
String requestURI,
MultiMap headers,
ReadStream<Buffer> body,
Handler<AsyncResult<HttpClientResponse>> responseHandler)
port - the porthost - the hostrequestURI - the relative URIheaders - the headersbody - the request bodyresponseHandler - the response handlerpublic void put(int port,
String host,
String requestURI,
MultiMap headers,
ReadStream<Buffer> body)
port - the porthost - the hostrequestURI - the relative URIheaders - the headersbody - the request bodypublic Single<HttpClientResponse> rxPut(int port, String host, String requestURI, MultiMap headers, ReadStream<Buffer> body)
port - the porthost - the hostrequestURI - the relative URIheaders - the headersbody - the request bodypublic void put(int port,
String host,
String requestURI,
MultiMap headers,
Flowable<Buffer> body,
Handler<AsyncResult<HttpClientResponse>> responseHandler)
port - the porthost - the hostrequestURI - the relative URIheaders - the headersbody - the request bodyresponseHandler - the response handlerpublic void put(int port,
String host,
String requestURI,
MultiMap headers,
Flowable<Buffer> body)
port - the porthost - the hostrequestURI - the relative URIheaders - the headersbody - the request bodypublic Single<HttpClientResponse> rxPut(int port, String host, String requestURI, MultiMap headers, Flowable<Buffer> body)
port - the porthost - the hostrequestURI - the relative URIheaders - the headersbody - the request bodypublic void put(int port,
String host,
String requestURI,
MultiMap headers,
Observable<Buffer> body,
Handler<AsyncResult<HttpClientResponse>> responseHandler)
port - the porthost - the hostrequestURI - the relative URIheaders - the headersbody - the request bodyresponseHandler - the response handlerpublic void put(int port,
String host,
String requestURI,
MultiMap headers,
Observable<Buffer> body)
port - the porthost - the hostrequestURI - the relative URIheaders - the headersbody - the request bodypublic Single<HttpClientResponse> rxPut(int port, String host, String requestURI, MultiMap headers, Observable<Buffer> body)
port - the porthost - the hostrequestURI - the relative URIheaders - the headersbody - the request bodypublic void put(String host, String requestURI, MultiMap headers, Buffer body, Handler<AsyncResult<HttpClientResponse>> responseHandler)
host - the hostrequestURI - the relative URIheaders - the headersbody - the request bodyresponseHandler - the response handlerpublic void put(String host, String requestURI, MultiMap headers, Buffer body)
host - the hostrequestURI - the relative URIheaders - the headersbody - the request bodypublic Single<HttpClientResponse> rxPut(String host, String requestURI, MultiMap headers, Buffer body)
host - the hostrequestURI - the relative URIheaders - the headersbody - the request bodypublic void put(String host, String requestURI, MultiMap headers, ReadStream<Buffer> body, Handler<AsyncResult<HttpClientResponse>> responseHandler)
host - the hostrequestURI - the relative URIheaders - the headersbody - the request bodyresponseHandler - the response handlerpublic void put(String host, String requestURI, MultiMap headers, ReadStream<Buffer> body)
host - the hostrequestURI - the relative URIheaders - the headersbody - the request bodypublic Single<HttpClientResponse> rxPut(String host, String requestURI, MultiMap headers, ReadStream<Buffer> body)
host - the hostrequestURI - the relative URIheaders - the headersbody - the request bodypublic void put(String host, String requestURI, MultiMap headers, Flowable<Buffer> body, Handler<AsyncResult<HttpClientResponse>> responseHandler)
host - the hostrequestURI - the relative URIheaders - the headersbody - the request bodyresponseHandler - the response handlerpublic void put(String host, String requestURI, MultiMap headers, Flowable<Buffer> body)
host - the hostrequestURI - the relative URIheaders - the headersbody - the request bodypublic Single<HttpClientResponse> rxPut(String host, String requestURI, MultiMap headers, Flowable<Buffer> body)
host - the hostrequestURI - the relative URIheaders - the headersbody - the request bodypublic void put(String host, String requestURI, MultiMap headers, Observable<Buffer> body, Handler<AsyncResult<HttpClientResponse>> responseHandler)
host - the hostrequestURI - the relative URIheaders - the headersbody - the request bodyresponseHandler - the response handlerpublic void put(String host, String requestURI, MultiMap headers, Observable<Buffer> body)
host - the hostrequestURI - the relative URIheaders - the headersbody - the request bodypublic Single<HttpClientResponse> rxPut(String host, String requestURI, MultiMap headers, Observable<Buffer> body)
host - the hostrequestURI - the relative URIheaders - the headersbody - the request bodypublic void put(String requestURI, MultiMap headers, Buffer body, Handler<AsyncResult<HttpClientResponse>> responseHandler)
requestURI - the relative URIheaders - the headersbody - the request bodyresponseHandler - the response handlerpublic void put(String requestURI, MultiMap headers, Buffer body)
requestURI - the relative URIheaders - the headersbody - the request bodypublic Single<HttpClientResponse> rxPut(String requestURI, MultiMap headers, Buffer body)
requestURI - the relative URIheaders - the headersbody - the request bodypublic void put(String requestURI, MultiMap headers, ReadStream<Buffer> body, Handler<AsyncResult<HttpClientResponse>> responseHandler)
requestURI - the relative URIheaders - the headersbody - the request bodyresponseHandler - the response handlerpublic void put(String requestURI, MultiMap headers, ReadStream<Buffer> body)
requestURI - the relative URIheaders - the headersbody - the request bodypublic Single<HttpClientResponse> rxPut(String requestURI, MultiMap headers, ReadStream<Buffer> body)
requestURI - the relative URIheaders - the headersbody - the request bodypublic void put(String requestURI, MultiMap headers, Flowable<Buffer> body, Handler<AsyncResult<HttpClientResponse>> responseHandler)
requestURI - the relative URIheaders - the headersbody - the request bodyresponseHandler - the response handlerpublic void put(String requestURI, MultiMap headers, Flowable<Buffer> body)
requestURI - the relative URIheaders - the headersbody - the request bodypublic Single<HttpClientResponse> rxPut(String requestURI, MultiMap headers, Flowable<Buffer> body)
requestURI - the relative URIheaders - the headersbody - the request bodypublic void put(String requestURI, MultiMap headers, Observable<Buffer> body, Handler<AsyncResult<HttpClientResponse>> responseHandler)
requestURI - the relative URIheaders - the headersbody - the request bodyresponseHandler - the response handlerpublic void put(String requestURI, MultiMap headers, Observable<Buffer> body)
requestURI - the relative URIheaders - the headersbody - the request bodypublic Single<HttpClientResponse> rxPut(String requestURI, MultiMap headers, Observable<Buffer> body)
requestURI - the relative URIheaders - the headersbody - the request bodypublic void put(RequestOptions options, Buffer body, Handler<AsyncResult<HttpClientResponse>> responseHandler)
options - the request optionsbody - the request bodyresponseHandler - the response handlerpublic void put(RequestOptions options, Buffer body)
options - the request optionsbody - the request bodypublic Single<HttpClientResponse> rxPut(RequestOptions options, Buffer body)
options - the request optionsbody - the request bodypublic void put(RequestOptions options, ReadStream<Buffer> body, Handler<AsyncResult<HttpClientResponse>> responseHandler)
options - the request optionsbody - the request bodyresponseHandler - the response handlerpublic void put(RequestOptions options, ReadStream<Buffer> body)
options - the request optionsbody - the request bodypublic Single<HttpClientResponse> rxPut(RequestOptions options, ReadStream<Buffer> body)
options - the request optionsbody - the request bodypublic void put(RequestOptions options, Flowable<Buffer> body, Handler<AsyncResult<HttpClientResponse>> responseHandler)
options - the request optionsbody - the request bodyresponseHandler - the response handlerpublic void put(RequestOptions options, Flowable<Buffer> body)
options - the request optionsbody - the request bodypublic Single<HttpClientResponse> rxPut(RequestOptions options, Flowable<Buffer> body)
options - the request optionsbody - the request bodypublic void put(RequestOptions options, Observable<Buffer> body, Handler<AsyncResult<HttpClientResponse>> responseHandler)
options - the request optionsbody - the request bodyresponseHandler - the response handlerpublic void put(RequestOptions options, Observable<Buffer> body)
options - the request optionsbody - the request bodypublic Single<HttpClientResponse> rxPut(RequestOptions options, Observable<Buffer> body)
options - the request optionsbody - the request bodypublic void put(int port,
String host,
String requestURI,
Buffer body,
Handler<AsyncResult<HttpClientResponse>> responseHandler)
port - the porthost - the hostrequestURI - the relative URIbody - the request bodyresponseHandler - the response handlerpublic void put(int port,
String host,
String requestURI,
Buffer body)
port - the porthost - the hostrequestURI - the relative URIbody - the request bodypublic Single<HttpClientResponse> rxPut(int port, String host, String requestURI, Buffer body)
port - the porthost - the hostrequestURI - the relative URIbody - the request bodypublic void put(int port,
String host,
String requestURI,
ReadStream<Buffer> body,
Handler<AsyncResult<HttpClientResponse>> responseHandler)
port - the porthost - the hostrequestURI - the relative URIbody - the request bodyresponseHandler - the response handlerpublic void put(int port,
String host,
String requestURI,
ReadStream<Buffer> body)
port - the porthost - the hostrequestURI - the relative URIbody - the request bodypublic Single<HttpClientResponse> rxPut(int port, String host, String requestURI, ReadStream<Buffer> body)
port - the porthost - the hostrequestURI - the relative URIbody - the request bodypublic void put(int port,
String host,
String requestURI,
Flowable<Buffer> body,
Handler<AsyncResult<HttpClientResponse>> responseHandler)
port - the porthost - the hostrequestURI - the relative URIbody - the request bodyresponseHandler - the response handlerpublic void put(int port,
String host,
String requestURI,
Flowable<Buffer> body)
port - the porthost - the hostrequestURI - the relative URIbody - the request bodypublic Single<HttpClientResponse> rxPut(int port, String host, String requestURI, Flowable<Buffer> body)
port - the porthost - the hostrequestURI - the relative URIbody - the request bodypublic void put(int port,
String host,
String requestURI,
Observable<Buffer> body,
Handler<AsyncResult<HttpClientResponse>> responseHandler)
port - the porthost - the hostrequestURI - the relative URIbody - the request bodyresponseHandler - the response handlerpublic void put(int port,
String host,
String requestURI,
Observable<Buffer> body)
port - the porthost - the hostrequestURI - the relative URIbody - the request bodypublic Single<HttpClientResponse> rxPut(int port, String host, String requestURI, Observable<Buffer> body)
port - the porthost - the hostrequestURI - the relative URIbody - the request bodypublic void put(String host, String requestURI, Buffer body, Handler<AsyncResult<HttpClientResponse>> responseHandler)
host - the hostrequestURI - the relative URIbody - the request bodyresponseHandler - the response handlerpublic void put(String host, String requestURI, Buffer body)
host - the hostrequestURI - the relative URIbody - the request bodypublic Single<HttpClientResponse> rxPut(String host, String requestURI, Buffer body)
host - the hostrequestURI - the relative URIbody - the request bodypublic void put(String host, String requestURI, ReadStream<Buffer> body, Handler<AsyncResult<HttpClientResponse>> responseHandler)
host - the hostrequestURI - the relative URIbody - the request bodyresponseHandler - the response handlerpublic void put(String host, String requestURI, ReadStream<Buffer> body)
host - the hostrequestURI - the relative URIbody - the request bodypublic Single<HttpClientResponse> rxPut(String host, String requestURI, ReadStream<Buffer> body)
host - the hostrequestURI - the relative URIbody - the request bodypublic void put(String host, String requestURI, Flowable<Buffer> body, Handler<AsyncResult<HttpClientResponse>> responseHandler)
host - the hostrequestURI - the relative URIbody - the request bodyresponseHandler - the response handlerpublic void put(String host, String requestURI, Flowable<Buffer> body)
host - the hostrequestURI - the relative URIbody - the request bodypublic Single<HttpClientResponse> rxPut(String host, String requestURI, Flowable<Buffer> body)
host - the hostrequestURI - the relative URIbody - the request bodypublic void put(String host, String requestURI, Observable<Buffer> body, Handler<AsyncResult<HttpClientResponse>> responseHandler)
host - the hostrequestURI - the relative URIbody - the request bodyresponseHandler - the response handlerpublic void put(String host, String requestURI, Observable<Buffer> body)
host - the hostrequestURI - the relative URIbody - the request bodypublic Single<HttpClientResponse> rxPut(String host, String requestURI, Observable<Buffer> body)
host - the hostrequestURI - the relative URIbody - the request bodypublic void put(String requestURI, Buffer body, Handler<AsyncResult<HttpClientResponse>> responseHandler)
requestURI - the relative URIbody - the request bodyresponseHandler - the response handlerpublic void put(String requestURI, Buffer body)
requestURI - the relative URIbody - the request bodypublic Single<HttpClientResponse> rxPut(String requestURI, Buffer body)
requestURI - the relative URIbody - the request bodypublic void put(String requestURI, ReadStream<Buffer> body, Handler<AsyncResult<HttpClientResponse>> responseHandler)
requestURI - the relative URIbody - the request bodyresponseHandler - the response handlerpublic void put(String requestURI, ReadStream<Buffer> body)
requestURI - the relative URIbody - the request bodypublic Single<HttpClientResponse> rxPut(String requestURI, ReadStream<Buffer> body)
requestURI - the relative URIbody - the request bodypublic void put(String requestURI, Flowable<Buffer> body, Handler<AsyncResult<HttpClientResponse>> responseHandler)
requestURI - the relative URIbody - the request bodyresponseHandler - the response handlerpublic void put(String requestURI, Flowable<Buffer> body)
requestURI - the relative URIbody - the request bodypublic Single<HttpClientResponse> rxPut(String requestURI, Flowable<Buffer> body)
requestURI - the relative URIbody - the request bodypublic void put(String requestURI, Observable<Buffer> body, Handler<AsyncResult<HttpClientResponse>> responseHandler)
requestURI - the relative URIbody - the request bodyresponseHandler - the response handlerpublic void put(String requestURI, Observable<Buffer> body)
requestURI - the relative URIbody - the request bodypublic Single<HttpClientResponse> rxPut(String requestURI, Observable<Buffer> body)
requestURI - the relative URIbody - the request bodypublic void head(int port,
String host,
String requestURI,
MultiMap headers,
Handler<AsyncResult<HttpClientResponse>> responseHandler)
port - the porthost - the hostrequestURI - the relative URIheaders - the headersresponseHandler - the response handlerpublic void head(int port,
String host,
String requestURI,
MultiMap headers)
port - the porthost - the hostrequestURI - the relative URIheaders - the headerspublic Single<HttpClientResponse> rxHead(int port, String host, String requestURI, MultiMap headers)
port - the porthost - the hostrequestURI - the relative URIheaders - the headerspublic void head(String host, String requestURI, MultiMap headers, Handler<AsyncResult<HttpClientResponse>> responseHandler)
host - the hostrequestURI - the relative URIheaders - the headersresponseHandler - the response handlerpublic void head(String host, String requestURI, MultiMap headers)
host - the hostrequestURI - the relative URIheaders - the headerspublic Single<HttpClientResponse> rxHead(String host, String requestURI, MultiMap headers)
host - the hostrequestURI - the relative URIheaders - the headerspublic void head(String requestURI, MultiMap headers, Handler<AsyncResult<HttpClientResponse>> responseHandler)
requestURI - the relative URIheaders - the headersresponseHandler - the response handlerpublic void head(String requestURI, MultiMap headers)
requestURI - the relative URIheaders - the headerspublic Single<HttpClientResponse> rxHead(String requestURI, MultiMap headers)
requestURI - the relative URIheaders - the headerspublic void head(RequestOptions options, Handler<AsyncResult<HttpClientResponse>> responseHandler)
options - the request optionsresponseHandler - the response handlerpublic void head(RequestOptions options)
options - the request optionspublic Single<HttpClientResponse> rxHead(RequestOptions options)
options - the request optionspublic void head(int port,
String host,
String requestURI,
Handler<AsyncResult<HttpClientResponse>> responseHandler)
port - the porthost - the hostrequestURI - the relative URIresponseHandler - the response handlerpublic void head(int port,
String host,
String requestURI)
port - the porthost - the hostrequestURI - the relative URIpublic Single<HttpClientResponse> rxHead(int port, String host, String requestURI)
port - the porthost - the hostrequestURI - the relative URIpublic void head(String host, String requestURI, Handler<AsyncResult<HttpClientResponse>> responseHandler)
host - the hostrequestURI - the relative URIresponseHandler - the response handlerpublic void head(String host, String requestURI)
host - the hostrequestURI - the relative URIpublic Single<HttpClientResponse> rxHead(String host, String requestURI)
host - the hostrequestURI - the relative URIpublic void head(String requestURI, Handler<AsyncResult<HttpClientResponse>> responseHandler)
requestURI - the relative URIresponseHandler - the response handlerpublic void head(String requestURI)
requestURI - the relative URIpublic Single<HttpClientResponse> rxHead(String requestURI)
requestURI - the relative URIpublic void options(int port,
String host,
String requestURI,
MultiMap headers,
Handler<AsyncResult<HttpClientResponse>> responseHandler)
port - the porthost - the hostrequestURI - the relative URIheaders - the headersresponseHandler - the response handlerpublic void options(int port,
String host,
String requestURI,
MultiMap headers)
port - the porthost - the hostrequestURI - the relative URIheaders - the headerspublic Single<HttpClientResponse> rxOptions(int port, String host, String requestURI, MultiMap headers)
port - the porthost - the hostrequestURI - the relative URIheaders - the headerspublic void options(String host, String requestURI, MultiMap headers, Handler<AsyncResult<HttpClientResponse>> responseHandler)
host - the hostrequestURI - the relative URIheaders - the headersresponseHandler - the response handlerpublic void options(String host, String requestURI, MultiMap headers)
host - the hostrequestURI - the relative URIheaders - the headerspublic Single<HttpClientResponse> rxOptions(String host, String requestURI, MultiMap headers)
host - the hostrequestURI - the relative URIheaders - the headerspublic void options(String requestURI, MultiMap headers, Handler<AsyncResult<HttpClientResponse>> responseHandler)
requestURI - the relative URIheaders - the headersresponseHandler - the response handlerpublic void options(String requestURI, MultiMap headers)
requestURI - the relative URIheaders - the headerspublic Single<HttpClientResponse> rxOptions(String requestURI, MultiMap headers)
requestURI - the relative URIheaders - the headerspublic void options(RequestOptions options, Handler<AsyncResult<HttpClientResponse>> responseHandler)
options - the request optionsresponseHandler - the response handlerpublic void options(RequestOptions options)
options - the request optionspublic Single<HttpClientResponse> rxOptions(RequestOptions options)
options - the request optionspublic void options(int port,
String host,
String requestURI,
Handler<AsyncResult<HttpClientResponse>> responseHandler)
port - the porthost - the hostrequestURI - the relative URIresponseHandler - the response handlerpublic void options(int port,
String host,
String requestURI)
port - the porthost - the hostrequestURI - the relative URIpublic Single<HttpClientResponse> rxOptions(int port, String host, String requestURI)
port - the porthost - the hostrequestURI - the relative URIpublic void options(String host, String requestURI, Handler<AsyncResult<HttpClientResponse>> responseHandler)
host - the hostrequestURI - the relative URIresponseHandler - the response handlerpublic void options(String host, String requestURI)
host - the hostrequestURI - the relative URIpublic Single<HttpClientResponse> rxOptions(String host, String requestURI)
host - the hostrequestURI - the relative URIpublic void options(String requestURI, Handler<AsyncResult<HttpClientResponse>> responseHandler)
requestURI - the relative URIresponseHandler - the response handlerpublic void options(String requestURI)
requestURI - the relative URIpublic Single<HttpClientResponse> rxOptions(String requestURI)
requestURI - the relative URIpublic void delete(int port,
String host,
String requestURI,
MultiMap headers,
Handler<AsyncResult<HttpClientResponse>> responseHandler)
port - the porthost - the hostrequestURI - the relative URIheaders - the headersresponseHandler - the response handlerpublic void delete(int port,
String host,
String requestURI,
MultiMap headers)
port - the porthost - the hostrequestURI - the relative URIheaders - the headerspublic Single<HttpClientResponse> rxDelete(int port, String host, String requestURI, MultiMap headers)
port - the porthost - the hostrequestURI - the relative URIheaders - the headerspublic void delete(String host, String requestURI, MultiMap headers, Handler<AsyncResult<HttpClientResponse>> responseHandler)
host - the hostrequestURI - the relative URIheaders - the headersresponseHandler - the response handlerpublic void delete(String host, String requestURI, MultiMap headers)
host - the hostrequestURI - the relative URIheaders - the headerspublic Single<HttpClientResponse> rxDelete(String host, String requestURI, MultiMap headers)
host - the hostrequestURI - the relative URIheaders - the headerspublic void delete(String requestURI, MultiMap headers, Handler<AsyncResult<HttpClientResponse>> responseHandler)
requestURI - the relative URIheaders - the headersresponseHandler - the response handlerpublic void delete(String requestURI, MultiMap headers)
requestURI - the relative URIheaders - the headerspublic Single<HttpClientResponse> rxDelete(String requestURI, MultiMap headers)
requestURI - the relative URIheaders - the headerspublic void delete(RequestOptions options, Handler<AsyncResult<HttpClientResponse>> responseHandler)
options - the request optionsresponseHandler - the response handlerpublic void delete(RequestOptions options)
options - the request optionspublic Single<HttpClientResponse> rxDelete(RequestOptions options)
options - the request optionspublic void delete(int port,
String host,
String requestURI,
Handler<AsyncResult<HttpClientResponse>> responseHandler)
port - the porthost - the hostrequestURI - the relative URIresponseHandler - the response handlerpublic void delete(int port,
String host,
String requestURI)
port - the porthost - the hostrequestURI - the relative URIpublic Single<HttpClientResponse> rxDelete(int port, String host, String requestURI)
port - the porthost - the hostrequestURI - the relative URIpublic void delete(String host, String requestURI, Handler<AsyncResult<HttpClientResponse>> responseHandler)
host - the hostrequestURI - the relative URIresponseHandler - the response handlerpublic void delete(String host, String requestURI)
host - the hostrequestURI - the relative URIpublic Single<HttpClientResponse> rxDelete(String host, String requestURI)
host - the hostrequestURI - the relative URIpublic void delete(String requestURI, Handler<AsyncResult<HttpClientResponse>> responseHandler)
requestURI - the relative URIresponseHandler - the response handlerpublic void delete(String requestURI)
requestURI - the relative URIpublic Single<HttpClientResponse> rxDelete(String requestURI)
requestURI - the relative URIpublic void webSocket(int port,
String host,
String requestURI,
Handler<AsyncResult<WebSocket>> handler)
port - the porthost - the hostrequestURI - the relative URIhandler - handler that will be called with the WebSocket when connectedpublic void webSocket(int port,
String host,
String requestURI)
port - the porthost - the hostrequestURI - the relative URIpublic Single<WebSocket> rxWebSocket(int port, String host, String requestURI)
port - the porthost - the hostrequestURI - the relative URIpublic void webSocket(String host, String requestURI, Handler<AsyncResult<WebSocket>> handler)
host - the hostrequestURI - the relative URIhandler - handler that will be called with the WebSocket when connectedpublic void webSocket(String host, String requestURI)
host - the hostrequestURI - the relative URIpublic Single<WebSocket> rxWebSocket(String host, String requestURI)
host - the hostrequestURI - the relative URIpublic void webSocket(String requestURI, Handler<AsyncResult<WebSocket>> handler)
requestURI - the relative URIhandler - handler that will be called with the WebSocket when connectedpublic void webSocket(String requestURI)
requestURI - the relative URIpublic Single<WebSocket> rxWebSocket(String requestURI)
requestURI - the relative URIpublic void webSocket(WebSocketConnectOptions options, Handler<AsyncResult<WebSocket>> handler)
options - the request optionshandler - public void webSocket(WebSocketConnectOptions options)
options - the request optionspublic Single<WebSocket> rxWebSocket(WebSocketConnectOptions options)
options - the request optionspublic void webSocketAbs(String url, MultiMap headers, WebsocketVersion version, List<String> subProtocols, Handler<AsyncResult<WebSocket>> handler)
url - the absolute urlheaders - the headersversion - the WebSocket versionsubProtocols - the subprotocols to usehandler - handler that will be called if WebSocket connection failspublic void webSocketAbs(String url, MultiMap headers, WebsocketVersion version, List<String> subProtocols)
url - the absolute urlheaders - the headersversion - the WebSocket versionsubProtocols - the subprotocols to usepublic Single<WebSocket> rxWebSocketAbs(String url, MultiMap headers, WebsocketVersion version, List<String> subProtocols)
url - the absolute urlheaders - the headersversion - the WebSocket versionsubProtocols - the subprotocols to usepublic HttpClient connectionHandler(Handler<HttpConnection> handler)
handler - public HttpClient redirectHandler(java.util.function.Function<HttpClientResponse,Future<HttpClientRequest>> handler)
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.
Future is returned, the client will send this new request
The handler must return a Future unsent so the client can further configure it and send it.
handler - the new redirect handlerpublic void close(Handler<AsyncResult<Void>> handler)
handler - public void close()
public Completable rxClose()
public static HttpClient newInstance(HttpClient arg)
Copyright © 2020 Eclipse. All rights reserved.