| 软件包 | 描述 |
|---|---|
| org.apache.http.auth |
客户端HTTP认证API。
|
| org.apache.http.client |
客户端HTTP通信API。
|
| org.apache.http.impl.client |
默认HTTP客户端实现。
|
| Modifier and Type | Field and Description |
|---|---|
static AuthScope |
AuthScope.ANY
默认范围匹配任何主机,端口,领域和认证方案。
|
| Modifier and Type | Method and Description |
|---|---|
AuthScope |
AuthState.getAuthScope()
已过时。
(4.2)不要使用。
|
| Modifier and Type | Method and Description |
|---|---|
int |
AuthScope.match(AuthScope that)
测试验证范围是否匹配。
|
void |
AuthState.setAuthScope(AuthScope authScope)
已过时。
(4.2)不要使用。
|
| Constructor and Description |
|---|
AuthScope(AuthScope authscope)
创建给定凭证范围的副本。
|
| Modifier and Type | Method and Description |
|---|---|
Credentials |
CredentialsProvider.getCredentials(AuthScope authscope)
获取给定认证范围的 credentials 。
|
void |
CredentialsProvider.setCredentials(AuthScope authscope, Credentials credentials)
为给定的认证范围设置 credentials 。
|
| Modifier and Type | Method and Description |
|---|---|
Credentials |
SystemDefaultCredentialsProvider.getCredentials(AuthScope authscope) |
Credentials |
BasicCredentialsProvider.getCredentials(AuthScope authscope) |
void |
SystemDefaultCredentialsProvider.setCredentials(AuthScope authscope, Credentials credentials) |
void |
BasicCredentialsProvider.setCredentials(AuthScope authscope, Credentials credentials) |
Copyright © 1999–2017 The Apache Software Foundation. All rights reserved.