org.eclipse.ecf.core.util
Class Proxy

java.lang.Object
  extended by org.eclipse.ecf.core.util.Proxy
All Implemented Interfaces:
java.io.Serializable

public class Proxy
extends java.lang.Object
implements java.io.Serializable

See Also:
Serialized Form

Nested Class Summary
static class Proxy.Type
           
 
Field Summary
static Proxy NO_PROXY
           
 
Constructor Summary
Proxy(Proxy.Type type, ProxyAddress address)
           
Proxy(Proxy.Type type, ProxyAddress address, java.lang.String username, java.lang.String password)
           
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 ProxyAddress getAddress()
           
 java.lang.String getPassword()
           
 Proxy.Type getType()
           
 java.lang.String getUsername()
           
 boolean hasCredentials()
           
 int hashCode()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

NO_PROXY

public static final Proxy NO_PROXY
Constructor Detail

Proxy

public Proxy(Proxy.Type type,
             ProxyAddress address,
             java.lang.String username,
             java.lang.String password)

Proxy

public Proxy(Proxy.Type type,
             ProxyAddress address)
Method Detail

getType

public Proxy.Type getType()

getAddress

public ProxyAddress getAddress()

getUsername

public java.lang.String getUsername()

getPassword

public java.lang.String getPassword()

hasCredentials

public boolean hasCredentials()

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

equals

public final boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object

hashCode

public final int hashCode()
Overrides:
hashCode in class java.lang.Object