mirror of https://github.com/alibaba/easyexcel
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
57 lines
790 B
57 lines
790 B
10 months ago
|
package com.alibaba.easytools.spring.oss;
|
||
|
|
||
|
import com.aliyun.oss.model.CannedAccessControlList;
|
||
|
import lombok.Data;
|
||
|
|
||
|
/**
|
||
|
* 计算请求签名对象
|
||
|
*
|
||
|
* @author 是仪
|
||
|
*/
|
||
|
@Data
|
||
|
public class CalculatePostSignature {
|
||
|
|
||
|
/**
|
||
|
* 请求的host
|
||
|
*/
|
||
|
private String host;
|
||
|
|
||
|
/**
|
||
|
* 请求的策略
|
||
|
*/
|
||
|
private String policy;
|
||
|
|
||
|
/**
|
||
|
* 授权id
|
||
|
*/
|
||
|
private String accessId;
|
||
|
|
||
|
/**
|
||
|
* 授权签名
|
||
|
*/
|
||
|
private String signature;
|
||
|
|
||
|
/**
|
||
|
* 过期时间 时间戳
|
||
|
*/
|
||
|
private Long expire;
|
||
|
|
||
|
/**
|
||
|
* 文件上传的key
|
||
|
*/
|
||
|
private String key;
|
||
|
|
||
|
|
||
|
/**
|
||
|
* 文件连接
|
||
|
*/
|
||
|
private String url;
|
||
|
|
||
|
/**
|
||
|
* 权限控制
|
||
|
*
|
||
|
* @see CannedAccessControlList
|
||
|
*/
|
||
|
private String objectAcl;
|
||
|
}
|