org.wymiwyg.commons.util.http
Class ServerAddress

java.lang.Object
  extended by org.wymiwyg.commons.util.http.ServerAddress

public class ServerAddress
extends Object

Author:
reto To change this generated comment go to Window>Preferences>Java>Code Generation>Code Template

Constructor Summary
ServerAddress(String name)
          The name may containg the port after semicolon
ServerAddress(String scheme, String host, int port)
           
 
Method Summary
 boolean equals(Object obj)
           
 String getHost()
           
 int getPort()
           
 String getScheme()
           
 int hashCode()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ServerAddress

public ServerAddress(String name)
The name may containg the port after semicolon


ServerAddress

public ServerAddress(String scheme,
                     String host,
                     int port)
Parameters:
host -
port -
Method Detail

equals

public boolean equals(Object obj)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object

getHost

public String getHost()
Returns:

getPort

public int getPort()
Returns:

getScheme

public String getScheme()
Returns:
Returns the protocol.

toString

public String toString()
Overrides:
toString in class Object
See Also:
Object.toString()


Copyright © 2011. All Rights Reserved.