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
|
方法摘要 |
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.