类 AbstractTemporarySignatureRequest
java.lang.Object
com.obs.services.model.AbstractTemporarySignatureRequest
Abstract class for request parameters of signature-carrying queries
-
字段概要
字段 -
构造器概要
构造器构造器说明AbstractTemporarySignatureRequest(HttpMethodEnum method, String bucketName, String objectKey) Constructor -
方法概要
修饰符和类型方法说明Obtain the bucket name.Obtain the request header information.Obtain the HTTP/HTTPS request method.Obtain the object name.Obtain the query parameters of the request.Obtain the special operator.voidsetBucketName(String bucketName) Set the bucket name.voidsetHeaders(Map<String, String> headers) Set request header information.voidsetMethod(HttpMethodEnum method) Set the HTTP/HTTP request method.voidsetObjectKey(String objectKey) Set the object name.voidsetQueryParams(Map<String, Object> queryParams) Set request query parameters.voidsetSpecialParam(SpecialParamEnum specialParam) Set the special operator.
-
字段详细资料
-
method
-
bucketName
-
objectKey
-
specialParam
-
headers
-
queryParams
-
-
构造器详细资料
-
AbstractTemporarySignatureRequest
public AbstractTemporarySignatureRequest() -
AbstractTemporarySignatureRequest
public AbstractTemporarySignatureRequest(HttpMethodEnum method, String bucketName, String objectKey) Constructor- 参数:
method- HTTP/HTTPS request methodbucketName- Bucket nameobjectKey- Object name
-
-
方法详细资料
-
getMethod
Obtain the HTTP/HTTPS request method.- 返回:
- HTTP/HTTPS request method
-
setMethod
Set the HTTP/HTTP request method.- 参数:
method- HTTP/HTTPS request method
-
getBucketName
-
setBucketName
-
getObjectKey
-
setObjectKey
-
getHeaders
-
getQueryParams
-
getSpecialParam
-
setSpecialParam
Set the special operator.- 参数:
specialParam- Special operator
-
setHeaders
-
setQueryParams
-