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 |
HttpClientResponse.resume() |
HttpClientResponse |
HttpClientResponse.streamPriorityHandler(Handler<StreamPriority> handler)
Set an handler for stream priority changes.
|
Modifier and Type | Method and Description |
---|---|
Single<HttpClientResponse> |
HttpClientRequest.rxConnect()
Create an HTTP tunnel to the server.
|
Single<HttpClientResponse> |
HttpClientRequest.rxResponse()
Set a callback for the associated
HttpClientResponse . |
Single<HttpClientResponse> |
HttpClientRequest.rxSend()
Send the request with an empty body.
|
Single<HttpClientResponse> |
HttpClientRequest.rxSend(Buffer body)
Send the request with a buffer
body . |
Single<HttpClientResponse> |
HttpClientRequest.rxSend(Observable<Buffer> body)
Send the request with a stream
body . |
Single<HttpClientResponse> |
HttpClientRequest.rxSend(ReadStream<Buffer> body)
Send the request with a stream
body . |
Single<HttpClientResponse> |
HttpClientRequest.rxSend(String body)
Send the request with a string
body . |
Modifier and Type | Method and Description |
---|---|
void |
HttpClientRequest.connect(Handler<AsyncResult<HttpClientResponse>> handler)
Create an HTTP tunnel to the server.
|
HttpClient |
HttpClient.redirectHandler(java.util.function.Function<HttpClientResponse,Future<RequestOptions>> handler)
Set a redirect handler for the http client.
|
HttpClientRequest |
HttpClientRequest.response(Handler<AsyncResult<HttpClientResponse>> handler)
Set a callback for the associated
HttpClientResponse . |
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(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 © 2022 Eclipse. All rights reserved.