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 classProxy.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 booleanequals(Object obj)ProxyAddressgetAddress()StringgetPassword()Proxy.TypegetType()StringgetUsername()booleanhasCredentials()inthashCode()StringtoString()
-
-
-
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()
-
-