Package | Description |
---|---|
io.vertx.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 |
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 |
---|---|
void |
HttpClient.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 |
HttpClient.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 |
HttpClient.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 |
HttpClient.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 |
HttpClient.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 |
HttpClient.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 |
HttpClient.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
|
void |
HttpClient.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 |
HttpClient.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 |
HttpClient.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 |
HttpClient.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 |
HttpClient.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 |
HttpClient.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 |
HttpClient.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
|
void |
HttpClient.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 |
HttpClient.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 |
HttpClient.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 |
HttpClient.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 |
HttpClient.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 |
HttpClient.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 |
HttpClient.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
|
HttpClientRequest |
HttpClientRequest.onComplete(Handler<AsyncResult<HttpClientResponse>> handler) |
default HttpClientRequest |
HttpClientRequest.onSuccess(Handler<HttpClientResponse> handler) |
void |
HttpClient.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 |
HttpClient.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 |
HttpClient.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 |
HttpClient.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 |
HttpClient.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 |
HttpClient.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 |
HttpClient.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 |
HttpClient.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 |
HttpClient.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 |
HttpClient.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 |
HttpClient.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 |
HttpClient.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 |
HttpClient.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 |
HttpClient.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 |
HttpClient.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 |
HttpClient.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 |
HttpClient.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 |
HttpClient.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 |
HttpClient.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 |
HttpClient.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 |
HttpClient.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 |
HttpClient.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 |
HttpClient.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 |
HttpClient.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 |
HttpClient.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 |
HttpClient.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 |
HttpClient.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 |
HttpClient.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 |
HttpClient.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 |
HttpClient.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 |
HttpClient.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 |
HttpClient.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 |
HttpClient.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 |
HttpClient.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 |
HttpClient.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 |
HttpClient.redirectHandler(Function<HttpClientResponse,Future<RequestOptions>> handler)
Set a redirect handler for the http client.
|
void |
HttpClient.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 |
HttpClient.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 |
HttpClient.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 |
HttpClient.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 |
HttpClient.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 |
HttpClient.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 |
HttpClient.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 |
HttpClient.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 |
HttpClient.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 |
HttpClient.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 |
HttpClient.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 |
HttpClient.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 |
HttpClient.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 |
HttpClient.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 |
HttpClient.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 |
HttpClient.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 |
HttpClient.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 |
HttpClient.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 |
HttpClient.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 |
HttpClient.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 |
HttpClient.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
|
Copyright © 2020 Eclipse. All rights reserved.