概述
import com.amazonaws.Request; //导入方法依赖的package包/类
/**
* Returns a "complete" S3 specific signer, taking into the S3 bucket, key,
* and the current S3 client configuration into account.
*/
protected Signer createSigner(final Request> request,
final String bucketName,
final String key,
final boolean isAdditionalHeadRequestToFindRegion) {
// Instead of using request.getEndpoint() for this parameter, we use endpoint which is because
// in accelerate mode, the endpoint in request is regionless. We need the client-wide endpoint
// to fetch the region information and pick the correct signer.
URI uri = clientOptions.isAccelerateModeEnabled() ? endpoint : request.getEndpoint();
final Signer signer = getSignerByURI(uri);
if(this.awsCredentialsProvider.getCredentials() instanceof IBMOAuthCredentials) { </
最后
以上就是懦弱棒棒糖为你收集整理的Java中original怎么用_Java Request.getOriginalRequest方法代码示例的全部内容,希望文章能够帮你解决Java中original怎么用_Java Request.getOriginalRequest方法代码示例所遇到的程序开发问题。
如果觉得靠谱客网站的内容还不错,欢迎将靠谱客网站推荐给程序员好友。
发表评论 取消回复