Package io.vertx.mutiny.core.net
Class HostAndPort
- java.lang.Object
-
- io.vertx.mutiny.core.net.HostAndPort
-
public class HostAndPort extends Object
A combination of host and port. NOTE: This class has been automatically generated from theoriginalnon Mutiny-ified interface using Vert.x codegen.
-
-
Field Summary
Fields Modifier and Type Field Description static TypeArg<HostAndPort>__TYPE_ARG
-
Constructor Summary
Constructors Constructor Description HostAndPort(io.vertx.core.net.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)booleanequals(Object o)io.vertx.core.net.HostAndPortgetDelegate()inthashCode()Stringhost()static HostAndPortnewInstance(io.vertx.core.net.HostAndPort arg)intport()StringtoString()
-
-
-
Field Detail
-
__TYPE_ARG
public static final TypeArg<HostAndPort> __TYPE_ARG
-
-
Constructor Detail
-
HostAndPort
public HostAndPort(io.vertx.core.net.HostAndPort delegate)
-
HostAndPort
public HostAndPort(Object delegate)
-
-
Method Detail
-
getDelegate
public io.vertx.core.net.HostAndPort getDelegate()
-
create
public static HostAndPort create(String host, int port)
- 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(io.vertx.core.net.HostAndPort arg)
-
-