类 PostSignatureRequest
java.lang.Object
com.obs.services.model.PostSignatureRequest
-
构造器概要
构造器构造器说明PostSignatureRequest(long expires, String bucketName, String objectKey) ConstructorPostSignatureRequest(long expires, Date requestDate, String bucketName, String objectKey) PostSignatureRequest(Date expiryDate, String bucketName, String objectKey) ConstructorPostSignatureRequest(Date expiryDate, Date requestDate, String bucketName, String objectKey) -
方法概要
修饰符和类型方法说明Obtain the bucket name.Obtain the restrictions of the form.longObtain the validity period.Set the expiration date.Obtain the form parameters of the request.Obtain the object name.Set the request time.voidsetBucketName(String bucketName) Set the bucket name.voidsetConditions(List<String> conditions) Set the restrictions of the form.voidsetExpires(long expires) Set the validity period (in seconds).voidsetExpiryDate(Date expiryDate) Obtain the expiration date.voidsetFormParams(Map<String, Object> formParams) Set the form parameters of the request.voidsetObjectKey(String objectKey) Set the object name.voidsetRequestDate(Date requestDate) Set the request time.toString()
-
构造器详细资料
-
PostSignatureRequest
public PostSignatureRequest() -
PostSignatureRequest
-
PostSignatureRequest
-
PostSignatureRequest
-
PostSignatureRequest
-
-
方法详细资料
-
getRequestDate
-
setRequestDate
-
getExpiryDate
-
setExpiryDate
Obtain the expiration date.- 参数:
expiryDate- Expiration date
-
getExpires
public long getExpires()Obtain the validity period. The default value is 5 minutes (value "300").- 返回:
- Validity period
-
setExpires
public void setExpires(long expires) Set the validity period (in seconds).- 参数:
expires- Validity period
-
getFormParams
-
setFormParams
-
getBucketName
-
setBucketName
-
getObjectKey
-
setObjectKey
-
getConditions
-
setConditions
-
toString
-