org.eclipse.jetty.client.security
类 ProxyAuthorization

java.lang.Object
  继承者 org.eclipse.jetty.client.security.ProxyAuthorization
所有已实现的接口:
Authentication

public class ProxyAuthorization
extends Object
implements Authentication

Sets proxy authentication headers for BASIC authentication challenges


构造方法摘要
ProxyAuthorization(String username, String password)
           
 
方法摘要
 void setCredentials(HttpExchange exchange)
          BASIC proxy authentication is of the form encoded credentials are of the form: username:password
 
从类 java.lang.Object 继承的方法
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

构造方法详细信息

ProxyAuthorization

public ProxyAuthorization(String username,
                          String password)
                   throws IOException
抛出:
IOException
方法详细信息

setCredentials

public void setCredentials(HttpExchange exchange)
                    throws IOException
BASIC proxy authentication is of the form encoded credentials are of the form: username:password

指定者:
接口 Authentication 中的 setCredentials
抛出:
IOException


Copyright © 2013. All Rights Reserved.