io.vertx.reactivex.core.net

## Class HostAndPort

- java.lang.Object
- - io.vertx.reactivex.core.net.HostAndPort

-     public class HostAndPort
      extends Object

  A combination of host and port.

  NOTE: This class has been automatically generated from the `original` non RX-ified interface using Vert.x codegen.

- - ### Field Summary

    Fields
    Modifier and Type | Field and Description
    --- | ---
    `static io.vertx.lang.rx.TypeArg<HostAndPort>` | `__TYPE_ARG`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `HostAndPort(HostAndPort delegate)`
    `HostAndPort(Object delegate)`

  - ### Method Summary

    All Methods Static Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `static HostAndPort` | `create(String host, int port)` Create an instance.
    `boolean` | `equals(Object o)`
    `HostAndPort` | `getDelegate()`
    `int` | `hashCode()`
    `String` | `host()`
    `static HostAndPort` | `newInstance(HostAndPort arg)`
    `int` | `port()`
    `String` | `toString()`

    - ### Methods inherited from class java.lang.Object

      `clone, finalize, getClass, notify, notifyAll, wait, wait, wait`

- - ### Field Detail

    - #### __TYPE_ARG

          public static final io.vertx.lang.rx.TypeArg<HostAndPort> __TYPE_ARG

  - ### Constructor Detail

    - #### HostAndPort

          public HostAndPort(HostAndPort delegate)

    - #### HostAndPort

          public HostAndPort(Object delegate)

  - ### Method Detail

    - #### toString

          public String toString()

      Overrides:
        `toString` in class `Object`

    - #### equals

          public boolean equals(Object o)

      Overrides:
        `equals` in class `Object`

    - #### hashCode

          public int hashCode()

      Overrides:
        `hashCode` in class `Object`

    - #### getDelegate

          public HostAndPort getDelegate()

    - #### create

          public static HostAndPort create(String host,
                                           int port)

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

    - #### host

          public String host()

      Returns:
        the host value

    - #### port

          public int port()

      Returns:
        the port value

    - #### newInstance

          public static HostAndPort newInstance(HostAndPort arg)

Copyright © 2024 Eclipse. All rights reserved.