## Uses of Interface
io.vertx.core.net.HostAndPort

- Packages that use HostAndPort
  Package | Description
  --- | ---
  io.vertx.core.http |
  io.vertx.core.net |
  io.vertx.httpproxy |
  io.vertx.reactivex.core.http |
  io.vertx.rxjava3.core.http |
  io.vertx.rxjava3.httpproxy |

- - ### Uses of HostAndPort in io.vertx.core.http

    Methods in io.vertx.core.http that return HostAndPort
    Modifier and Type | Method | Description
    --- | --- | ---
    `HostAndPort` | HttpServerRequest.`authority()` |
    `HostAndPort` | ServerWebSocket.`authority()` |
    `HostAndPort` | ServerWebSocketHandshake.`authority()` |

    Methods in io.vertx.core.http with parameters of type HostAndPort
    Modifier and Type | Method | Description
    --- | --- | ---
    `HttpClientRequest` | HttpClientRequest.`authority​(HostAndPort authority)` | Override the request authority, when using HTTP/1.x this overrides the request `host` header, when using HTTP/2 this sets the `authority` pseudo header.
    `Future<HttpServerResponse>` | HttpServerResponse.`push​(HttpMethod method, HostAndPort authority, String path, MultiMap headers)` | Push a response to the client.

  - ### Uses of HostAndPort in io.vertx.core.net

    Methods in io.vertx.core.net that return HostAndPort
    Modifier and Type | Method | Description
    --- | --- | ---
    `static HostAndPort` | HostAndPort.`authority​(String host)` | Like `authority(String, int)` without a port, `-1` is used instead.
    `static HostAndPort` | HostAndPort.`authority​(String host, int port)` | Create an instance with a valid `host` for a valid authority: the `host` must match the host rule of rfc3986.
    `static HostAndPort` | HostAndPort.`create​(String host, int port)` | Create an arbitrary instance.
    `static HostAndPort` | HostAndPort.`fromJson​(JsonObject json)` |
    `static HostAndPort` | HostAndPort.`parseAuthority​(String string, int schemePort)` | Parse an authority HTTP header, that is host [':' port], according to rfc3986.

  - ### Uses of HostAndPort in io.vertx.httpproxy

    Methods in io.vertx.httpproxy that return HostAndPort
    Modifier and Type | Method | Description
    --- | --- | ---
    `HostAndPort` | ProxyRequest.`getAuthority()` |

    Methods in io.vertx.httpproxy with parameters of type HostAndPort
    Modifier and Type | Method | Description
    --- | --- | ---
    `ProxyRequest` | ProxyRequest.`setAuthority​(HostAndPort authority)` | Set the request authority for HTTP/1 the Host header for HTTP/2 the :authority pseudo header The value must follow the <host>:<port> syntax.

  - ### Uses of HostAndPort in io.vertx.reactivex.core.http

    Methods in io.vertx.reactivex.core.http that return HostAndPort
    Modifier and Type | Method | Description
    --- | --- | ---
    `HostAndPort` | HttpServerRequest.`authority()` |
    `HostAndPort` | ServerWebSocket.`authority()` |
    `HostAndPort` | ServerWebSocketHandshake.`authority()` |

    Methods in io.vertx.reactivex.core.http with parameters of type HostAndPort
    Modifier and Type | Method | Description
    --- | --- | ---
    `HttpClientRequest` | HttpClientRequest.`authority​(HostAndPort authority)` | Override the request authority, when using HTTP/1.x this overrides the request `host` header, when using HTTP/2 this sets the `authority` pseudo header.
    `Future<HttpServerResponse>` | HttpServerResponse.`push​(HttpMethod method, HostAndPort authority, String path, MultiMap headers)` | Push a response to the client.
    `Single<HttpServerResponse>` | HttpServerResponse.`rxPush​(HttpMethod method, HostAndPort authority, String path, MultiMap headers)` | Push a response to the client.

  - ### Uses of HostAndPort in io.vertx.rxjava3.core.http

    Methods in io.vertx.rxjava3.core.http that return HostAndPort
    Modifier and Type | Method | Description
    --- | --- | ---
    `HostAndPort` | HttpServerRequest.`authority()` |
    `HostAndPort` | ServerWebSocket.`authority()` |
    `HostAndPort` | ServerWebSocketHandshake.`authority()` |

    Methods in io.vertx.rxjava3.core.http with parameters of type HostAndPort
    Modifier and Type | Method | Description
    --- | --- | ---
    `HttpClientRequest` | HttpClientRequest.`authority​(HostAndPort authority)` | Override the request authority, when using HTTP/1.x this overrides the request `host` header, when using HTTP/2 this sets the `authority` pseudo header.
    `Single<HttpServerResponse>` | HttpServerResponse.`push​(HttpMethod method, HostAndPort authority, String path, MultiMap headers)` | Push a response to the client.
    `Single<HttpServerResponse>` | HttpServerResponse.`rxPush​(HttpMethod method, HostAndPort authority, String path, MultiMap headers)` | Push a response to the client.

  - ### Uses of HostAndPort in io.vertx.rxjava3.httpproxy

    Methods in io.vertx.rxjava3.httpproxy that return HostAndPort
    Modifier and Type | Method | Description
    --- | --- | ---
    `HostAndPort` | ProxyRequest.`getAuthority()` |

    Methods in io.vertx.rxjava3.httpproxy with parameters of type HostAndPort
    Modifier and Type | Method | Description
    --- | --- | ---
    `ProxyRequest` | ProxyRequest.`setAuthority​(HostAndPort authority)` | Set the request authority for HTTP/1 the header for HTTP/2 the pseudo header The value must follow the syntax.