private static final class DefaultSVNAuthenticationManager.SimpleProxyManager extends java.lang.Object implements ISVNProxyManager
| Modifier and Type | Field and Description |
|---|---|
private java.lang.String |
myProxyHost |
private java.lang.String |
myProxyPassword |
private java.lang.String |
myProxyPort |
private java.lang.String |
myProxyUser |
| Constructor and Description |
|---|
SimpleProxyManager(java.lang.String host,
java.lang.String port,
java.lang.String user,
java.lang.String password) |
| Modifier and Type | Method and Description |
|---|---|
void |
acknowledgeProxyContext(boolean accepted,
SVNErrorMessage errorMessage)
Accepts this proxy settings if successfully connected
to the proxy server, or not if failed to connect.
|
java.lang.String |
getProxyHost()
Returns the proxy host for HTTP connection.
|
java.lang.String |
getProxyPassword()
Returns the password to supply to the proxy machine.
|
int |
getProxyPort()
Returns the port number on the proxy host to use.
|
java.lang.String |
getProxyUserName()
Returns the username to supply to the proxy machine.
|
private java.lang.String myProxyHost
private java.lang.String myProxyPort
private java.lang.String myProxyUser
private java.lang.String myProxyPassword
public SimpleProxyManager(java.lang.String host,
java.lang.String port,
java.lang.String user,
java.lang.String password)
public java.lang.String getProxyHost()
ISVNProxyManagergetProxyHost in interface ISVNProxyManagerpublic int getProxyPort()
ISVNProxyManagergetProxyPort in interface ISVNProxyManagerpublic java.lang.String getProxyUserName()
ISVNProxyManagergetProxyUserName in interface ISVNProxyManagerpublic java.lang.String getProxyPassword()
ISVNProxyManagergetProxyPassword in interface ISVNProxyManagerpublic void acknowledgeProxyContext(boolean accepted,
SVNErrorMessage errorMessage)
ISVNProxyManageracknowledgeProxyContext in interface ISVNProxyManageraccepted - true if
the proxy is successfully reached, otherwise
falseerrorMessage - the reason of the failure to connect to
the proxy server