Package org.eclipse.ecf.core.util
Class Proxy
- java.lang.Object
-
- org.eclipse.ecf.core.util.Proxy
-
- All Implemented Interfaces:
Serializable
public class Proxy extends Object implements Serializable
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Proxy.Type
-
Constructor Summary
Constructors Constructor Description Proxy(Proxy.Type type, ProxyAddress address)
Proxy(Proxy.Type type, ProxyAddress address, String username, String password)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object obj)
ProxyAddress
getAddress()
String
getPassword()
Proxy.Type
getType()
String
getUsername()
boolean
hasCredentials()
int
hashCode()
String
toString()
-
-
-
Field Detail
-
NO_PROXY
public static final Proxy NO_PROXY
-
-
Constructor Detail
-
Proxy
public Proxy(Proxy.Type type, ProxyAddress address, String username, String password)
-
Proxy
public Proxy(Proxy.Type type, ProxyAddress address)
-
-
Method Detail
-
getType
public Proxy.Type getType()
-
getAddress
public ProxyAddress getAddress()
-
getUsername
public String getUsername()
-
getPassword
public String getPassword()
-
hasCredentials
public boolean hasCredentials()
-
-