Uses of Interface
io.vertx.core.http.HttpClientRequest
-
Packages that use HttpClientRequest Package Description io.vertx.core.http io.vertx.httpproxy io.vertx.reactivex.core.http io.vertx.rxjava3.core.http -
-
Uses of HttpClientRequest in io.vertx.core.http
Methods in io.vertx.core.http that return HttpClientRequest Modifier and Type Method Description HttpClientRequestHttpClientRequest. authority(HostAndPort authority)Override the request authority, when using HTTP/1.x this overrides the requesthostheader, when using HTTP/2 this sets theauthoritypseudo header.HttpClientRequestHttpClientRequest. continueHandler(Handler<Void> handler)If you send an HTTP request with the headerExpectset to the value100-continueand the server responds with an interim HTTP response with a status code of100and a Continue handler has been set using this method, then thehandlerwill be called.HttpClientRequestHttpClientRequest. drainHandler(Handler<Void> handler)HttpClientRequestHttpClientRequest. earlyHintsHandler(Handler<MultiMap> handler)If the server responds with an interim HTTP response with a status code of103and a Early Hints handler has been set using this method, then thehandlerwill be called.HttpClientRequestHttpClientRequest. exceptionHandler(Handler<Throwable> handler)HttpClientRequestHttpClientRequest. 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 aTimeoutException, e.g.HttpClientRequestHttpClientRequest. pushHandler(Handler<HttpClientRequest> handler)Set a push handler for this request.HttpClientRequestHttpClientRequest. putHeader(CharSequence name, CharSequence value)LikeputHeader(String, String)but using CharSequenceHttpClientRequestHttpClientRequest. putHeader(CharSequence name, Iterable<CharSequence> values)LikeputHeader(String, Iterable)but using CharSequenceHttpClientRequestHttpClientRequest. putHeader(String name, Iterable<String> values)Put an HTTP header with multiple valuesHttpClientRequestHttpClientRequest. putHeader(String name, String value)Put an HTTP headerHttpClientRequestHttpClientRequest. redirectHandler(Function<HttpClientResponse,Future<HttpClientRequest>> handler)HttpClientRequestHttpClientResponse. request()HttpClientRequestHttpClientRequest. setChunked(boolean chunked)If chunked is true then the request will be set into HTTP chunked modeHttpClientRequestHttpClientRequest. setFollowRedirects(boolean followRedirects)Set the request to follow HTTP redirects up toHttpClientOptions.getMaxRedirects().HttpClientRequestHttpClientRequest. setMaxRedirects(int maxRedirects)Set the max number of HTTP redirects this request will follow.HttpClientRequestHttpClientRequest. setMethod(HttpMethod method)Set the HTTP method for this request.default HttpClientRequestHttpClientRequest. setStreamPriority(StreamPriority streamPriority)Sets the priority of the associated stream.HttpClientRequestHttpClientRequest. setURI(String uri)Set the request uri.HttpClientRequestHttpClientRequest. setWriteQueueMaxSize(int maxSize)HttpClientRequestHttpClientRequest. traceOperation(String op)Set the trace operation of this request.Methods in io.vertx.core.http that return types with arguments of type HttpClientRequest Modifier and Type Method Description default Future<HttpClientRequest>HttpClient. request()Create an HTTP request to send to the server with the default host and port of the client.default Future<HttpClientRequest>HttpClient. request(HttpMethod method, int port, String host, String requestURI)Create an HTTP request to send to the server at thehostandport.default Future<HttpClientRequest>HttpClient. request(HttpMethod method, String requestURI)Create an HTTP request to send to the server at the default host and port.default Future<HttpClientRequest>HttpClient. request(HttpMethod method, String host, String requestURI)Create an HTTP request to send to the server at thehostand default port.Future<HttpClientRequest>HttpClient. request(RequestOptions options)Create an HTTP request to send to the server.Method parameters in io.vertx.core.http with type arguments of type HttpClientRequest Modifier and Type Method Description HttpClientRequestHttpClientRequest. pushHandler(Handler<HttpClientRequest> handler)Set a push handler for this request.HttpClientRequestHttpClientRequest. redirectHandler(Function<HttpClientResponse,Future<HttpClientRequest>> handler) -
Uses of HttpClientRequest in io.vertx.httpproxy
Methods in io.vertx.httpproxy that return types with arguments of type HttpClientRequest Modifier and Type Method Description Future<HttpClientRequest>OriginRequestProvider. create(ProxyContext proxyContext)Create theHttpClientRequestto the origin server for a givenProxyContext.Methods in io.vertx.httpproxy with parameters of type HttpClientRequest Modifier and Type Method Description default Future<Void>ProxyRequest. proxy(HttpClientRequest request)Proxy this request to the origin server using the specifiedrequestand then send the proxy response.Future<ProxyResponse>ProxyRequest. send(HttpClientRequest request)Send this request to the origin server using the specifiedrequest. -
Uses of HttpClientRequest in io.vertx.reactivex.core.http
Methods in io.vertx.reactivex.core.http that return HttpClientRequest Modifier and Type Method Description HttpClientRequestHttpClientRequest. getDelegate()Methods in io.vertx.reactivex.core.http with parameters of type HttpClientRequest Modifier and Type Method Description static HttpClientRequestHttpClientRequest. newInstance(HttpClientRequest arg)Constructors in io.vertx.reactivex.core.http with parameters of type HttpClientRequest Constructor Description HttpClientRequest(HttpClientRequest delegate) -
Uses of HttpClientRequest in io.vertx.rxjava3.core.http
Methods in io.vertx.rxjava3.core.http that return HttpClientRequest Modifier and Type Method Description HttpClientRequestHttpClientRequest. getDelegate()Methods in io.vertx.rxjava3.core.http with parameters of type HttpClientRequest Modifier and Type Method Description static HttpClientRequestHttpClientRequest. newInstance(HttpClientRequest arg)Constructors in io.vertx.rxjava3.core.http with parameters of type HttpClientRequest Constructor Description HttpClientRequest(HttpClientRequest delegate)
-