public class OptionsInfoResult extends HeaderResponse
| Constructor and Description |
|---|
OptionsInfoResult(String allowOrigin,
List<String> allowHeaders,
int maxAge,
List<String> allowMethods,
List<String> exposeHeaders) |
| Modifier and Type | Method and Description |
|---|---|
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 in class HeaderResponseCopyright © 2019. All rights reserved.