| Package | Description |
|---|---|
| com.baidubce.services.bos.model |
| Modifier and Type | Method and Description |
|---|---|
static AllowedMethods |
AllowedMethods.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AllowedMethods[] |
AllowedMethods.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
List<AllowedMethods> |
CorsConfiguration.getAllowedMethods()
Gets allowedMethods of Bucket CORS.
|
| Modifier and Type | Method and Description |
|---|---|
void |
CorsConfiguration.setAllowedMethods(List<AllowedMethods> allowedMethods)
Sets allowedMethods of Bucket CORS.
|
CorsConfiguration |
CorsConfiguration.withAllowedMethods(List<AllowedMethods> allowedMethods)
Sets allowedMethods of Bucket CORS.
|
| Constructor and Description |
|---|
CorsConfiguration(List<String> allowedOrigins,
List<AllowedMethods> allowedMethods,
List<String> allowedHeaders,
List<String> allowedExposeHeaders,
int maxAgeSeconds)
The Constructor of Bucket CORS.
|
Copyright © 2020. All rights reserved.