Package | Description |
---|---|
io.vertx.rxjava.core.http |
Modifier and Type | Field and Description |
---|---|
static 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 |
---|---|
Future<HttpClientResponse> |
HttpClientRequest.otherwise(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(Function<Throwable,Future<HttpClientResponse>> mapper)
Handles a failure of this Future by returning the result of another Future.
|
rx.Single<HttpClientResponse> |
HttpClientRequest.rxConnect()
Create an HTTP tunnel to the server.
|
rx.Single<HttpClientResponse> |
HttpClientRequest.rxOnComplete() |
rx.Single<HttpClientResponse> |
HttpClientRequest.rxSend()
Send the request with an empty body.
|
rx.Single<HttpClientResponse> |
HttpClientRequest.rxSend(Buffer body)
Send the request with a buffer
body . |
rx.Single<HttpClientResponse> |
HttpClientRequest.rxSend(rx.Observable<Buffer> body)
Send the request with a stream
body . |
rx.Single<HttpClientResponse> |
HttpClientRequest.rxSend(ReadStream<Buffer> body)
Send the request with a stream
body . |
rx.Single<HttpClientResponse> |
HttpClientRequest.rxSend(String body)
Send the request with a string
body . |
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(Function<HttpClientResponse,Future<U>> mapper)
Compose this future with a
mapper function. |
<U> Future<U> |
HttpClientRequest.compose(Function<HttpClientResponse,Future<U>> successMapper,
Function<Throwable,Future<U>> failureMapper)
Compose this future with a
successMapper and failureMapper functions. |
void |
HttpClientRequest.connect(Handler<AsyncResult<HttpClientResponse>> handler)
Create an HTTP tunnel to the server.
|
<U> Future<U> |
HttpClientRequest.flatMap(Function<HttpClientResponse,Future<U>> mapper)
|
<U> Future<U> |
HttpClientRequest.map(Function<HttpClientResponse,U> mapper)
Apply a
mapper function on this future. |
HttpClientRequest |
HttpClientRequest.onComplete(Handler<AsyncResult<HttpClientResponse>> handler) |
HttpClientRequest |
HttpClientRequest.onSuccess(Handler<HttpClientResponse> handler) |
Future<HttpClientResponse> |
HttpClientRequest.otherwise(Function<Throwable,HttpClientResponse> mapper)
Apply a
mapper function on this future. |
Future<HttpClientResponse> |
HttpClientRequest.recover(Function<Throwable,Future<HttpClientResponse>> mapper)
Handles a failure of this Future by returning the result of another Future.
|
HttpClient |
HttpClient.redirectHandler(Function<HttpClientResponse,Future<RequestOptions>> handler)
Set a redirect handler for the http client.
|
void |
HttpClientRequest.send(Buffer body,
Handler<AsyncResult<HttpClientResponse>> handler)
Send the request with a buffer
body . |
void |
HttpClientRequest.send(Handler<AsyncResult<HttpClientResponse>> handler)
Send the request with an empty body.
|
void |
HttpClientRequest.send(rx.Observable<Buffer> body,
Handler<AsyncResult<HttpClientResponse>> handler)
Send the request with a stream
body . |
void |
HttpClientRequest.send(ReadStream<Buffer> body,
Handler<AsyncResult<HttpClientResponse>> handler)
Send the request with a stream
body . |
void |
HttpClientRequest.send(String body,
Handler<AsyncResult<HttpClientResponse>> handler)
Send the request with a string
body . |
Copyright © 2020 Eclipse. All rights reserved.