| Package | Description |
|---|---|
| io.vertx.rxjava.core.http |
| Modifier and Type | Field and Description |
|---|---|
static io.vertx.lang.rx.TypeArg<HttpClientResponse> |
HttpClientResponse.__TYPE_ARG |
| Modifier and Type | Method and Description |
|---|---|
HttpClientResponse |
HttpClientResponse.body()
Same as
body(io.vertx.core.Handler<io.vertx.core.AsyncResult<io.vertx.rxjava.core.buffer.Buffer>>) but with an handler called when the operation completes |
HttpClientResponse |
HttpClientResponse.body(Handler<AsyncResult<Buffer>> handler)
Same as
body(io.vertx.core.Handler<io.vertx.core.AsyncResult<io.vertx.rxjava.core.buffer.Buffer>>) but with an handler called when the operation completes |
HttpClientResponse |
HttpClientResponse.bodyHandler(Handler<Buffer> bodyHandler)
Convenience method for receiving the entire request body in one piece.
|
HttpClientResponse |
HttpClientResponse.customFrameHandler(Handler<HttpFrame> handler)
Set an custom frame handler.
|
HttpClientResponse |
HttpClientResponse.endHandler(Handler<Void> endHandler) |
HttpClientResponse |
HttpClientResponse.exceptionHandler(Handler<Throwable> handler) |
HttpClientResponse |
HttpClientResponse.fetch(long amount) |
HttpClientResponse |
HttpClientResponse.handler(Handler<Buffer> handler) |
static HttpClientResponse |
HttpClientResponse.newInstance(HttpClientResponse arg) |
HttpClientResponse |
HttpClientResponse.pause() |
HttpClientResponse |
HttpClientRequest.result()
The result of the operation.
|
HttpClientResponse |
HttpClientResponse.resume() |
HttpClientResponse |
HttpClientResponse.streamPriorityHandler(Handler<StreamPriority> handler)
Set an handler for stream priority changes.
|
| Modifier and Type | Method and Description |
|---|---|
Handler<AsyncResult<HttpClientResponse>> |
HttpClientRequest.getHandler() |
Future<HttpClientResponse> |
HttpClientRequest.otherwise(java.util.function.Function<Throwable,HttpClientResponse> mapper)
Apply a
mapper function on this future. |
Future<HttpClientResponse> |
HttpClientRequest.otherwise(HttpClientResponse value)
Map the failure of a future to a specific
value. |
Future<HttpClientResponse> |
HttpClientRequest.otherwiseEmpty()
Map the failure of a future to
null. |
Future<HttpClientResponse> |
HttpClientRequest.recover(java.util.function.Function<Throwable,Future<HttpClientResponse>> mapper)
Handles a failure of this Future by returning the result of another Future.
|
Single<HttpClientResponse> |
HttpClient.rxGetNow(int port,
String host,
String requestURI)
Sends an HTTP GET request to the server at the specified host and port, specifying a response handler to receive
the response
|
Single<HttpClientResponse> |
HttpClient.rxGetNow(RequestOptions options)
Sends an HTTP GET request to the server with the specified options, specifying a response handler to receive
the response
|
Single<HttpClientResponse> |
HttpClient.rxGetNow(String requestURI)
Sends an HTTP GET request to the server at the default host and port, specifying a response handler to receive
the response
|
Single<HttpClientResponse> |
HttpClient.rxGetNow(String host,
String requestURI)
Sends an HTTP GET request to the server at the specified host and default port, specifying a response handler to receive
the response
|
Single<HttpClientResponse> |
HttpClient.rxHeadNow(int port,
String host,
String requestURI)
Sends an HTTP HEAD request to the server at the specified host and port, specifying a response handler to receive
the response
|
Single<HttpClientResponse> |
HttpClient.rxHeadNow(RequestOptions options)
Sends an HTTP HEAD request to the server with the specified options, specifying a response handler to receive
the response
|
Single<HttpClientResponse> |
HttpClient.rxHeadNow(String requestURI)
Sends an HTTP HEAD request to the server at the default host and port, specifying a response handler to receive
the response
|
Single<HttpClientResponse> |
HttpClient.rxHeadNow(String host,
String requestURI)
Sends an HTTP HEAD request to the server at the specified host and default port, specifying a response handler to receive
the response
|
Single<HttpClientResponse> |
HttpClient.rxOptionsNow(int port,
String host,
String requestURI)
Sends an HTTP OPTIONS request to the server at the specified host and port, specifying a response handler to receive
the response
|
Single<HttpClientResponse> |
HttpClient.rxOptionsNow(RequestOptions options)
Sends an HTTP OPTIONS request to the server with the specified options, specifying a response handler to receive
the response
|
Single<HttpClientResponse> |
HttpClient.rxOptionsNow(String requestURI)
Sends an HTTP OPTIONS request to the server at the default host and port, specifying a response handler to receive
the response
|
Single<HttpClientResponse> |
HttpClient.rxOptionsNow(String host,
String requestURI)
Sends an HTTP OPTIONS request to the server at the specified host and default port, specifying a response handler to receive
the response
|
Single<HttpClientResponse> |
HttpClientRequest.rxSetHandler() |
| Modifier and Type | Method and Description |
|---|---|
Future<HttpClientResponse> |
HttpClientRequest.otherwise(HttpClientResponse value)
Map the failure of a future to a specific
value. |
| Modifier and Type | Method and Description |
|---|---|
<U> Future<U> |
HttpClientRequest.compose(java.util.function.Function<HttpClientResponse,Future<U>> mapper)
Compose this future with a
mapper function. |
HttpClientRequest |
HttpClient.delete(int port,
String host,
String requestURI,
Handler<AsyncResult<HttpClientResponse>> responseHandler)
Create an HTTP DELETE request to send to the server at the specified host and port, specifying a response handler to receive
the response
|
HttpClientRequest |
HttpClient.delete(RequestOptions options,
Handler<AsyncResult<HttpClientResponse>> responseHandler)
Create an HTTP DELETE request to send to the server with the specified options, specifying a response handler to receive
the response
|
HttpClientRequest |
HttpClient.delete(String requestURI,
Handler<AsyncResult<HttpClientResponse>> responseHandler)
Create an HTTP DELETE request to send to the server at the default host and port, specifying a response handler to receive
the response
|
HttpClientRequest |
HttpClient.delete(String host,
String requestURI,
Handler<AsyncResult<HttpClientResponse>> responseHandler)
Create an HTTP DELETE request to send to the server at the specified host and default port, specifying a response handler to receive
the response
|
HttpClientRequest |
HttpClient.deleteAbs(String absoluteURI,
Handler<AsyncResult<HttpClientResponse>> responseHandler)
Create an HTTP DELETE request to send to the server using an absolute URI, specifying a response handler to receive
the response
|
HttpClientRequest |
HttpClient.get(int port,
String host,
String requestURI,
Handler<AsyncResult<HttpClientResponse>> responseHandler)
Create an HTTP GET request to send to the server at the specified host and port, specifying a response handler to receive
the response
|
HttpClientRequest |
HttpClient.get(RequestOptions options,
Handler<AsyncResult<HttpClientResponse>> responseHandler)
Create an HTTP GET request to send to the server with the specified options, specifying a response handler to receive
the response
|
HttpClientRequest |
HttpClient.get(String requestURI,
Handler<AsyncResult<HttpClientResponse>> responseHandler)
Create an HTTP GET request to send to the server at the default host and port, specifying a response handler to receive
the response
|
HttpClientRequest |
HttpClient.get(String host,
String requestURI,
Handler<AsyncResult<HttpClientResponse>> responseHandler)
Create an HTTP GET request to send to the server at the specified host and default port, specifying a response handler to receive
the response
|
HttpClientRequest |
HttpClient.getAbs(String absoluteURI,
Handler<AsyncResult<HttpClientResponse>> responseHandler)
Create an HTTP GET request to send to the server using an absolute URI, specifying a response handler to receive
the response
|
HttpClient |
HttpClient.getNow(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
|
HttpClient |
HttpClient.getNow(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
|
HttpClient |
HttpClient.getNow(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
|
HttpClient |
HttpClient.getNow(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
|
HttpClientRequest |
HttpClient.head(int port,
String host,
String requestURI,
Handler<AsyncResult<HttpClientResponse>> responseHandler)
Create an HTTP HEAD request to send to the server at the specified host and port, specifying a response handler to receive
the response
|
HttpClientRequest |
HttpClient.head(RequestOptions options,
Handler<AsyncResult<HttpClientResponse>> responseHandler)
Create an HTTP HEAD request to send to the server with the specified options, specifying a response handler to receive
the response
|
HttpClientRequest |
HttpClient.head(String requestURI,
Handler<AsyncResult<HttpClientResponse>> responseHandler)
Create an HTTP HEAD request to send to the server at the default host and port, specifying a response handler to receive
the response
|
HttpClientRequest |
HttpClient.head(String host,
String requestURI,
Handler<AsyncResult<HttpClientResponse>> responseHandler)
Create an HTTP HEAD request to send to the server at the specified host and default port, specifying a response handler to receive
the response
|
HttpClientRequest |
HttpClient.headAbs(String absoluteURI,
Handler<AsyncResult<HttpClientResponse>> responseHandler)
Create an HTTP HEAD request to send to the server using an absolute URI, specifying a response handler to receive
the response
|
HttpClient |
HttpClient.headNow(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
|
HttpClient |
HttpClient.headNow(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
|
HttpClient |
HttpClient.headNow(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
|
HttpClient |
HttpClient.headNow(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
|
<U> Future<U> |
HttpClientRequest.map(java.util.function.Function<HttpClientResponse,U> mapper)
Apply a
mapper function on this future. |
HttpClientRequest |
HttpClient.options(int port,
String host,
String requestURI,
Handler<AsyncResult<HttpClientResponse>> responseHandler)
Create an HTTP OPTIONS request to send to the server at the specified host and port, specifying a response handler to receive
the response
|
HttpClientRequest |
HttpClient.options(RequestOptions options,
Handler<AsyncResult<HttpClientResponse>> responseHandler)
Create an HTTP OPTIONS request to send to the server with the specified options, specifying a response handler to receive
the response
|
HttpClientRequest |
HttpClient.options(String requestURI,
Handler<AsyncResult<HttpClientResponse>> responseHandler)
Create an HTTP OPTIONS request to send to the server at the default host and port, specifying a response handler to receive
the response
|
HttpClientRequest |
HttpClient.options(String host,
String requestURI,
Handler<AsyncResult<HttpClientResponse>> responseHandler)
Create an HTTP OPTIONS request to send to the server at the specified host and default port, specifying a response handler to receive
the response
|
HttpClientRequest |
HttpClient.optionsAbs(String absoluteURI,
Handler<AsyncResult<HttpClientResponse>> responseHandler)
Create an HTTP OPTIONS request to send to the server using an absolute URI, specifying a response handler to receive
the response
|
HttpClient |
HttpClient.optionsNow(int port,
String host,
String requestURI,
Handler<AsyncResult<HttpClientResponse>> responseHandler)
Sends an HTTP OPTIONS request to the server at the specified host and port, specifying a response handler to receive
the response
|
HttpClient |
HttpClient.optionsNow(RequestOptions options,
Handler<AsyncResult<HttpClientResponse>> responseHandler)
Sends an HTTP OPTIONS request to the server with the specified options, specifying a response handler to receive
the response
|
HttpClient |
HttpClient.optionsNow(String requestURI,
Handler<AsyncResult<HttpClientResponse>> responseHandler)
Sends an HTTP OPTIONS request to the server at the default host and port, specifying a response handler to receive
the response
|
HttpClient |
HttpClient.optionsNow(String host,
String requestURI,
Handler<AsyncResult<HttpClientResponse>> responseHandler)
Sends an HTTP OPTIONS request to the server at the specified host and default port, specifying a response handler to receive
the response
|
Future<HttpClientResponse> |
HttpClientRequest.otherwise(java.util.function.Function<Throwable,HttpClientResponse> mapper)
Apply a
mapper function on this future. |
HttpClientRequest |
HttpClient.post(int port,
String host,
String requestURI,
Handler<AsyncResult<HttpClientResponse>> responseHandler)
Create an HTTP POST request to send to the server at the specified host and port, specifying a response handler to receive
the response
|
HttpClientRequest |
HttpClient.post(RequestOptions options,
Handler<AsyncResult<HttpClientResponse>> responseHandler)
Create an HTTP POST request to send to the server with the specified options, specifying a response handler to receive
the response
|
HttpClientRequest |
HttpClient.post(String requestURI,
Handler<AsyncResult<HttpClientResponse>> responseHandler)
Create an HTTP POST request to send to the server at the default host and port, specifying a response handler to receive
the response
|
HttpClientRequest |
HttpClient.post(String host,
String requestURI,
Handler<AsyncResult<HttpClientResponse>> responseHandler)
Create an HTTP POST request to send to the server at the specified host and default port, specifying a response handler to receive
the response
|
HttpClientRequest |
HttpClient.postAbs(String absoluteURI,
Handler<AsyncResult<HttpClientResponse>> responseHandler)
Create an HTTP POST request to send to the server using an absolute URI, specifying a response handler to receive
the response
|
HttpClientRequest |
HttpClient.put(int port,
String host,
String requestURI,
Handler<AsyncResult<HttpClientResponse>> responseHandler)
Create an HTTP PUT request to send to the server at the specified host and port, specifying a response handler to receive
the response
|
HttpClientRequest |
HttpClient.put(RequestOptions options,
Handler<AsyncResult<HttpClientResponse>> responseHandler)
Create an HTTP PUT request to send to the server with the specified options, specifying a response handler to receive
the response
|
HttpClientRequest |
HttpClient.put(String requestURI,
Handler<AsyncResult<HttpClientResponse>> responseHandler)
Create an HTTP PUT request to send to the server at the default host and port, specifying a response handler to receive
the response
|
HttpClientRequest |
HttpClient.put(String host,
String requestURI,
Handler<AsyncResult<HttpClientResponse>> responseHandler)
Create an HTTP PUT request to send to the server at the specified host and default port, specifying a response handler to receive
the response
|
HttpClientRequest |
HttpClient.putAbs(String absoluteURI,
Handler<AsyncResult<HttpClientResponse>> responseHandler)
Create an HTTP PUT request to send to the server using an absolute URI, specifying a response handler to receive
the response
|
Future<HttpClientResponse> |
HttpClientRequest.recover(java.util.function.Function<Throwable,Future<HttpClientResponse>> mapper)
Handles a failure of this Future by returning the result of another Future.
|
HttpClient |
HttpClient.redirectHandler(java.util.function.Function<HttpClientResponse,Future<HttpClientRequest>> handler)
Set a redirect handler for the http client.
|
HttpClientRequest |
HttpClient.request(HttpMethod method,
int port,
String host,
String requestURI,
Handler<AsyncResult<HttpClientResponse>> responseHandler)
Create an HTTP request to send to the server at the specified host and port, specifying a response handler to receive
the response
|
HttpClientRequest |
HttpClient.request(HttpMethod method,
RequestOptions options,
Handler<AsyncResult<HttpClientResponse>> responseHandler)
Create an HTTP request to send to the server with the specified options, specifying a response handler to receive
|
HttpClientRequest |
HttpClient.request(HttpMethod method,
SocketAddress serverAddress,
int port,
String host,
String requestURI,
Handler<AsyncResult<HttpClientResponse>> responseHandler)
Like
HttpClient.request(io.vertx.core.http.HttpMethod, io.vertx.rxjava.core.net.SocketAddress, io.vertx.core.http.RequestOptions) using the serverAddress parameter to connect to the
server instead of the absoluteURI parameter. |
HttpClientRequest |
HttpClient.request(HttpMethod method,
SocketAddress serverAddress,
RequestOptions options,
Handler<AsyncResult<HttpClientResponse>> responseHandler)
Like
HttpClient.request(io.vertx.core.http.HttpMethod, io.vertx.rxjava.core.net.SocketAddress, io.vertx.core.http.RequestOptions) using the serverAddress parameter to connect to the
server instead of the absoluteURI parameter. |
HttpClientRequest |
HttpClient.request(HttpMethod method,
String requestURI,
Handler<AsyncResult<HttpClientResponse>> responseHandler)
Create an HTTP request to send to the server at the default host and port, specifying a response handler to receive
the response
|
HttpClientRequest |
HttpClient.request(HttpMethod method,
String host,
String requestURI,
Handler<AsyncResult<HttpClientResponse>> responseHandler)
Create an HTTP request to send to the server at the specified host and default port, specifying a response handler to receive
the response
|
HttpClientRequest |
HttpClient.requestAbs(HttpMethod method,
SocketAddress serverAddress,
String absoluteURI,
Handler<AsyncResult<HttpClientResponse>> responseHandler)
Like
HttpClient.requestAbs(io.vertx.core.http.HttpMethod, java.lang.String) using the serverAddress parameter to connect to the
server instead of the absoluteURI parameter. |
HttpClientRequest |
HttpClient.requestAbs(HttpMethod method,
String absoluteURI,
Handler<AsyncResult<HttpClientResponse>> responseHandler)
Create an HTTP request to send to the server using an absolute URI, specifying a response handler to receive
the response
|
HttpClientRequest |
HttpClientRequest.setHandler(Handler<AsyncResult<HttpClientResponse>> handler) |
Copyright © 2019 Eclipse. All rights reserved.