Class DefaultSVNAuthenticationManager.SimpleProxyManager

    • Constructor Summary

      Constructors 
      Constructor Description
      SimpleProxyManager​(java.lang.String host, java.lang.String port, java.lang.String user, java.lang.String password)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method 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.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • 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 Detail

      • SimpleProxyManager

        public SimpleProxyManager​(java.lang.String host,
                                  java.lang.String port,
                                  java.lang.String user,
                                  java.lang.String password)
    • Method Detail

      • getProxyHost

        public java.lang.String getProxyHost()
        Description copied from interface: ISVNProxyManager
        Returns the proxy host for HTTP connection.
        Specified by:
        getProxyHost in interface ISVNProxyManager
        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 interface ISVNProxyManager
        Returns:
        a port number
      • getProxyUserName

        public java.lang.String getProxyUserName()
        Description copied from interface: ISVNProxyManager
        Returns the username to supply to the proxy machine.
        Specified by:
        getProxyUserName in interface ISVNProxyManager
        Returns:
        a username
      • getProxyPassword

        public java.lang.String getProxyPassword()
        Description copied from interface: ISVNProxyManager
        Returns the password to supply to the proxy machine.
        Specified by:
        getProxyPassword in interface ISVNProxyManager
        Returns:
        a password
      • acknowledgeProxyContext

        public void acknowledgeProxyContext​(boolean accepted,
                                            SVNErrorMessage errorMessage)
        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 interface ISVNProxyManager
        Parameters:
        accepted - true if the proxy is successfully reached, otherwise false
        errorMessage - the reason of the failure to connect to the proxy server