Method Summary |
|
public Object | clone() |
public String | encode() Returns the host name in encoded form. |
public boolean | equals(Object other) Returns true if the two Objects are equals , false otherwise.
Parameters: other - Object to test. |
public Host | getHost() Gets the host name. |
public HostPort | getHostPort() Gets the host and port member. |
public String | getPassword() Gets the password from the user informatio. |
public int | getPort() Gets the port. |
public String | getUser() Gets the user name if it exists. |
public UserInfo | getUserInfo() Gets the user information memnber. |
public void | removePort() Removes the port. |
public void | removeUserInfo() Removes the user information. |
public void | setHost(Host host) Sets the host. |
public void | setHostPort(HostPort h) Sets the host and port member. |
public void | setPassword(String passwd) Sets the password. |
public void | setPort(int port) Sets the port. |
public void | setUser(String user) Sets the user name of the user information member. |
public void | setUserInfo(UserInfo u) Sets the user information member. |