Uses of Interface
io.vertx.core.http.HttpClientRequest
Packages that use HttpClientRequest
Package
Description
-
Uses of HttpClientRequest in io.vertx.core.http
Methods in io.vertx.core.http that return HttpClientRequestModifier and TypeMethodDescriptionHttpClientRequest.authority(HostAndPort authority) Override the request authority, when using HTTP/1.x this overrides the requesthostheader, when using HTTP/2 this sets theauthoritypseudo header.HttpClientRequest.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.HttpClientRequest.drainHandler(Handler<Void> handler) HttpClientRequest.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.HttpClientRequest.exceptionHandler(Handler<Throwable> handler) 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 aTimeoutException, e.g.HttpClientRequest.pushHandler(Handler<HttpClientRequest> handler) Set a push handler for this request.HttpClientRequest.putHeader(CharSequence name, CharSequence value) LikeHttpClientRequest.putHeader(String, String)but using CharSequenceHttpClientRequest.putHeader(CharSequence name, Iterable<CharSequence> values) LikeHttpClientRequest.putHeader(String, Iterable)but using CharSequencePut an HTTP header with multiple valuesPut an HTTP headerHttpClientRequest.redirectHandler(Function<HttpClientResponse, Future<HttpClientRequest>> handler) HttpClientResponse.request()HttpClientRequest.setChunked(boolean chunked) If chunked is true then the request will be set into HTTP chunked modeHttpClientRequest.setFollowRedirects(boolean followRedirects) Set the request to follow HTTP redirects up toHttpClientOptions.getMaxRedirects().HttpClientRequest.setMaxRedirects(int maxRedirects) Set the max number of HTTP redirects this request will follow.HttpClientRequest.setMethod(HttpMethod method) Set the HTTP method for this request.default HttpClientRequestHttpClientRequest.setStreamPriority(StreamPriority streamPriority) Sets the priority of the associated stream.Set the request uri.HttpClientRequest.setWriteQueueMaxSize(int maxSize) HttpClientRequest.traceOperation(String op) Set the trace operation of this request.Methods in io.vertx.core.http that return types with arguments of type HttpClientRequestModifier and TypeMethodDescriptiondefault 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.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 HttpClientRequestModifier and TypeMethodDescriptionHttpClientRequest.pushHandler(Handler<HttpClientRequest> handler) Set a push handler for this request.HttpClientRequest.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 HttpClientRequestModifier and TypeMethodDescriptionOriginRequestProvider.create(ProxyContext proxyContext) Create theHttpClientRequestto the origin server for a givenProxyContext.Methods in io.vertx.httpproxy with parameters of type HttpClientRequestModifier and TypeMethodDescriptionProxyRequest.proxy(HttpClientRequest request) Proxy this request to the origin server using the specifiedrequestand then send the proxy response.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 HttpClientRequestMethods in io.vertx.reactivex.core.http with parameters of type HttpClientRequestModifier and TypeMethodDescriptionstatic HttpClientRequestHttpClientRequest.newInstance(HttpClientRequest arg) Constructors in io.vertx.reactivex.core.http with parameters of type HttpClientRequest -
Uses of HttpClientRequest in io.vertx.rxjava3.core.http
Methods in io.vertx.rxjava3.core.http that return HttpClientRequestMethods in io.vertx.rxjava3.core.http with parameters of type HttpClientRequestModifier and TypeMethodDescriptionstatic HttpClientRequestHttpClientRequest.newInstance(HttpClientRequest arg) Constructors in io.vertx.rxjava3.core.http with parameters of type HttpClientRequest