public abstract class HttpCredentialsFetcher extends Object implements CredentialsFetcher
| 构造器和说明 | 
|---|
HttpCredentialsFetcher()  | 
| 限定符和类型 | 方法和说明 | 
|---|---|
abstract URL | 
buildUrl()
构造授权服务器的URL 
 | 
Credentials | 
fetch()
从授权服务器获取授权 
 | 
Credentials | 
fetch(int retryTimes)
从授权服务器获取授权 
 | 
abstract Credentials | 
parse(com.aliyuncs.http.HttpResponse response)
解析授权服务器返回的授权信息,解析为Credentials 
 | 
com.aliyuncs.http.HttpResponse | 
send(com.aliyuncs.http.HttpRequest request)
发送HTTP请求到授权服务器 
 | 
public abstract URL buildUrl() throws com.aliyuncs.exceptions.ClientException
CredentialsFetcherbuildUrl 在接口中 CredentialsFetchercom.aliyuncs.exceptions.ClientExceptionpublic abstract Credentials parse(com.aliyuncs.http.HttpResponse response) throws com.aliyuncs.exceptions.ClientException
CredentialsFetcherparse 在接口中 CredentialsFetcherresponse - 授权服务器返回的授权信息com.aliyuncs.exceptions.ClientExceptionpublic Credentials fetch() throws com.aliyuncs.exceptions.ClientException
CredentialsFetcherfetch 在接口中 CredentialsFetchercom.aliyuncs.exceptions.ClientExceptionpublic com.aliyuncs.http.HttpResponse send(com.aliyuncs.http.HttpRequest request)
                                    throws IOException
CredentialsFetchersend 在接口中 CredentialsFetcherrequest - HTTP请求IOExceptionpublic Credentials fetch(int retryTimes) throws com.aliyuncs.exceptions.ClientException
CredentialsFetcherfetch 在接口中 CredentialsFetcherretryTimes - 失败重试此时com.aliyuncs.exceptions.ClientExceptionCopyright © 2019. All Rights Reserved.