| 程序包 | 说明 |
|---|---|
| com.ptteng.course.util.aliPayUtil.apacheCommonUtil.httpclient |
Classes and interfaces supporting the client side of the HTTP protocol.
|
| com.ptteng.course.util.aliPayUtil.apacheCommonUtil.httpclient.auth |
Provides implementation of various authentication schemes as well as
utility classes that can be used to authenticate HTTP requests.
|
| 限定符和类型 | 类和说明 |
|---|---|
class |
NTCredentials
Credentials for use with the NTLM authentication scheme which requires additional
information. |
class |
UsernamePasswordCredentials
Username and password
Credentials. |
| 限定符和类型 | 方法和说明 |
|---|---|
Credentials |
HttpState.getCredentials(AuthScope authscope)
Get the
credentials for the given authentication scope. |
Credentials |
HttpState.getCredentials(String realm,
String host)
已过时。
use #getCredentials(AuthScope)
|
Credentials |
HttpState.getProxyCredentials(AuthScope authscope)
Get the
proxy credentials for the given authentication scope. |
Credentials |
HttpState.getProxyCredentials(String realm,
String proxyHost)
已过时。
use #getProxyCredentials(AuthScope)
|
| 限定符和类型 | 方法和说明 |
|---|---|
void |
HttpState.setCredentials(AuthScope authscope,
Credentials credentials)
Sets the
credentials for the given authentication
scope. |
void |
HttpState.setCredentials(String realm,
String host,
Credentials credentials)
已过时。
use #setCredentials(AuthScope, Credentials)
|
void |
HttpState.setProxyCredentials(AuthScope authscope,
Credentials credentials)
Sets the
proxy credentials for the given authentication
realm. |
void |
HttpState.setProxyCredentials(String realm,
String proxyHost,
Credentials credentials)
已过时。
use #setProxyCredentials(AuthScope, Credentials)
|
| 限定符和类型 | 方法和说明 |
|---|---|
Credentials |
CredentialsProvider.getCredentials(AuthScheme scheme,
String host,
int port,
boolean proxy)
Requests additional
authentication credentials. |
| 限定符和类型 | 方法和说明 |
|---|---|
String |
NTLMScheme.authenticate(Credentials credentials,
HttpMethod method)
Produces NTLM authorization string for the given set of
Credentials. |
String |
DigestScheme.authenticate(Credentials credentials,
HttpMethod method)
Produces a digest authorization string for the given set of
Credentials, method name and URI. |
String |
BasicScheme.authenticate(Credentials credentials,
HttpMethod method)
Produces basic authorization string for the given set of
Credentials. |
String |
AuthScheme.authenticate(Credentials credentials,
HttpMethod method)
Produces an authorization string for the given set of
Credentials. |
String |
NTLMScheme.authenticate(Credentials credentials,
String method,
String uri)
|
String |
DigestScheme.authenticate(Credentials credentials,
String method,
String uri)
|
String |
BasicScheme.authenticate(Credentials credentials,
String method,
String uri)
|
String |
AuthScheme.authenticate(Credentials credentials,
String method,
String uri)
已过时。
Use
AuthScheme.authenticate(Credentials, HttpMethod)
Produces an authorization string for the given set of Credentials,
method name and URI using the given authentication scheme in response to
the actual authorization challenge. |
Copyright © 2017. All rights reserved.