public class TemporarySignatureRequest extends AbstractTemporarySignatureRequest
bucketName, headers, method, objectKey, queryParams, specialParam| 构造器和说明 |
|---|
TemporarySignatureRequest() |
TemporarySignatureRequest(HttpMethodEnum method,
long expires)
Constructor
|
TemporarySignatureRequest(HttpMethodEnum method,
String bucketName,
String objectKey,
SpecialParamEnum specialParam,
long expires)
Constructor
|
TemporarySignatureRequest(HttpMethodEnum method,
String bucketName,
String objectKey,
SpecialParamEnum specialParam,
long expires,
Date requestDate)
Constructor
|
| 限定符和类型 | 方法和说明 |
|---|---|
long |
getExpires()
Obtain the validity period of the temporary authorization (in seconds).
|
Date |
getRequestDate()
Set the request time.
|
void |
setExpires(long expires)
Obtain the validity period of the temporary authorization (in seconds).
|
void |
setRequestDate(Date requestDate)
Set the request time.
|
String |
toString() |
getBucketName, getHeaders, getMethod, getObjectKey, getQueryParams, getSpecialParam, setBucketName, setHeaders, setMethod, setObjectKey, setQueryParams, setSpecialParampublic TemporarySignatureRequest()
public TemporarySignatureRequest(HttpMethodEnum method, long expires)
method - HTTP/HTTPS request methodexpires - Expiration time (in seconds)public TemporarySignatureRequest(HttpMethodEnum method, String bucketName, String objectKey, SpecialParamEnum specialParam, long expires)
method - HTTP/HTTPS request methodbucketName - Bucket nameobjectKey - Object namespecialParam - Special operatorexpires - Expiration time (in seconds)public TemporarySignatureRequest(HttpMethodEnum method, String bucketName, String objectKey, SpecialParamEnum specialParam, long expires, Date requestDate)
method - HTTP/HTTPS request methodbucketName - Bucket nameobjectKey - Object namespecialParam - Special operatorexpires - Expiration time (in seconds)requestDate - Request datepublic long getExpires()
public void setExpires(long expires)
expires - Validity periodpublic Date getRequestDate()
public void setRequestDate(Date requestDate)
requestDate - Request dateCopyright © 2021. All rights reserved.