Uses of Class
io.vertx.reactivex.core.http.HttpClientRequest
-
Packages that use HttpClientRequest Package Description io.vertx.reactivex.core.http -
-
Uses of HttpClientRequest in io.vertx.reactivex.core.http
Fields in io.vertx.reactivex.core.http with type parameters of type HttpClientRequest Modifier and Type Field Description static TypeArg<HttpClientRequest>HttpClientRequest. __TYPE_ARGMethods in io.vertx.reactivex.core.http that return HttpClientRequest Modifier and Type Method Description HttpClientRequestHttpClientRequest. continueHandler(io.vertx.core.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(io.vertx.core.Handler<Void> handler)HttpClientRequestHttpClientRequest. exceptionHandler(io.vertx.core.Handler<Throwable> handler)static HttpClientRequestHttpClientRequest. newInstance(io.vertx.core.http.HttpClientRequest arg)HttpClientRequestHttpClientRequest. pushHandler(io.vertx.core.Handler<HttpClientRequest> handler)Set a push handler for this request.HttpClientRequestHttpClientRequest. putHeader(CharSequence name, CharSequence value)LikeputHeader(java.lang.String, java.lang.String)but using CharSequenceHttpClientRequestHttpClientRequest. putHeader(CharSequence name, Iterable<CharSequence> values)LikeputHeader(java.lang.String, java.lang.String)but using CharSequenceHttpClientRequestHttpClientRequest. putHeader(String name, Iterable<String> values)Put an HTTP header with multiple valuesHttpClientRequestHttpClientRequest. putHeader(String name, String value)Put an HTTP headerHttpClientRequestHttpClientResponse. request()HttpClientRequestHttpClientRequest. response()Set a callback for the associatedHttpClientResponse.HttpClientRequestHttpClientRequest. response(io.vertx.core.Handler<io.vertx.core.AsyncResult<HttpClientResponse>> handler)Set a callback for the associatedHttpClientResponse.HttpClientRequestHttpClientRequest. sendHead()LikesendHead(io.vertx.core.Handler<io.vertx.core.AsyncResult<java.lang.Void>>)but with an handler after headers have been sent.HttpClientRequestHttpClientRequest. sendHead(io.vertx.core.Handler<io.vertx.core.AsyncResult<Void>> completionHandler)LikesendHead(io.vertx.core.Handler<io.vertx.core.AsyncResult<java.lang.Void>>)but with an handler after headers have been sent.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.HttpClientRequestHttpClientRequest. setHost(String host)Set the host value of the HTTP/1.1hostheader or HTTP/2authoritypseudo headerHttpClientRequestHttpClientRequest. setMaxRedirects(int maxRedirects)Set the max number of HTTP redirects this request will follow.HttpClientRequestHttpClientRequest. setMethod(io.vertx.core.http.HttpMethod method)Set the HTTP method for this request.HttpClientRequestHttpClientRequest. setPort(int port)Set the port value of the HTTP/1.1hostheader or HTTP/2authoritypseudo headerHttpClientRequestHttpClientRequest. setStreamPriority(io.vertx.core.http.StreamPriority streamPriority)Sets the priority of the associated stream.HttpClientRequestHttpClientRequest. setTimeout(long timeoutMs)Set's the amount of time after which if the request does not return any data within the timeout period anTimeoutExceptionwill be passed to the exception handler (if provided) and the request will be closed.HttpClientRequestHttpClientRequest. setURI(String uri)Set the request uri.HttpClientRequestHttpClientRequest. setWriteQueueMaxSize(int maxSize)HttpClientRequestHttpClientRequest. writeCustomFrame(int type, int flags, Buffer payload)Write an HTTP/2 frame to the request, allowing to extend the HTTP/2 protocol.HttpClientRequestHttpClientRequest. writeCustomFrame(HttpFrame frame)LikewriteCustomFrame(int, int, io.vertx.reactivex.core.buffer.Buffer)but with anHttpFrame.Methods in io.vertx.reactivex.core.http that return types with arguments of type HttpClientRequest Modifier and Type Method Description io.reactivex.Single<HttpClientRequest>HttpClient. rxRequest(io.vertx.core.http.HttpMethod method, int port, String host, String requestURI)Create an HTTP request to send to the server at thehostandport.io.reactivex.Single<HttpClientRequest>HttpClient. rxRequest(io.vertx.core.http.HttpMethod method, String requestURI)Create an HTTP request to send to the server at the default host and port.io.reactivex.Single<HttpClientRequest>HttpClient. rxRequest(io.vertx.core.http.HttpMethod method, String host, String requestURI)Create an HTTP request to send to the server at thehostand default port.io.reactivex.Single<HttpClientRequest>HttpClient. rxRequest(io.vertx.core.http.RequestOptions options)Create an HTTP request to send to the server.Method parameters in io.vertx.reactivex.core.http with type arguments of type HttpClientRequest Modifier and Type Method Description HttpClientRequestHttpClientRequest. pushHandler(io.vertx.core.Handler<HttpClientRequest> handler)Set a push handler for this request.voidHttpClient. request(io.vertx.core.http.HttpMethod method, int port, String host, String requestURI, io.vertx.core.Handler<io.vertx.core.AsyncResult<HttpClientRequest>> handler)Create an HTTP request to send to the server at thehostandport.voidHttpClient. request(io.vertx.core.http.HttpMethod method, String requestURI, io.vertx.core.Handler<io.vertx.core.AsyncResult<HttpClientRequest>> handler)Create an HTTP request to send to the server at the default host and port.voidHttpClient. request(io.vertx.core.http.HttpMethod method, String host, String requestURI, io.vertx.core.Handler<io.vertx.core.AsyncResult<HttpClientRequest>> handler)Create an HTTP request to send to the server at thehostand default port.voidHttpClient. request(io.vertx.core.http.RequestOptions options, io.vertx.core.Handler<io.vertx.core.AsyncResult<HttpClientRequest>> handler)Create an HTTP request to send to the server.
-