| 程序包 | 说明 |
|---|---|
| com.qcloud.cos.model |
| 限定符和类型 | 方法和说明 |
|---|---|
static CORSRule.AllowedMethods |
CORSRule.AllowedMethods.fromValue(String allowedMethod) |
static CORSRule.AllowedMethods |
CORSRule.AllowedMethods.valueOf(String name)
返回带有指定名称的该类型的枚举常量。
|
static CORSRule.AllowedMethods[] |
CORSRule.AllowedMethods.values()
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
|
| 限定符和类型 | 方法和说明 |
|---|---|
List<CORSRule.AllowedMethods> |
CORSRule.getAllowedMethods()
Returns the allowed methods of this rule.
|
| 限定符和类型 | 方法和说明 |
|---|---|
void |
CORSRule.setAllowedMethods(CORSRule.AllowedMethods... allowedMethods)
Convenience array style method for
CORSRule.setAllowedMethods(List) |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
CORSRule.setAllowedMethods(List<CORSRule.AllowedMethods> allowedMethods)
Sets the allowed methods of the rule.
|
CORSRule |
CORSRule.withAllowedMethods(List<CORSRule.AllowedMethods> allowedMethods)
Sets the allowed methods of this rule and returns a reference to this object for
method chaining.
|
Copyright © 2017. All rights reserved.