Index
All Classes and Interfaces|All Packages|Constant Field Values
A
- afterPropertiesSet() - Method in class cn.twelvet.oss.service.OssTemplate
C
- cn.twelvet.oss - package cn.twelvet.oss
- cn.twelvet.oss.config.properties - package cn.twelvet.oss.config.properties
- cn.twelvet.oss.http - package cn.twelvet.oss.http
- cn.twelvet.oss.service - package cn.twelvet.oss.service
- createBucket(String) - Method in class cn.twelvet.oss.http.OssEndpoint
-
创建桶
- createBucket(String) - Method in class cn.twelvet.oss.service.OssTemplate
-
创建bucket
- createObject(MultipartFile, String) - Method in class cn.twelvet.oss.http.OssEndpoint
-
上传对象
- createObject(MultipartFile, String, String) - Method in class cn.twelvet.oss.http.OssEndpoint
-
上传对象
D
- deleteBucket(String) - Method in class cn.twelvet.oss.http.OssEndpoint
-
删除桶
- deleteObject(String, String) - Method in class cn.twelvet.oss.http.OssEndpoint
-
删除对象
F
- filterObject(String, String) - Method in class cn.twelvet.oss.http.OssEndpoint
-
根据桶获取对象
G
- getAccessKey() - Method in class cn.twelvet.oss.config.properties.OssProperties
-
getAccessKey
- getAllBuckets() - Method in class cn.twelvet.oss.service.OssTemplate
-
获取全部bucket 请参考 AWS S3 API 文档(http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/ListObjects)以获取更多信息
- getAllObjectsByPrefix(String, String) - Method in class cn.twelvet.oss.service.OssTemplate
-
根据文件前置查询文件 请参考 AWS S3 API 文档(http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/ListObjects)以获取更多信息
- getBucket(String) - Method in class cn.twelvet.oss.http.OssEndpoint
-
获取桶信息
- getBucket(String) - Method in class cn.twelvet.oss.service.OssTemplate
-
请参考 AWS S3 API 文档(http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/ListObjects)以获取更多信息
- getBucketName() - Method in class cn.twelvet.oss.config.properties.OssProperties
-
getBucketName
- getBuckets() - Method in class cn.twelvet.oss.http.OssEndpoint
-
获取所有桶名称
- getEndpoint() - Method in class cn.twelvet.oss.config.properties.OssProperties
-
getEndpoint
- getObject(String, String) - Method in class cn.twelvet.oss.service.OssTemplate
-
获取文件
- getObjectInfo(String, String) - Method in class cn.twelvet.oss.service.OssTemplate
-
获取文件信息
- getObjectUrl(String, String, Integer) - Method in class cn.twelvet.oss.http.OssEndpoint
-
获取文件外链,只用于下载
- getObjectURL(String, String) - Method in class cn.twelvet.oss.service.OssTemplate
-
获取文件URL
- getObjectURL(String, String, int) - Method in class cn.twelvet.oss.service.OssTemplate
-
获取文件外链,只用于下载
- getObjectURL(String, String, int, HttpMethod) - Method in class cn.twelvet.oss.service.OssTemplate
-
获取文件外链
- getObjectURL(String, String, Duration) - Method in class cn.twelvet.oss.service.OssTemplate
-
获取文件外链,只用于下载
- getObjectURL(String, String, Duration, HttpMethod) - Method in class cn.twelvet.oss.service.OssTemplate
-
获取文件外链
- getPathStyleAccess() - Method in class cn.twelvet.oss.config.properties.OssProperties
-
getPathStyleAccess
- getPutObjectUrl(String, String, Integer) - Method in class cn.twelvet.oss.http.OssEndpoint
-
获取文件上传外链,只用于上传
- getPutObjectURL(String, String, int) - Method in class cn.twelvet.oss.service.OssTemplate
-
获取文件上传外链,只用于上传
- getPutObjectURL(String, String, Duration) - Method in class cn.twelvet.oss.service.OssTemplate
-
获取文件上传外链,只用于上传
- getRegion() - Method in class cn.twelvet.oss.config.properties.OssProperties
-
getRegion
- getSecretKey() - Method in class cn.twelvet.oss.config.properties.OssProperties
-
getSecretKey
I
- isEnable() - Method in class cn.twelvet.oss.config.properties.OssProperties
-
isEnable
O
- OssAutoConfiguration - Class in cn.twelvet.oss
-
oss 自动配置类
- OssAutoConfiguration() - Constructor for class cn.twelvet.oss.OssAutoConfiguration
- ossEndpoint(OssTemplate) - Method in class cn.twelvet.oss.OssAutoConfiguration
-
OSS端点信息
- OssEndpoint - Class in cn.twelvet.oss.http
-
oss 对外提供服务端点
- OssEndpoint(OssTemplate) - Constructor for class cn.twelvet.oss.http.OssEndpoint
-
注入OssTemplate
- OssProperties - Class in cn.twelvet.oss.config.properties
-
oss 配置信息 bucket 设置公共读权限 配置文件添加: oss: enable: true endpoint: http://127.0.0.1:9000 # pathStyleAccess 采用nginx反向代理或者AWS S3 配置成true,支持第三方云存储配置成false pathStyleAccess: false access-key: twelvet secret-key: twelvet bucket-name: twelvet region: custom-domain: https://oss.xxx.com/twelvet
- OssProperties() - Constructor for class cn.twelvet.oss.config.properties.OssProperties
- ossTemplate(OssProperties) - Method in class cn.twelvet.oss.OssAutoConfiguration
-
OSS操作模板
- OssTemplate - Class in cn.twelvet.oss.service
-
aws-s3 通用存储操作 支持所有兼容s3协议的云存储: {阿里云OSS,腾讯云COS,七牛云,京东云,minio 等}
- OssTemplate(OssProperties) - Constructor for class cn.twelvet.oss.service.OssTemplate
-
注入OssProperties
P
- PREFIX - Static variable in class cn.twelvet.oss.config.properties.OssProperties
-
配置前缀
- putObject(String, String, InputStream) - Method in class cn.twelvet.oss.service.OssTemplate
-
上传文件
- putObject(String, String, InputStream, long, String) - Method in class cn.twelvet.oss.service.OssTemplate
-
上传文件 请参考 AWS S3 API 文档(http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/ListObjects)以获取更多信息
- putObject(String, String, String, InputStream) - Method in class cn.twelvet.oss.service.OssTemplate
-
上传文件 指定 contextType
R
- removeBucket(String) - Method in class cn.twelvet.oss.service.OssTemplate
- removeObject(String, String) - Method in class cn.twelvet.oss.service.OssTemplate
-
删除文件
S
- setAccessKey(String) - Method in class cn.twelvet.oss.config.properties.OssProperties
-
setAccessKey
- setBucketName(String) - Method in class cn.twelvet.oss.config.properties.OssProperties
-
setBucketName
- setEnable(boolean) - Method in class cn.twelvet.oss.config.properties.OssProperties
-
setEnable
- setEndpoint(String) - Method in class cn.twelvet.oss.config.properties.OssProperties
-
setEndpoint
- setPathStyleAccess(Boolean) - Method in class cn.twelvet.oss.config.properties.OssProperties
-
Boolean
- setRegion(String) - Method in class cn.twelvet.oss.config.properties.OssProperties
-
setRegion
- setSecretKey(String) - Method in class cn.twelvet.oss.config.properties.OssProperties
-
setSecretKey
All Classes and Interfaces|All Packages|Constant Field Values