vertx / io.vertx.rxjava.ext.web.client / WebClient / head

head

open fun head(requestURI: String): HttpRequest<Buffer>

Create an HTTP HEAD 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 head(port: Int, host: String, requestURI: String): HttpRequest<Buffer>

Create an HTTP HEAD 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 head(host: String, requestURI: String): HttpRequest<Buffer>

Create an HTTP HEAD 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