vertx / io.vertx.reactivex.core.http / HttpClient / post

post

open fun post(options: RequestOptions): HttpClientRequest

Create an HTTP POST request to send to the server with the specified options.

Parameters

options - the request options

Return
an HTTP client request object

open fun post(port: Int, host: String, requestURI: String): HttpClientRequest

Create an HTTP POST request to send to the server at the specified host and port.

Parameters

port - the port

host - the host

requestURI - the relative URI

Return
an HTTP client request object

open fun post(host: String, requestURI: String): HttpClientRequest

Create an HTTP POST request to send to the server at the specified host and default port.

Parameters

host - the host

requestURI - the relative URI

Return
an HTTP client request object

open fun post(options: RequestOptions, responseHandler: Handler<HttpClientResponse>): HttpClientRequest

Create an HTTP POST request to send to the server with the specified options, specifying a response handler to receive the response

Parameters

options - the request options

responseHandler - the response handler

Return
an HTTP client request object

open fun post(port: Int, host: String, requestURI: String, responseHandler: Handler<HttpClientResponse>): HttpClientRequest

Create an HTTP POST request to send to the server at the specified host and port, specifying a response handler to receive the response

Parameters

port - the port

host - the host

requestURI - the relative URI

responseHandler - the response handler

Return
an HTTP client request object

open fun post(host: String, requestURI: String, responseHandler: Handler<HttpClientResponse>): HttpClientRequest

Create an HTTP POST request to send to the server at the specified host and default port, specifying a response handler to receive the response

Parameters

host - the host

requestURI - the relative URI

responseHandler - the response handler

Return
an HTTP client request object

open fun post(requestURI: String): HttpClientRequest

Create an HTTP POST request to send to the server at the default host and port.

Parameters

requestURI - the relative URI

Return
an HTTP client request object

open fun post(requestURI: String, responseHandler: Handler<HttpClientResponse>): HttpClientRequest

Create an HTTP POST request to send to the server at the default host and port, specifying a response handler to receive the response

Parameters

requestURI - the relative URI

responseHandler - the response handler

Return
an HTTP client request object