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 java.lang.Object
implements ISVNProxyManager
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate java.lang.Stringprivate java.lang.Stringprivate java.lang.Stringprivate java.lang.String -
Constructor Summary
ConstructorsConstructorDescriptionSimpleProxyManager(java.lang.String host, java.lang.String port, java.lang.String user, java.lang.String password) -
Method Summary
Modifier and TypeMethodDescriptionvoidacknowledgeProxyContext(boolean accepted, SVNErrorMessage errorMessage) Accepts this proxy settings if successfully connected to the proxy server, or not if failed to connect.java.lang.StringReturns the proxy host for HTTP connection.java.lang.StringReturns the password to supply to the proxy machine.intReturns the port number on the proxy host to use.java.lang.StringReturns the username to supply to the proxy machine.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
myProxyHost
private java.lang.String myProxyHost -
myProxyPort
private java.lang.String myProxyPort -
myProxyUser
private java.lang.String myProxyUser -
myProxyPassword
private java.lang.String myProxyPassword
-
-
Constructor Details
-
SimpleProxyManager
public SimpleProxyManager(java.lang.String host, java.lang.String port, java.lang.String user, java.lang.String password)
-
-
Method Details
-
getProxyHost
public java.lang.String getProxyHost()Description copied from interface:ISVNProxyManagerReturns the proxy host for HTTP connection.- Specified by:
getProxyHostin interfaceISVNProxyManager- Returns:
- the hostname of the proxy server through which HTTP-based requests must pass
-
getProxyPort
public int getProxyPort()Description copied from interface:ISVNProxyManagerReturns the port number on the proxy host to use.- Specified by:
getProxyPortin interfaceISVNProxyManager- Returns:
- a port number
-
getProxyUserName
public java.lang.String getProxyUserName()Description copied from interface:ISVNProxyManagerReturns the username to supply to the proxy machine.- Specified by:
getProxyUserNamein interfaceISVNProxyManager- Returns:
- a username
-
getProxyPassword
public java.lang.String getProxyPassword()Description copied from interface:ISVNProxyManagerReturns the password to supply to the proxy machine.- Specified by:
getProxyPasswordin interfaceISVNProxyManager- Returns:
- a password
-
acknowledgeProxyContext
Description copied from interface:ISVNProxyManagerAccepts this proxy settings if successfully connected to the proxy server, or not if failed to connect.- Specified by:
acknowledgeProxyContextin interfaceISVNProxyManager- Parameters:
accepted- true if the proxy is successfully reached, otherwise falseerrorMessage- the reason of the failure to connect to the proxy server
-