Package com.sun.enterprise.util
Class HostAndPort
java.lang.Object
com.sun.enterprise.util.HostAndPort
Represents a host and a port in a convenient package that also
accepts a convenient constructor.
-
Constructor Summary
ConstructorsConstructorDescriptionHostAndPort(HostAndPort rhs) HostAndPort(String str) Construct a new HostAndPort from a string of the form "host:port".HostAndPort(String host, int port) HostAndPort(String host, int port, boolean secure) Construct a HostAndPort object. -
Method Summary
-
Constructor Details
-
HostAndPort
Construct a HostAndPort object.- Parameters:
host- the host nameport- the port numbersecure- does this host require a secure (SSL) connection?
-
HostAndPort
-
HostAndPort
-
HostAndPort
Construct a new HostAndPort from a string of the form "host:port".- Parameters:
str- string of the form "host:port"
-
-
Method Details