Class DefaultSVNAuthenticationManager.SimpleProxyManager
java.lang.Object
org.tmatesoft.svn.core.internal.wc.DefaultSVNAuthenticationManager.SimpleProxyManager
- All Implemented Interfaces:
ISVNProxyManager
- Enclosing class:
- DefaultSVNAuthenticationManager
private static final class DefaultSVNAuthenticationManager.SimpleProxyManager
extends Object
implements ISVNProxyManager
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
acknowledgeProxyContext
(boolean accepted, SVNErrorMessage errorMessage) Accepts this proxy settings if successfully connected to the proxy server, or not if failed to connect.Returns the proxy host for HTTP connection.Returns the password to supply to the proxy machine.int
Returns the port number on the proxy host to use.Returns the username to supply to the proxy machine.
-
Field Details
-
myProxyHost
-
myProxyPort
-
myProxyUser
-
myProxyPassword
-
-
Constructor Details
-
SimpleProxyManager
-
-
Method Details
-
getProxyHost
Description copied from interface:ISVNProxyManager
Returns the proxy host for HTTP connection.- Specified by:
getProxyHost
in interfaceISVNProxyManager
- Returns:
- the hostname of the proxy server through which HTTP-based requests must pass
-
getProxyPort
public int getProxyPort()Description copied from interface:ISVNProxyManager
Returns the port number on the proxy host to use.- Specified by:
getProxyPort
in interfaceISVNProxyManager
- Returns:
- a port number
-
getProxyUserName
Description copied from interface:ISVNProxyManager
Returns the username to supply to the proxy machine.- Specified by:
getProxyUserName
in interfaceISVNProxyManager
- Returns:
- a username
-
getProxyPassword
Description copied from interface:ISVNProxyManager
Returns the password to supply to the proxy machine.- Specified by:
getProxyPassword
in interfaceISVNProxyManager
- Returns:
- a password
-
acknowledgeProxyContext
Description copied from interface:ISVNProxyManager
Accepts this proxy settings if successfully connected to the proxy server, or not if failed to connect.- Specified by:
acknowledgeProxyContext
in interfaceISVNProxyManager
- Parameters:
accepted
- true if the proxy is successfully reached, otherwise falseerrorMessage
- the reason of the failure to connect to the proxy server
-