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 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,
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,
rx.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,
rx.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,
rx.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,
rx.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,
rx.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,
rx.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,
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,
rx.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,
rx.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,
rx.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,
rx.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,
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,
rx.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,
rx.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,
rx.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,
rx.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,
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,
rx.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,
rx.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,
rx.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,
rx.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,
rx.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,
rx.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,
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,
rx.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,
rx.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,
rx.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,
rx.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,
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,
rx.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,
rx.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,
rx.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,
rx.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(Function<HttpClientResponse,Future<RequestOptions>> handler)
Set a redirect handler for the http client.
|
void |
request(HttpMethod method,
int port,
String host,
String requestURI)
Create an HTTP request to send to the server at the
host and port . |
void |
request(HttpMethod method,
int port,
String host,
String requestURI,
Handler<AsyncResult<HttpClientRequest>> handler)
Create an HTTP request to send to the server at the
host and port . |
void |
request(HttpMethod method,
String requestURI)
Create an HTTP request to send to the server at the default host and port.
|
void |
request(HttpMethod method,
String requestURI,
Handler<AsyncResult<HttpClientRequest>> handler)
Create an HTTP request to send to the server at the default host and port.
|
void |
request(HttpMethod method,
String host,
String requestURI)
Create an HTTP request to send to the server at the
host and default port. |
void |
request(HttpMethod method,
String host,
String requestURI,
Handler<AsyncResult<HttpClientRequest>> handler)
Create an HTTP request to send to the server at the
host and default port. |
void |
request(RequestOptions options)
Create an HTTP request to send to the server.
|
void |
request(RequestOptions options,
Handler<AsyncResult<HttpClientRequest>> handler)
Create an HTTP request to send to the server.
|
rx.Single<Void> |
rxClose()
Close the client.
|
rx.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
|
rx.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
|
rx.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
|
rx.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
|
rx.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
|
rx.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
|
rx.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
|
rx.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
|
rx.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
|
rx.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
|
rx.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
|
rx.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
|
rx.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
|
rx.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
|
rx.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
|
rx.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
|
rx.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
|
rx.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
|
rx.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
|
rx.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
|
rx.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
|
rx.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
|
rx.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
|
rx.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
|
rx.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
|
rx.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
|
rx.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
|
rx.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
|
rx.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
|
rx.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
|
rx.Single<HttpClientResponse> |
rxPost(int port,
String host,
String requestURI,
MultiMap headers,
rx.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
|
rx.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
|
rx.Single<HttpClientResponse> |
rxPost(int port,
String host,
String requestURI,
rx.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
|
rx.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
|
rx.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
|
rx.Single<HttpClientResponse> |
rxPost(RequestOptions options,
rx.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
|
rx.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
|
rx.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
|
rx.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
|
rx.Single<HttpClientResponse> |
rxPost(String requestURI,
MultiMap headers,
rx.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
|
rx.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
|
rx.Single<HttpClientResponse> |
rxPost(String requestURI,
rx.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
|
rx.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
|
rx.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
|
rx.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
|
rx.Single<HttpClientResponse> |
rxPost(String host,
String requestURI,
MultiMap headers,
rx.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
|
rx.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
|
rx.Single<HttpClientResponse> |
rxPost(String host,
String requestURI,
rx.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
|
rx.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
|
rx.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
|
rx.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
|
rx.Single<HttpClientResponse> |
rxPut(int port,
String host,
String requestURI,
MultiMap headers,
rx.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
|
rx.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
|
rx.Single<HttpClientResponse> |
rxPut(int port,
String host,
String requestURI,
rx.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
|
rx.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
|
rx.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
|
rx.Single<HttpClientResponse> |
rxPut(RequestOptions options,
rx.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
|
rx.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
|
rx.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
|
rx.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
|
rx.Single<HttpClientResponse> |
rxPut(String requestURI,
MultiMap headers,
rx.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
|
rx.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
|
rx.Single<HttpClientResponse> |
rxPut(String requestURI,
rx.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
|
rx.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
|
rx.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
|
rx.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
|
rx.Single<HttpClientResponse> |
rxPut(String host,
String requestURI,
MultiMap headers,
rx.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
|
rx.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
|
rx.Single<HttpClientResponse> |
rxPut(String host,
String requestURI,
rx.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
|
rx.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
|
rx.Single<HttpClientRequest> |
rxRequest(HttpMethod method,
int port,
String host,
String requestURI)
Create an HTTP request to send to the server at the
host and port . |
rx.Single<HttpClientRequest> |
rxRequest(HttpMethod method,
String requestURI)
Create an HTTP request to send to the server at the default host and port.
|
rx.Single<HttpClientRequest> |
rxRequest(HttpMethod method,
String host,
String requestURI)
Create an HTTP request to send to the server at the
host and default port. |
rx.Single<HttpClientRequest> |
rxRequest(RequestOptions options)
Create an HTTP request to send to the server.
|
rx.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
|
rx.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
|
rx.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
|
rx.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
|
rx.Single<HttpClientResponse> |
rxSend(HttpMethod method,
int port,
String host,
String requestURI,
MultiMap headers,
rx.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
|
rx.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
|
rx.Single<HttpClientResponse> |
rxSend(HttpMethod method,
int port,
String host,
String requestURI,
rx.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
|
rx.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
|
rx.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
|
rx.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
|
rx.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
|
rx.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
|
rx.Single<HttpClientResponse> |
rxSend(HttpMethod method,
String requestURI,
MultiMap headers,
rx.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
|
rx.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
|
rx.Single<HttpClientResponse> |
rxSend(HttpMethod method,
String requestURI,
rx.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
|
rx.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
|
rx.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
|
rx.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
|
rx.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
|
rx.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
|
rx.Single<HttpClientResponse> |
rxSend(HttpMethod method,
String host,
String requestURI,
MultiMap headers,
rx.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
|
rx.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
|
rx.Single<HttpClientResponse> |
rxSend(HttpMethod method,
String host,
String requestURI,
rx.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
|
rx.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
|
rx.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
|
rx.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
|
rx.Single<HttpClientResponse> |
rxSend(RequestOptions options,
rx.Observable<Buffer> body)
Sends an HTTP request to send to the server with the specified options, specifying a response handler to receive
the response
|
rx.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
|
rx.Single<WebSocket> |
rxWebSocket(int port,
String host,
String requestURI)
Connect a WebSocket to the specified port, host and relative request URI
|
rx.Single<WebSocket> |
rxWebSocket(String requestURI)
Connect a WebSocket at the relative request URI using the default host and port
|
rx.Single<WebSocket> |
rxWebSocket(String host,
String requestURI)
Connect a WebSocket to the host and relative request URI and default port
|
rx.Single<WebSocket> |
rxWebSocket(WebSocketConnectOptions options)
Connect a WebSocket with the specified options.
|
rx.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,
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,
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,
rx.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,
rx.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,
rx.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,
rx.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,
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,
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,
rx.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,
rx.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,
rx.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,
rx.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,
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,
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,
rx.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,
rx.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,
rx.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,
rx.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,
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,
rx.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,
rx.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, wait
newInstance
public static final TypeArg<HttpClient> __TYPE_ARG
public HttpClient(HttpClient delegate)
public HttpClient(Object delegate)
public HttpClient getDelegate()
getDelegate
in interface Measured
public boolean isMetricsEnabled()
isMetricsEnabled
in interface Measured
true
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 rx.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 rx.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 rx.Single<HttpClientResponse> rxSend(RequestOptions options, ReadStream<Buffer> body)
options
- the request optionsbody
- the request bodypublic void send(RequestOptions options, rx.Observable<Buffer> body, Handler<AsyncResult<HttpClientResponse>> responseHandler)
options
- the request optionsbody
- the request bodyresponseHandler
- the response handlerpublic void send(RequestOptions options, rx.Observable<Buffer> body)
options
- the request optionsbody
- the request bodypublic rx.Single<HttpClientResponse> rxSend(RequestOptions options, rx.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 rx.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 rx.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 rx.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, rx.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, rx.Observable<Buffer> body)
method
- the HTTP methodport
- the porthost
- the hostrequestURI
- the relative URIheaders
- the headersbody
- the request bodypublic rx.Single<HttpClientResponse> rxSend(HttpMethod method, int port, String host, String requestURI, MultiMap headers, rx.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 rx.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 rx.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 rx.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, rx.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, rx.Observable<Buffer> body)
method
- the HTTP methodport
- the porthost
- the hostrequestURI
- the relative URIbody
- the request bodypublic rx.Single<HttpClientResponse> rxSend(HttpMethod method, int port, String host, String requestURI, rx.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 rx.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 rx.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 rx.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, rx.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, rx.Observable<Buffer> body)
method
- the HTTP methodhost
- the hostrequestURI
- the relative URIheaders
- the headersbody
- the request bodypublic rx.Single<HttpClientResponse> rxSend(HttpMethod method, String host, String requestURI, MultiMap headers, rx.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 rx.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 rx.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 rx.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, rx.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, rx.Observable<Buffer> body)
method
- the HTTP methodhost
- the hostrequestURI
- the relative URIbody
- the request bodypublic rx.Single<HttpClientResponse> rxSend(HttpMethod method, String host, String requestURI, rx.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 rx.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 rx.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 rx.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, rx.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, rx.Observable<Buffer> body)
method
- the HTTP methodrequestURI
- the relative URIheaders
- the headersbody
- the request bodypublic rx.Single<HttpClientResponse> rxSend(HttpMethod method, String requestURI, MultiMap headers, rx.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 rx.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 rx.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 rx.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, rx.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, rx.Observable<Buffer> body)
method
- the HTTP methodrequestURI
- the relative URIbody
- the request bodypublic rx.Single<HttpClientResponse> rxSend(HttpMethod method, String requestURI, rx.Observable<Buffer> body)
method
- the HTTP methodrequestURI
- the relative URIbody
- the request bodypublic void request(RequestOptions options, Handler<AsyncResult<HttpClientRequest>> handler)
handler
is called when the request is ready to be sent.options
- the request optionshandler
- the handler called when the request is ready to be sentpublic void request(RequestOptions options)
handler
is called when the request is ready to be sent.options
- the request optionspublic rx.Single<HttpClientRequest> rxRequest(RequestOptions options)
handler
is called when the request is ready to be sent.options
- the request optionspublic void request(HttpMethod method, int port, String host, String requestURI, Handler<AsyncResult<HttpClientRequest>> handler)
host
and port
. The handler
is called when the request is ready to be sent.method
- the HTTP methodport
- the porthost
- the hostrequestURI
- the relative URIhandler
- the handler called when the request is ready to be sentpublic void request(HttpMethod method, int port, String host, String requestURI)
host
and port
. The handler
is called when the request is ready to be sent.method
- the HTTP methodport
- the porthost
- the hostrequestURI
- the relative URIpublic rx.Single<HttpClientRequest> rxRequest(HttpMethod method, int port, String host, String requestURI)
host
and port
. The handler
is called when the request is ready to be sent.method
- the HTTP methodport
- the porthost
- the hostrequestURI
- the relative URIpublic void request(HttpMethod method, String host, String requestURI, Handler<AsyncResult<HttpClientRequest>> handler)
host
and default port. The handler
is called when the request is ready to be sent.method
- the HTTP methodhost
- the hostrequestURI
- the relative URIhandler
- the handler called when the request is ready to be sentpublic void request(HttpMethod method, String host, String requestURI)
host
and default port. The handler
is called when the request is ready to be sent.method
- the HTTP methodhost
- the hostrequestURI
- the relative URIpublic rx.Single<HttpClientRequest> rxRequest(HttpMethod method, String host, String requestURI)
host
and default port. The handler
is called when the request is ready to be sent.method
- the HTTP methodhost
- the hostrequestURI
- the relative URIpublic void request(HttpMethod method, String requestURI, Handler<AsyncResult<HttpClientRequest>> handler)
handler
is called when the request is ready to be sent.method
- the HTTP methodrequestURI
- the relative URIhandler
- the handler called when the request is ready to be sentpublic void request(HttpMethod method, String requestURI)
handler
is called when the request is ready to be sent.method
- the HTTP methodrequestURI
- the relative URIpublic rx.Single<HttpClientRequest> rxRequest(HttpMethod method, String requestURI)
handler
is called when the request is ready to be sent.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 rx.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 rx.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 rx.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 rx.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 rx.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 rx.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 rx.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 rx.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 rx.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, rx.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, rx.Observable<Buffer> body)
port
- the porthost
- the hostrequestURI
- the relative URIheaders
- the headersbody
- the request bodypublic rx.Single<HttpClientResponse> rxPost(int port, String host, String requestURI, MultiMap headers, rx.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 rx.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 rx.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, rx.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, rx.Observable<Buffer> body)
host
- the hostrequestURI
- the relative URIheaders
- the headersbody
- the request bodypublic rx.Single<HttpClientResponse> rxPost(String host, String requestURI, MultiMap headers, rx.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 rx.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 rx.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, rx.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, rx.Observable<Buffer> body)
requestURI
- the relative URIheaders
- the headersbody
- the request bodypublic rx.Single<HttpClientResponse> rxPost(String requestURI, MultiMap headers, rx.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 rx.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 rx.Single<HttpClientResponse> rxPost(RequestOptions options, ReadStream<Buffer> body)
options
- the request optionsbody
- the request bodypublic void post(RequestOptions options, rx.Observable<Buffer> body, Handler<AsyncResult<HttpClientResponse>> responseHandler)
options
- the request optionsbody
- the request bodyresponseHandler
- the response handlerpublic void post(RequestOptions options, rx.Observable<Buffer> body)
options
- the request optionsbody
- the request bodypublic rx.Single<HttpClientResponse> rxPost(RequestOptions options, rx.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 rx.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 rx.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, rx.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, rx.Observable<Buffer> body)
port
- the porthost
- the hostrequestURI
- the relative URIbody
- the request bodypublic rx.Single<HttpClientResponse> rxPost(int port, String host, String requestURI, rx.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 rx.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 rx.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, rx.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, rx.Observable<Buffer> body)
host
- the hostrequestURI
- the relative URIbody
- the request bodypublic rx.Single<HttpClientResponse> rxPost(String host, String requestURI, rx.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 rx.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 rx.Single<HttpClientResponse> rxPost(String requestURI, ReadStream<Buffer> body)
requestURI
- the relative URIbody
- the request bodypublic void post(String requestURI, rx.Observable<Buffer> body, Handler<AsyncResult<HttpClientResponse>> responseHandler)
requestURI
- the relative URIbody
- the request bodyresponseHandler
- the response handlerpublic void post(String requestURI, rx.Observable<Buffer> body)
requestURI
- the relative URIbody
- the request bodypublic rx.Single<HttpClientResponse> rxPost(String requestURI, rx.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 rx.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 rx.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, rx.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, rx.Observable<Buffer> body)
port
- the porthost
- the hostrequestURI
- the relative URIheaders
- the headersbody
- the request bodypublic rx.Single<HttpClientResponse> rxPut(int port, String host, String requestURI, MultiMap headers, rx.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 rx.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 rx.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, rx.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, rx.Observable<Buffer> body)
host
- the hostrequestURI
- the relative URIheaders
- the headersbody
- the request bodypublic rx.Single<HttpClientResponse> rxPut(String host, String requestURI, MultiMap headers, rx.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 rx.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 rx.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, rx.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, rx.Observable<Buffer> body)
requestURI
- the relative URIheaders
- the headersbody
- the request bodypublic rx.Single<HttpClientResponse> rxPut(String requestURI, MultiMap headers, rx.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 rx.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 rx.Single<HttpClientResponse> rxPut(RequestOptions options, ReadStream<Buffer> body)
options
- the request optionsbody
- the request bodypublic void put(RequestOptions options, rx.Observable<Buffer> body, Handler<AsyncResult<HttpClientResponse>> responseHandler)
options
- the request optionsbody
- the request bodyresponseHandler
- the response handlerpublic void put(RequestOptions options, rx.Observable<Buffer> body)
options
- the request optionsbody
- the request bodypublic rx.Single<HttpClientResponse> rxPut(RequestOptions options, rx.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 rx.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 rx.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, rx.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, rx.Observable<Buffer> body)
port
- the porthost
- the hostrequestURI
- the relative URIbody
- the request bodypublic rx.Single<HttpClientResponse> rxPut(int port, String host, String requestURI, rx.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 rx.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 rx.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, rx.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, rx.Observable<Buffer> body)
host
- the hostrequestURI
- the relative URIbody
- the request bodypublic rx.Single<HttpClientResponse> rxPut(String host, String requestURI, rx.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 rx.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 rx.Single<HttpClientResponse> rxPut(String requestURI, ReadStream<Buffer> body)
requestURI
- the relative URIbody
- the request bodypublic void put(String requestURI, rx.Observable<Buffer> body, Handler<AsyncResult<HttpClientResponse>> responseHandler)
requestURI
- the relative URIbody
- the request bodyresponseHandler
- the response handlerpublic void put(String requestURI, rx.Observable<Buffer> body)
requestURI
- the relative URIbody
- the request bodypublic rx.Single<HttpClientResponse> rxPut(String requestURI, rx.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 rx.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 rx.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 rx.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 rx.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 rx.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 rx.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 rx.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 rx.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 rx.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 rx.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 rx.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 rx.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 rx.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 rx.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 rx.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 rx.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 rx.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 rx.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 rx.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 rx.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 rx.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 rx.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 rx.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 rx.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 rx.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 rx.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(Function<HttpClientResponse,Future<RequestOptions>> 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 rx.Single<Void> rxClose()
public static HttpClient newInstance(HttpClient arg)
Copyright © 2020 Eclipse. All rights reserved.