HttpClientRequest |
HttpClientRequest.authority(HostAndPort authority) |
Override the request authority, when using HTTP/1.x this overrides the request host header, when using
HTTP/2 this sets the authority pseudo header.
|
HttpClientRequest |
HttpClientRequest.continueHandler(Handler<Void> handler) |
If you send an HTTP request with the header Expect set to the value 100-continue
and the server responds with an interim HTTP response with a status code of 100 and a Continue handler
has been set using this method, then the handler will be called.
|
HttpClientRequest |
HttpClientRequest.drainHandler(Handler<Void> handler) |
|
HttpClientRequest |
HttpClientRequest.earlyHintsHandler(Handler<MultiMap> handler) |
If the server responds with an interim HTTP response with a status code of 103 and a Early Hints handler
has been set using this method, then the handler will be called.
|
HttpClientRequest |
HttpClientRequest.exceptionHandler(Handler<Throwable> handler) |
|
HttpClientRequest |
HttpClientRequest.idleTimeout(long timeout) |
Sets the amount of time after which, if the request does not return any data within the timeout period,
the request/response is closed and the related futures are failed with a TimeoutException ,
e.g.
|
static HttpClientRequest |
HttpClientRequest.newInstance(HttpClientRequest arg) |
|
HttpClientRequest |
HttpClientRequest.pushHandler(Handler<HttpClientRequest> handler) |
Set a push handler for this request.
|
HttpClientRequest |
HttpClientRequest.putHeader(CharSequence name,
CharSequence value) |
|
HttpClientRequest |
HttpClientRequest.putHeader(CharSequence name,
Iterable<CharSequence> values) |
|
HttpClientRequest |
HttpClientRequest.putHeader(String name,
Iterable<String> values) |
Put an HTTP header with multiple values
|
HttpClientRequest |
HttpClientRequest.putHeader(String name,
String value) |
Put an HTTP header
|
HttpClientRequest |
HttpClientRequest.redirectHandler(Function<HttpClientResponse,Future<HttpClientRequest>> handler) |
|
HttpClientRequest |
HttpClientResponse.request() |
|
HttpClientRequest |
HttpClientRequest.response() |
|
HttpClientRequest |
HttpClientRequest.response(Handler<AsyncResult<HttpClientResponse>> handler) |
|
HttpClientRequest |
HttpClientRequest.sendHead() |
|
HttpClientRequest |
HttpClientRequest.sendHead(Handler<AsyncResult<Void>> completionHandler) |
|
HttpClientRequest |
HttpClientRequest.setChunked(boolean chunked) |
If chunked is true then the request will be set into HTTP chunked mode
|
HttpClientRequest |
HttpClientRequest.setFollowRedirects(boolean followRedirects) |
|
HttpClientRequest |
HttpClientRequest.setHost(String host) |
Deprecated.
|
HttpClientRequest |
HttpClientRequest.setMaxRedirects(int maxRedirects) |
Set the max number of HTTP redirects this request will follow.
|
HttpClientRequest |
HttpClientRequest.setMethod(HttpMethod method) |
Set the HTTP method for this request.
|
HttpClientRequest |
HttpClientRequest.setPort(int port) |
Deprecated.
|
HttpClientRequest |
HttpClientRequest.setStreamPriority(StreamPriority streamPriority) |
Sets the priority of the associated stream.
|
HttpClientRequest |
HttpClientRequest.setTimeout(long timeout) |
Deprecated.
|
HttpClientRequest |
HttpClientRequest.setURI(String uri) |
Set the request uri.
|
HttpClientRequest |
HttpClientRequest.setWriteQueueMaxSize(int maxSize) |
|
HttpClientRequest |
HttpClientRequest.traceOperation(String op) |
Set the trace operation of this request.
|
HttpClientRequest |
HttpClientRequest.writeCustomFrame(int type,
int flags,
Buffer payload) |
Write an HTTP/2 frame to the request, allowing to extend the HTTP/2 protocol.
|
HttpClientRequest |
HttpClientRequest.writeCustomFrame(HttpFrame frame) |
|