| 程序包 | 说明 |
|---|---|
| com.aliyun.oss | |
| com.aliyun.oss.common.comm | |
| com.aliyun.oss.model |
| 限定符和类型 | 方法和说明 |
|---|---|
static HttpMethod |
HttpMethod.valueOf(String name)
返回带有指定名称的该类型的枚举常量。
|
static HttpMethod[] |
HttpMethod.values()
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
|
| 限定符和类型 | 方法和说明 |
|---|---|
URL |
OSSClient.generatePresignedUrl(String bucketName,
String key,
Date expiration,
HttpMethod method) |
URL |
OSS.generatePresignedUrl(String bucketName,
String key,
Date expiration,
HttpMethod method)
Generates a signed url for accessing the
OSSObject with a
specific HTTP method. |
| 限定符和类型 | 方法和说明 |
|---|---|
HttpMethod |
ServiceClient.Request.getMethod() |
HttpMethod |
RequestMessage.getMethod() |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
ServiceClient.Request.setMethod(HttpMethod method) |
void |
RequestMessage.setMethod(HttpMethod method) |
| 限定符和类型 | 方法和说明 |
|---|---|
HttpMethod |
GeneratePresignedUrlRequest.getMethod()
Gets Http method.
|
HttpMethod |
OptionsRequest.getRequestMethod() |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
GeneratePresignedUrlRequest.setMethod(HttpMethod method)
Sets Http method.
|
void |
OptionsRequest.setRequestMethod(HttpMethod requestMethod) |
OptionsRequest |
OptionsRequest.withRequestMethod(HttpMethod requestMethod) |
| 构造器和说明 |
|---|
GeneratePresignedUrlRequest(String bucketName,
String key,
HttpMethod method)
Constructor.
|
Copyright © 2020. All Rights Reserved.