## Uses of Class
io.vertx.reactivex.core.net.HostAndPort

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

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

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

    Methods in io.vertx.reactivex.core.http with parameters of type HostAndPort
    Modifier and Type | Method and 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.
    `HttpServerResponse` | HttpServerResponse.`push(HttpMethod method, HostAndPort host, String path)` Like `HttpServerResponse.push(io.vertx.core.http.HttpMethod, java.lang.String, java.lang.String, io.vertx.core.Handler<io.vertx.core.AsyncResult<io.vertx.reactivex.core.http.HttpServerResponse>>)` with no headers.
    `HttpServerResponse` | HttpServerResponse.`push(HttpMethod method, HostAndPort host, String path, Handler<AsyncResult<HttpServerResponse>> handler)` Like `HttpServerResponse.push(io.vertx.core.http.HttpMethod, java.lang.String, java.lang.String, io.vertx.core.Handler<io.vertx.core.AsyncResult<io.vertx.reactivex.core.http.HttpServerResponse>>)` with no headers.
    `HttpServerResponse` | HttpServerResponse.`push(HttpMethod method, HostAndPort authority, String path, MultiMap headers)` Push a response to the client. The `handler` will be notified with a success when the push can be sent and with a failure when the client has disabled push or reset the push before it has been sent. The `handler` may be queued if the client has reduced the maximum number of streams the server can push concurrently. Push can be sent only for peer initiated streams and if the response is not ended.
    `HttpServerResponse` | HttpServerResponse.`push(HttpMethod method, HostAndPort authority, String path, MultiMap headers, Handler<AsyncResult<HttpServerResponse>> handler)` Push a response to the client. The `handler` will be notified with a success when the push can be sent and with a failure when the client has disabled push or reset the push before it has been sent. The `handler` may be queued if the client has reduced the maximum number of streams the server can push concurrently. Push can be sent only for peer initiated streams and if the response is not ended.
    `Single<HttpServerResponse>` | HttpServerResponse.`rxPush(HttpMethod method, HostAndPort host, String path)` Like `HttpServerResponse.push(io.vertx.core.http.HttpMethod, java.lang.String, java.lang.String, io.vertx.core.Handler<io.vertx.core.AsyncResult<io.vertx.reactivex.core.http.HttpServerResponse>>)` with no headers.
    `Single<HttpServerResponse>` | HttpServerResponse.`rxPush(HttpMethod method, HostAndPort authority, String path, MultiMap headers)` Push a response to the client. The `handler` will be notified with a success when the push can be sent and with a failure when the client has disabled push or reset the push before it has been sent. The `handler` may be queued if the client has reduced the maximum number of streams the server can push concurrently. Push can be sent only for peer initiated streams and if the response is not ended.

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

    Fields in io.vertx.reactivex.core.net with type parameters of type HostAndPort
    Modifier and Type | Field and Description
    --- | ---
    `static io.vertx.lang.rx.TypeArg<HostAndPort>` | HostAndPort.`__TYPE_ARG`

    Methods in io.vertx.reactivex.core.net that return HostAndPort
    Modifier and Type | Method and Description
    --- | ---
    `static HostAndPort` | HostAndPort.`authority(String host)` Like `authority(java.lang.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.`newInstance(HostAndPort arg)`
    `static HostAndPort` | HostAndPort.`parseAuthority(String string, int schemePort)` Parse an authority HTTP header, that is host [':' port], according to rfc3986.

Copyright © 2025 Eclipse. All rights reserved.