类 OptionsInfoRequest
java.lang.Object
cn.warpin.thirdPart.huawei.obs.obs.services.model.GenericRequest
cn.warpin.thirdPart.huawei.obs.obs.services.model.OptionsInfoRequest
- 直接已知子类:
BucketMetadataInfoRequest
Parameters in a bucket or object preflight request
-
字段概要
字段从类继承的字段 cn.warpin.thirdPart.huawei.obs.obs.services.model.GenericRequest
bucketName, httpMethod, userHeaders -
构造器概要
构造器 -
方法概要
修饰符和类型方法说明Obtain the origin of the preflight request.Obtain the list of allowed request headers.Obtain the list of allowed cross-origin request methods.voidSet the origin of the preflight request.voidsetRequestHeaders(List<String> requestHeaders) Set the list of allowed request headers.voidsetRequestMethod(List<String> requestMethod) Set the list of allowed cross-origin request methods.toString()从类继承的方法 cn.warpin.thirdPart.huawei.obs.obs.services.model.GenericRequest
addUserHeaders, getBucketName, getHttpMethod, getUserHeaders, isRequesterPays, setBucketName, setRequesterPays, setUserHeaders
-
字段详细资料
-
origin
-
requestMethod
-
requestHeaders
-
-
构造器详细资料
-
OptionsInfoRequest
public OptionsInfoRequest() -
OptionsInfoRequest
-
-
方法详细资料
-
getOrigin
Obtain the origin of the preflight request.- 返回:
- Origin of the preflight request
-
setOrigin
Set the origin of the preflight request.- 参数:
origin- Origin of the preflight request
-
getRequestMethod
Obtain the list of allowed cross-origin request methods.- 返回:
- List of allowed cross-origin request methods
-
setRequestMethod
Set the list of allowed cross-origin request methods.- 参数:
requestMethod- List of allowed cross-origin request methods
-
getRequestHeaders
Obtain the list of allowed request headers.- 返回:
- List of allowed request headers
-
setRequestHeaders
Set the list of allowed request headers.- 参数:
requestHeaders- List of allowed request headers
-
toString
- 覆盖:
toString在类中GenericRequest
-