Package io.smallrye.stork.utils
Class HostAndPort
- java.lang.Object
-
- io.smallrye.stork.utils.HostAndPort
-
public class HostAndPort extends Object
Structure representing a host:port address.
-
-
Constructor Summary
Constructors Constructor Description HostAndPort(String host, int port)Creates a new HostAndPortHostAndPort(String host, int port, String path)Creates a new HostAndPort
-
-
-
Constructor Detail
-
HostAndPort
public HostAndPort(String host, int port, String path)
Creates a new HostAndPort- Parameters:
host- the hostport- the portpath- the path, can benull
-
HostAndPort
public HostAndPort(String host, int port)
Creates a new HostAndPort- Parameters:
host- the hostport- the port
-
-