Package | Description |
---|---|
io.vertx.core.http | |
io.vertx.reactivex.core.http | |
io.vertx.rxjava.core.http | |
io.vertx.rxjava3.core.http |
Modifier and Type | Method and Description |
---|---|
default HttpClientResponse |
HttpClientResponse.body(Handler<AsyncResult<Buffer>> handler)
Same as
body() but with an handler called when the operation completes |
default 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) |
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 |
---|---|
Future<HttpClientResponse> |
HttpClientRequest.connect()
Like
HttpClientRequest.connect(Handler) but returns a Future of the asynchronous result |
java.util.function.Function<HttpClientResponse,Future<RequestOptions>> |
HttpClient.redirectHandler() |
Future<HttpClientResponse> |
HttpClientRequest.response() |
default Future<HttpClientResponse> |
HttpClientRequest.send()
Like
HttpClientRequest.send(Handler) but returns a Future of the asynchronous result |
default Future<HttpClientResponse> |
HttpClientRequest.send(Buffer body)
Like
HttpClientRequest.send(Buffer, Handler) but returns a Future of the asynchronous result |
default Future<HttpClientResponse> |
HttpClientRequest.send(ReadStream<Buffer> body)
Like
HttpClientRequest.send(ReadStream, Handler) but returns a Future of the asynchronous result |
default Future<HttpClientResponse> |
HttpClientRequest.send(String body)
Like
HttpClientRequest.send(String, Handler) but returns a Future of the asynchronous result |
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 . |
default void |
HttpClientRequest.send(Buffer body,
Handler<AsyncResult<HttpClientResponse>> handler)
Send the request with a buffer
body . |
default void |
HttpClientRequest.send(Handler<AsyncResult<HttpClientResponse>> handler)
Send the request with an empty body.
|
default void |
HttpClientRequest.send(ReadStream<Buffer> body,
Handler<AsyncResult<HttpClientResponse>> handler)
Send the request with a stream
body . |
default void |
HttpClientRequest.send(String body,
Handler<AsyncResult<HttpClientResponse>> handler)
Send the request with a string
body . |
Modifier and Type | Method and Description |
---|---|
HttpClientResponse |
HttpClientResponse.getDelegate() |
Modifier and Type | Method and Description |
---|---|
static HttpClientResponse |
HttpClientResponse.newInstance(HttpClientResponse arg) |
Constructor and Description |
---|
HttpClientResponse(HttpClientResponse delegate) |
Modifier and Type | Method and Description |
---|---|
HttpClientResponse |
HttpClientResponse.getDelegate() |
Modifier and Type | Method and Description |
---|---|
static HttpClientResponse |
HttpClientResponse.newInstance(HttpClientResponse arg) |
Constructor and Description |
---|
HttpClientResponse(HttpClientResponse delegate) |
Modifier and Type | Method and Description |
---|---|
HttpClientResponse |
HttpClientResponse.getDelegate() |
Modifier and Type | Method and Description |
---|---|
static HttpClientResponse |
HttpClientResponse.newInstance(HttpClientResponse arg) |
Constructor and Description |
---|
HttpClientResponse(HttpClientResponse delegate) |
Copyright © 2022 Eclipse. All rights reserved.