@ Override public ProxyAuthenticationMethod getMethod ( ) { switch ( authenticationMethod ) { case BASIC : return ProxyAuthenticationMethod . BASIC ; case DIGEST : return ProxyAuthenticationMethod . DIGEST ; case URL : return ProxyAuthenticationMethod . URL ; default : return null ; } }
Get the authentication method to use .