public abstract class AbstractTemporarySignatureRequest extends Object
Modifier and Type | Field and Description |
---|---|
protected String |
bucketName |
protected Map<String,String> |
headers |
protected HttpMethodEnum |
method |
protected String |
objectKey |
protected Map<String,Object> |
queryParams |
protected SpecialParamEnum |
specialParam |
Constructor and Description |
---|
AbstractTemporarySignatureRequest() |
AbstractTemporarySignatureRequest(HttpMethodEnum method,
String bucketName,
String objectKey)
Constructor
|
Modifier and Type | Method and Description |
---|---|
String |
getBucketName()
Obtain the bucket name.
|
Map<String,String> |
getHeaders()
Obtain the request header information.
|
HttpMethodEnum |
getMethod()
Obtain the HTTP/HTTPS request method.
|
String |
getObjectKey()
Obtain the object name.
|
Map<String,Object> |
getQueryParams()
Obtain the query parameters of the request.
|
SpecialParamEnum |
getSpecialParam()
Obtain the special operator.
|
void |
setBucketName(String bucketName)
Set the bucket name.
|
void |
setHeaders(Map<String,String> headers)
Set request header information.
|
void |
setMethod(HttpMethodEnum method)
Set the HTTP/HTTP request method.
|
void |
setObjectKey(String objectKey)
Set the object name.
|
void |
setQueryParams(Map<String,Object> queryParams)
Set request query parameters.
|
void |
setSpecialParam(SpecialParamEnum specialParam)
Set the special operator.
|
protected HttpMethodEnum method
protected String bucketName
protected String objectKey
protected SpecialParamEnum specialParam
public AbstractTemporarySignatureRequest()
public AbstractTemporarySignatureRequest(HttpMethodEnum method, String bucketName, String objectKey)
method
- HTTP/HTTPS request methodbucketName
- Bucket nameobjectKey
- Object namepublic HttpMethodEnum getMethod()
public void setMethod(HttpMethodEnum method)
method
- HTTP/HTTPS request methodpublic String getBucketName()
public void setBucketName(String bucketName)
bucketName
- Bucket namepublic String getObjectKey()
public void setObjectKey(String objectKey)
objectKey
- Object namepublic Map<String,String> getHeaders()
public Map<String,Object> getQueryParams()
public SpecialParamEnum getSpecialParam()
public void setSpecialParam(SpecialParamEnum specialParam)
specialParam
- Special operatorpublic void setHeaders(Map<String,String> headers)
headers
- Request header informationCopyright © 2019. All rights reserved.