io.vertx.core.net

## Interface HostAndPort

-     public interface HostAndPort

  A combination of host and port.

- - ### Method Summary

    All Methods Static Methods Instance Methods Abstract Methods Default Methods
    Modifier and Type | Method and Description
    --- | ---
    `static HostAndPort` | `create(String host, int port)` Create an instance.
    `String` | `host()`
    `int` | `port()`

- - ### Method Detail

    - #### create

          static HostAndPort create(String host,
                                    int port)

      Create an instance.
      Parameters:
        `host` - the host value
        `port` - the port value
      Returns:
        the instance.

    - #### host

          String host()

      Returns:
        the host value

    - #### port

          int port()

      Returns:
        the port value

Copyright © 2023 Eclipse. All rights reserved.