public class OptionsInfoResult extends HeaderResponse
| 构造器和说明 |
|---|
OptionsInfoResult(String allowOrigin,
List<String> allowHeaders,
int maxAge,
List<String> allowMethods,
List<String> exposeHeaders) |
| 限定符和类型 | 方法和说明 |
|---|---|
List<String> |
getAllowHeaders()
Obtain the list of allowed request headers.
|
List<String> |
getAllowMethods()
Obtain the list of allowed cross-origin request methods.
|
String |
getAllowOrigin()
Obtain the origin of the allowed cross-origin request.
|
List<String> |
getExposeHeaders()
Obtain the list of allowed additional headers in the response.
|
int |
getMaxAge()
Obtain the cache duration (in seconds) of the request result in the
instance of ObsClient.
|
String |
toString() |
getRequestId, getResponseHeaders, getStatusCodepublic String getAllowOrigin()
public List<String> getAllowHeaders()
public int getMaxAge()
public List<String> getAllowMethods()
public List<String> getExposeHeaders()
public String toString()
toString 在类中 HeaderResponseCopyright © 2021. All rights reserved.