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内容请搜索靠谱客的其他文章。
发表评论 取消回复