| Package | Description | 
|---|---|
| io.vertx.rxjava.core.http | 
| Modifier and Type | Field and Description | 
|---|---|
static io.vertx.lang.rx.TypeArg<HttpClientRequest> | 
HttpClientRequest.__TYPE_ARG  | 
| Modifier and Type | Method and Description | 
|---|---|
HttpClientRequest | 
HttpClientRequest.connectionHandler(Handler<HttpConnection> handler)
Deprecated.  
 | 
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 | 
HttpClient.delete(int port,
      String host,
      String requestURI)
Create an HTTP DELETE request to send to the server at the specified host and port. 
 | 
HttpClientRequest | 
HttpClient.delete(int port,
      String host,
      String requestURI,
      Handler<HttpClientResponse> responseHandler)
Deprecated.  
 | 
HttpClientRequest | 
HttpClient.delete(RequestOptions options)
Create an HTTP DELETE request to send to the server with the specified options. 
 | 
HttpClientRequest | 
HttpClient.delete(RequestOptions options,
      Handler<HttpClientResponse> responseHandler)
Deprecated.  
 | 
HttpClientRequest | 
HttpClient.delete(String requestURI)
Create an HTTP DELETE request to send to the server at the default host and port. 
 | 
HttpClientRequest | 
HttpClient.delete(String requestURI,
      Handler<HttpClientResponse> responseHandler)
Deprecated.  
 | 
HttpClientRequest | 
HttpClient.delete(String host,
      String requestURI)
Create an HTTP DELETE request to send to the server at the specified host and default port. 
 | 
HttpClientRequest | 
HttpClient.delete(String host,
      String requestURI,
      Handler<HttpClientResponse> responseHandler)
Deprecated.  
 | 
HttpClientRequest | 
HttpClient.deleteAbs(String absoluteURI)
Create an HTTP DELETE request to send to the server using an absolute URI 
 | 
HttpClientRequest | 
HttpClient.deleteAbs(String absoluteURI,
         Handler<HttpClientResponse> responseHandler)
Deprecated.  
 | 
HttpClientRequest | 
HttpClientRequest.drainHandler(Handler<Void> handler)  | 
HttpClientRequest | 
HttpClientRequest.endHandler(Handler<Void> endHandler)
Deprecated.  
 | 
HttpClientRequest | 
HttpClientRequest.exceptionHandler(Handler<Throwable> handler)  | 
HttpClientRequest | 
HttpClientRequest.fetch(long amount)
Deprecated.  
 | 
HttpClientRequest | 
HttpClient.get(int port,
   String host,
   String requestURI)
Create an HTTP GET request to send to the server at the specified host and port. 
 | 
HttpClientRequest | 
HttpClient.get(int port,
   String host,
   String requestURI,
   Handler<HttpClientResponse> responseHandler)
Deprecated.  
 | 
HttpClientRequest | 
HttpClient.get(RequestOptions options)
Create an HTTP GET request to send to the server with the specified options. 
 | 
HttpClientRequest | 
HttpClient.get(RequestOptions options,
   Handler<HttpClientResponse> responseHandler)
Deprecated.  
 | 
HttpClientRequest | 
HttpClient.get(String requestURI)
Create an HTTP GET request to send to the server at the default host and port. 
 | 
HttpClientRequest | 
HttpClient.get(String requestURI,
   Handler<HttpClientResponse> responseHandler)
Deprecated.  
 | 
HttpClientRequest | 
HttpClient.get(String host,
   String requestURI)
Create an HTTP GET request to send to the server at the specified host and default port. 
 | 
HttpClientRequest | 
HttpClient.get(String host,
   String requestURI,
   Handler<HttpClientResponse> responseHandler)
Deprecated.  
 | 
HttpClientRequest | 
HttpClient.getAbs(String absoluteURI)
Create an HTTP GET request to send to the server using an absolute URI 
 | 
HttpClientRequest | 
HttpClient.getAbs(String absoluteURI,
      Handler<HttpClientResponse> responseHandler)
Deprecated.  
 | 
HttpClientRequest | 
HttpClientRequest.handler(Handler<HttpClientResponse> handler)
Deprecated.  
 | 
HttpClientRequest | 
HttpClient.head(int port,
    String host,
    String requestURI)
Create an HTTP HEAD request to send to the server at the specified host and port. 
 | 
HttpClientRequest | 
HttpClient.head(int port,
    String host,
    String requestURI,
    Handler<HttpClientResponse> responseHandler)
Deprecated.  
 | 
HttpClientRequest | 
HttpClient.head(RequestOptions options)
Create an HTTP HEAD request to send to the server with the specified options. 
 | 
HttpClientRequest | 
HttpClient.head(RequestOptions options,
    Handler<HttpClientResponse> responseHandler)
Deprecated.  
 | 
HttpClientRequest | 
HttpClient.head(String requestURI)
Create an HTTP HEAD request to send to the server at the default host and port. 
 | 
HttpClientRequest | 
HttpClient.head(String requestURI,
    Handler<HttpClientResponse> responseHandler)
Deprecated.  
 | 
HttpClientRequest | 
HttpClient.head(String host,
    String requestURI)
Create an HTTP HEAD request to send to the server at the specified host and default port. 
 | 
HttpClientRequest | 
HttpClient.head(String host,
    String requestURI,
    Handler<HttpClientResponse> responseHandler)
Deprecated.  
 | 
HttpClientRequest | 
HttpClient.headAbs(String absoluteURI)
Create an HTTP HEAD request to send to the server using an absolute URI 
 | 
HttpClientRequest | 
HttpClient.headAbs(String absoluteURI,
       Handler<HttpClientResponse> responseHandler)
Deprecated.  
 | 
static HttpClientRequest | 
HttpClientRequest.newInstance(HttpClientRequest arg)  | 
HttpClientRequest | 
HttpClient.options(int port,
       String host,
       String requestURI)
Create an HTTP OPTIONS request to send to the server at the specified host and port. 
 | 
HttpClientRequest | 
HttpClient.options(int port,
       String host,
       String requestURI,
       Handler<HttpClientResponse> responseHandler)
Deprecated.  
 | 
HttpClientRequest | 
HttpClient.options(RequestOptions options)
Create an HTTP OPTIONS request to send to the server with the specified options. 
 | 
HttpClientRequest | 
HttpClient.options(RequestOptions options,
       Handler<HttpClientResponse> responseHandler)
Deprecated.  
 | 
HttpClientRequest | 
HttpClient.options(String requestURI)
Create an HTTP OPTIONS request to send to the server at the default host and port. 
 | 
HttpClientRequest | 
HttpClient.options(String requestURI,
       Handler<HttpClientResponse> responseHandler)
Deprecated.  
 | 
HttpClientRequest | 
HttpClient.options(String host,
       String requestURI)
Create an HTTP OPTIONS request to send to the server at the specified host and default port. 
 | 
HttpClientRequest | 
HttpClient.options(String host,
       String requestURI,
       Handler<HttpClientResponse> responseHandler)
Deprecated.  
 | 
HttpClientRequest | 
HttpClient.optionsAbs(String absoluteURI)
Create an HTTP OPTIONS request to send to the server using an absolute URI 
 | 
HttpClientRequest | 
HttpClient.optionsAbs(String absoluteURI,
          Handler<HttpClientResponse> responseHandler)
Deprecated.  
 | 
HttpClientRequest | 
HttpClientRequest.pause()
Deprecated.  
 | 
HttpClientRequest | 
HttpClient.post(int port,
    String host,
    String requestURI)
Create an HTTP POST request to send to the server at the specified host and port. 
 | 
HttpClientRequest | 
HttpClient.post(int port,
    String host,
    String requestURI,
    Handler<HttpClientResponse> responseHandler)
Deprecated.  
 | 
HttpClientRequest | 
HttpClient.post(RequestOptions options)
Create an HTTP POST request to send to the server with the specified options. 
 | 
HttpClientRequest | 
HttpClient.post(RequestOptions options,
    Handler<HttpClientResponse> responseHandler)
Deprecated.  
 | 
HttpClientRequest | 
HttpClient.post(String requestURI)
Create an HTTP POST request to send to the server at the default host and port. 
 | 
HttpClientRequest | 
HttpClient.post(String requestURI,
    Handler<HttpClientResponse> responseHandler)
Deprecated.  
 | 
HttpClientRequest | 
HttpClient.post(String host,
    String requestURI)
Create an HTTP POST request to send to the server at the specified host and default port. 
 | 
HttpClientRequest | 
HttpClient.post(String host,
    String requestURI,
    Handler<HttpClientResponse> responseHandler)
Deprecated.  
 | 
HttpClientRequest | 
HttpClient.postAbs(String absoluteURI)
Create an HTTP POST request to send to the server using an absolute URI 
 | 
HttpClientRequest | 
HttpClient.postAbs(String absoluteURI,
       Handler<HttpClientResponse> responseHandler)
Deprecated.  
 | 
HttpClientRequest | 
HttpClientRequest.pushHandler(Handler<HttpClientRequest> handler)
Set a push handler for this request.
 The handler is called when the client receives a push promise from the server. 
 | 
HttpClientRequest | 
HttpClient.put(int port,
   String host,
   String requestURI)
Create an HTTP PUT request to send to the server at the specified host and port. 
 | 
HttpClientRequest | 
HttpClient.put(int port,
   String host,
   String requestURI,
   Handler<HttpClientResponse> responseHandler)
Deprecated.  
 | 
HttpClientRequest | 
HttpClient.put(RequestOptions options)
Create an HTTP PUT request to send to the server with the specified options. 
 | 
HttpClientRequest | 
HttpClient.put(RequestOptions options,
   Handler<HttpClientResponse> responseHandler)
Deprecated.  
 | 
HttpClientRequest | 
HttpClient.put(String requestURI)
Create an HTTP PUT request to send to the server at the default host and port. 
 | 
HttpClientRequest | 
HttpClient.put(String requestURI,
   Handler<HttpClientResponse> responseHandler)
Deprecated.  
 | 
HttpClientRequest | 
HttpClient.put(String host,
   String requestURI)
Create an HTTP PUT request to send to the server at the specified host and default port. 
 | 
HttpClientRequest | 
HttpClient.put(String host,
   String requestURI,
   Handler<HttpClientResponse> responseHandler)
Deprecated.  
 | 
HttpClientRequest | 
HttpClient.putAbs(String absoluteURI)
Create an HTTP PUT request to send to the server using an absolute URI 
 | 
HttpClientRequest | 
HttpClient.putAbs(String absoluteURI,
      Handler<HttpClientResponse> responseHandler)
Deprecated.  
 | 
HttpClientRequest | 
HttpClientRequest.putHeader(CharSequence name,
         CharSequence value)
Like  
putHeader(java.lang.String, java.lang.String) but using CharSequence | 
HttpClientRequest | 
HttpClientRequest.putHeader(CharSequence name,
         Iterable<CharSequence> values)
Like  
putHeader(java.lang.String, java.lang.String) but using CharSequence | 
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 | 
HttpClientResponse.request()  | 
HttpClientRequest | 
HttpClient.request(HttpMethod method,
       int port,
       String host,
       String requestURI)
Create an HTTP request to send to the server at the specified host and port. 
 | 
HttpClientRequest | 
HttpClient.request(HttpMethod method,
       int port,
       String host,
       String requestURI,
       Handler<HttpClientResponse> responseHandler)
Deprecated.  
 | 
HttpClientRequest | 
HttpClient.request(HttpMethod method,
       RequestOptions options)
Create an HTTP request to send to the server with the specified options. 
 | 
HttpClientRequest | 
HttpClient.request(HttpMethod method,
       RequestOptions options,
       Handler<HttpClientResponse> responseHandler)
Deprecated.  
 | 
HttpClientRequest | 
HttpClient.request(HttpMethod method,
       SocketAddress serverAddress,
       int port,
       String host,
       String requestURI)
Like  
HttpClient.request(io.vertx.core.http.HttpMethod, io.vertx.rxjava.core.net.SocketAddress, io.vertx.core.http.RequestOptions) using the serverAddress parameter to connect to the
 server instead of the absoluteURI parameter. | 
HttpClientRequest | 
HttpClient.request(HttpMethod method,
       SocketAddress serverAddress,
       int port,
       String host,
       String requestURI,
       Handler<HttpClientResponse> responseHandler)
Like  
HttpClient.request(io.vertx.core.http.HttpMethod, io.vertx.rxjava.core.net.SocketAddress, io.vertx.core.http.RequestOptions) using the serverAddress parameter to connect to the
 server instead of the absoluteURI parameter. | 
HttpClientRequest | 
HttpClient.request(HttpMethod method,
       SocketAddress serverAddress,
       RequestOptions options)
Like  
HttpClient.request(io.vertx.core.http.HttpMethod, io.vertx.rxjava.core.net.SocketAddress, io.vertx.core.http.RequestOptions) using the serverAddress parameter to connect to the
 server instead of the absoluteURI parameter. | 
HttpClientRequest | 
HttpClient.request(HttpMethod method,
       SocketAddress serverAddress,
       RequestOptions options,
       Handler<HttpClientResponse> responseHandler)
Like  
HttpClient.request(io.vertx.core.http.HttpMethod, io.vertx.rxjava.core.net.SocketAddress, io.vertx.core.http.RequestOptions) using the serverAddress parameter to connect to the
 server instead of the absoluteURI parameter. | 
HttpClientRequest | 
HttpClient.request(HttpMethod method,
       String requestURI)
Create an HTTP request to send to the server at the default host and port. 
 | 
HttpClientRequest | 
HttpClient.request(HttpMethod method,
       String requestURI,
       Handler<HttpClientResponse> responseHandler)
Deprecated.  
 | 
HttpClientRequest | 
HttpClient.request(HttpMethod method,
       String host,
       String requestURI)
Create an HTTP request to send to the server at the specified host and default port. 
 | 
HttpClientRequest | 
HttpClient.request(HttpMethod method,
       String host,
       String requestURI,
       Handler<HttpClientResponse> responseHandler)
Deprecated.  
 | 
HttpClientRequest | 
HttpClient.requestAbs(HttpMethod method,
          SocketAddress serverAddress,
          String absoluteURI)
Like  
HttpClient.requestAbs(io.vertx.core.http.HttpMethod, java.lang.String) using the serverAddress parameter to connect to the
 server instead of the absoluteURI parameter. | 
HttpClientRequest | 
HttpClient.requestAbs(HttpMethod method,
          SocketAddress serverAddress,
          String absoluteURI,
          Handler<HttpClientResponse> responseHandler)
Like  
HttpClient.requestAbs(io.vertx.core.http.HttpMethod, java.lang.String) using the serverAddress parameter to connect to the
 server instead of the absoluteURI parameter. | 
HttpClientRequest | 
HttpClient.requestAbs(HttpMethod method,
          String absoluteURI)
Create an HTTP request to send to the server using an absolute URI 
 | 
HttpClientRequest | 
HttpClient.requestAbs(HttpMethod method,
          String absoluteURI,
          Handler<HttpClientResponse> responseHandler)
Deprecated.  
 | 
HttpClientRequest | 
HttpClientRequest.resume()
Deprecated.  
 | 
HttpClientRequest | 
HttpClientRequest.sendHead()
Forces the head of the request to be written before  
end(java.lang.String) is called on the request or any data is
 written to it. | 
HttpClientRequest | 
HttpClientRequest.sendHead(Handler<HttpVersion> completionHandler)
Like  
sendHead() but with an handler after headers have been sent. | 
HttpClientRequest | 
HttpClientRequest.setChunked(boolean chunked)
If chunked is true then the request will be set into HTTP chunked mode 
 | 
HttpClientRequest | 
HttpClientRequest.setFollowRedirects(boolean followRedirects)
Set the request to follow HTTP redirects up to  
HttpClientOptions. | 
HttpClientRequest | 
HttpClientRequest.setHost(String host)
Set the request host.
 For HTTP/2 it sets the  pseudo header otherwise it sets the  header 
 | 
HttpClientRequest | 
HttpClientRequest.setMaxRedirects(int maxRedirects)
Set the max number of HTTP redirects this request will follow. 
 | 
HttpClientRequest | 
HttpClientRequest.setRawMethod(String method)
Set the value the method to send when the method  is used. 
 | 
HttpClientRequest | 
HttpClientRequest.setStreamPriority(StreamPriority streamPriority)
Sets the priority of the associated stream. 
 | 
HttpClientRequest | 
HttpClientRequest.setTimeout(long timeoutMs)
Set's the amount of time after which if the request does not return any data within the timeout period an
  
TimeoutException will be passed to the exception handler (if provided) and
 the request will be closed. | 
HttpClientRequest | 
HttpClientRequest.setWriteQueueMaxSize(int maxSize)  | 
HttpClientRequest | 
HttpClientRequest.write(Buffer data)  | 
HttpClientRequest | 
HttpClientRequest.write(Buffer data,
     Handler<AsyncResult<Void>> handler)
Same as  
write(io.vertx.rxjava.core.buffer.Buffer) but with an handler called when the operation completes | 
HttpClientRequest | 
HttpClientRequest.write(String chunk)
Write a  
String to the request body, encoded as UTF-8. | 
HttpClientRequest | 
HttpClientRequest.write(String chunk,
     Handler<AsyncResult<Void>> handler)
Same as  
write(io.vertx.rxjava.core.buffer.Buffer) but with an handler called when the operation completes | 
HttpClientRequest | 
HttpClientRequest.write(String chunk,
     String enc)
Write a  
String to the request body, encoded using the encoding enc. | 
HttpClientRequest | 
HttpClientRequest.write(String chunk,
     String enc,
     Handler<AsyncResult<Void>> handler)
Same as  
write(io.vertx.rxjava.core.buffer.Buffer) but with an handler called when the operation completes | 
HttpClientRequest | 
HttpClientRequest.writeCustomFrame(HttpFrame frame)
Like  
writeCustomFrame(int, int, io.vertx.rxjava.core.buffer.Buffer) but with an HttpFrame. | 
HttpClientRequest | 
HttpClientRequest.writeCustomFrame(int type,
                int flags,
                Buffer payload)
Write an HTTP/2 frame to the request, allowing to extend the HTTP/2 protocol. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
HttpClientRequest | 
HttpClientRequest.pushHandler(Handler<HttpClientRequest> handler)
Set a push handler for this request.
 The handler is called when the client receives a push promise from the server. 
 | 
HttpClient | 
HttpClient.redirectHandler(java.util.function.Function<HttpClientResponse,Future<HttpClientRequest>> handler)
Set a redirect handler for the http client. 
 | 
Copyright © 2020 Eclipse. All rights reserved.