Package io.vertx.mutiny.core.net
Class HostAndPort
java.lang.Object
io.vertx.mutiny.core.net.HostAndPort
- All Implemented Interfaces:
MutinyDelegate
A combination of host and port.
NOTE: This class has been automatically generated from the
original non Mutiny-ified interface using Vert.x codegen.-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionHostAndPort(io.vertx.core.net.HostAndPort delegate) HostAndPort(Object delegate) -
Method Summary
Modifier and TypeMethodDescriptionstatic HostAndPortstatic HostAndPortstatic HostAndPortbooleanio.vertx.core.net.HostAndPortinthashCode()host()static HostAndPortnewInstance(io.vertx.core.net.HostAndPort arg) static HostAndPortparseAuthority(String string, int schemePort) intport()toString()
-
Field Details
-
__TYPE_ARG
-
-
Constructor Details
-
HostAndPort
public HostAndPort(io.vertx.core.net.HostAndPort delegate) -
HostAndPort
-
-
Method Details
-
getDelegate
public io.vertx.core.net.HostAndPort getDelegate()- Specified by:
getDelegatein interfaceMutinyDelegate- Returns:
- the delegate used by this Mutiny object of generated type
-
toString
-
equals
-
hashCode
public int hashCode() -
create
- Parameters:
host- the host valueport- the port value- Returns:
- the instance.
-
parseAuthority
- Parameters:
string- the string to parseschemePort- the scheme port used when the optional port is not specified- Returns:
- the parsed authority or
nullwhen thestringdoes not represent a valid authority.
-
authority
- Parameters:
host- the host portionport- the port- Returns:
- the instance
-
authority
- Parameters:
host-- Returns:
-
host
- Returns:
- the host value
-
port
public int port()- Returns:
- the port value or
-1when not specified
-
newInstance
-