Package io.smallrye.stork.utils
Class HostAndPort
java.lang.Object
io.smallrye.stork.utils.HostAndPort
Structure representing a host:port address.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionHostAndPort(String host, int port) Creates a new HostAndPortHostAndPort(String host, int port, String path) Creates a new HostAndPort -
Method Summary
-
Field Details
-
host
The host. -
port
public final int portThe port. -
path
The path, if any.
-
-
Constructor Details
-
HostAndPort
Creates a new HostAndPort- Parameters:
host- the hostport- the portpath- the path, can benull
-
HostAndPort
Creates a new HostAndPort- Parameters:
host- the hostport- the port
-