类 OptionsInfoResult
java.lang.Object
cn.warpin.thirdPart.huawei.obs.obs.services.internal.service.InternalHeaderResponse
cn.warpin.thirdPart.huawei.obs.obs.services.model.HeaderResponse
cn.warpin.thirdPart.huawei.obs.obs.services.model.OptionsInfoResult
- 直接已知子类:
BucketMetadataInfoResult
Response to a bucket or object preflight request
-
字段概要
字段从类继承的字段 cn.warpin.thirdPart.huawei.obs.obs.services.internal.service.InternalHeaderResponse
originalHeaders, responseHeaders, statusCode -
构造器概要
构造器 -
方法概要
修饰符和类型方法说明Obtain the list of allowed request headers.Obtain the list of allowed cross-origin request methods.Obtain the origin of the allowed cross-origin request.Obtain the list of allowed additional headers in the response.intObtain the cache duration (in seconds) of the request result in the instance of ObsClient.toString()从类继承的方法 cn.warpin.thirdPart.huawei.obs.obs.services.model.HeaderResponse
getOriginalHeaders, getRequestId, getResponseHeaders, getStatusCode从类继承的方法 cn.warpin.thirdPart.huawei.obs.obs.services.internal.service.InternalHeaderResponse
setOriginalHeaders, setResponseHeaders, setStatusCode
-
字段详细资料
-
allowOrigin
-
allowHeaders
-
maxAge
protected int maxAge -
allowMethods
-
exposeHeaders
-
-
构造器详细资料
-
OptionsInfoResult
-
OptionsInfoResult
protected OptionsInfoResult()
-
-
方法详细资料
-
getAllowOrigin
Obtain the origin of the allowed cross-origin request.- 返回:
- Origin of the allowed cross-origin request
-
getAllowHeaders
Obtain the list of allowed request headers.- 返回:
- List of allowed request headers
-
getMaxAge
public int getMaxAge()Obtain the cache duration (in seconds) of the request result in the instance of ObsClient.- 返回:
- Cache duration of the request result in the instance of ObsClient
-
getAllowMethods
Obtain the list of allowed cross-origin request methods.- 返回:
- List of allowed cross-origin request methods
-
getExposeHeaders
Obtain the list of allowed additional headers in the response.- 返回:
- List of allowed additional headers in the response
-
toString
- 覆盖:
toString在类中HeaderResponse
-