程序包 | 说明 |
---|---|
com.sinacloud.scs | |
com.sinacloud.scs.services.scs | |
com.sinacloud.scs.services.scs.model |
Classes modeling the various types represented by Amazon S3.
|
限定符和类型 | 方法和说明 |
---|---|
static HttpMethod |
HttpMethod.valueOf(String name)
返回带有指定名称的该类型的枚举常量。
|
static HttpMethod[] |
HttpMethod.values()
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
|
限定符和类型 | 方法和说明 |
---|---|
URL |
SCS.generatePresignedUrl(String bucketName,
String key,
Date expiration,
HttpMethod method,
boolean bucketNameAsDomain)
Returns a pre-signed URL for accessing an SCS resource.
|
URL |
SCSClient.generatePresignedUrl(String bucketName,
String key,
Date expiration,
HttpMethod method,
boolean bucketNameAsDomain) |
protected <T> void |
SCSClient.presignRequest(Request<T> request,
HttpMethod methodName,
String bucketName,
String key,
Date expiration,
String subResource)
Pre-signs the specified request, using a signature query-string
parameter.
|
限定符和类型 | 方法和说明 |
---|---|
HttpMethod |
GeneratePresignedUrlRequest.getMethod()
The HTTP method (GET, PUT, DELETE, HEAD) to be used in this request.
|
限定符和类型 | 方法和说明 |
---|---|
void |
GeneratePresignedUrlRequest.setMethod(HttpMethod method)
Sets the HTTP method (GET, PUT, DELETE, HEAD) to be used in this request.
|
GeneratePresignedUrlRequest |
GeneratePresignedUrlRequest.withMethod(HttpMethod method)
Sets the HTTP method (GET, PUT, DELETE, HEAD) to be used in this request,
and returns this request object to enable additional method calls to be
chained together.
|
构造器和说明 |
---|
GeneratePresignedUrlRequest(String bucketName,
String key,
HttpMethod method)
Creates a new request for generating a pre-signed URL that can be used as
part of an HTTP request to access the specified Amazon S3 resource.
|
Copyright © 2016. All rights reserved.