Package io.vertx.reactivex.core.net
Class HostAndPort
- java.lang.Object
-
- io.vertx.reactivex.core.net.HostAndPort
-
-
Field Summary
Fields Modifier and Type Field Description static TypeArg<HostAndPort>__TYPE_ARG
-
Constructor Summary
Constructors Constructor Description HostAndPort(HostAndPort delegate)HostAndPort(Object delegate)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static HostAndPortcreate(String host, int port)Create an instance.booleanequals(Object o)HostAndPortgetDelegate()inthashCode()Stringhost()static HostAndPortnewInstance(HostAndPort arg)intport()StringtoString()
-
-
-
Field Detail
-
__TYPE_ARG
public static final TypeArg<HostAndPort> __TYPE_ARG
-
-
Constructor Detail
-
HostAndPort
public HostAndPort(HostAndPort delegate)
-
HostAndPort
public HostAndPort(Object delegate)
-
-
Method Detail
-
getDelegate
public HostAndPort getDelegate()
-
create
public static HostAndPort create(String host, int port)
Create an instance.- Parameters:
host- the host valueport- 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)
-
-