OSSPutObjectRequest Class Reference
Inherits from | OSSRequest : NSObject |
Declared in | OSSModel.h OSSModel.m |
Tasks
-
bucketName
property -
objectKey
property -
uploadingData
property -
uploadingFileURL
property -
callbackParam
property -
callbackVar
property -
contentType
property -
contentMd5
property -
contentDisposition
property -
contentEncoding
property -
cacheControl
property -
expires
property -
objectMeta
property -
uploadProgress
property
Properties
bucketName
Bucket名称
@property (nonatomic, strong) NSString *bucketName
Discussion
Bucket名称
Declared In
OSSModel.h
cacheControl
指定该Object被下载时的网页的缓存行为;更详细描述请参照RFC2616。
@property (nonatomic, strong) NSString *cacheControl
Discussion
指定该Object被下载时的网页的缓存行为;更详细描述请参照RFC2616。
Declared In
OSSModel.h
callbackParam
server回调参数设置
@property (nonatomic, strong) NSDictionary *callbackParam
Discussion
server回调参数设置
Declared In
OSSModel.h
callbackVar
server回调变量设置
@property (nonatomic, strong) NSDictionary *callbackVar
Discussion
server回调变量设置
Declared In
OSSModel.h
contentDisposition
指定该Object被下载时的名称;更详细描述请参照RFC2616。
@property (nonatomic, strong) NSString *contentDisposition
Discussion
指定该Object被下载时的名称;更详细描述请参照RFC2616。
Declared In
OSSModel.h
contentEncoding
指定该Object被下载时的内容编码格式;更详细描述请参照RFC2616。
@property (nonatomic, strong) NSString *contentEncoding
Discussion
指定该Object被下载时的内容编码格式;更详细描述请参照RFC2616。
Declared In
OSSModel.h
contentMd5
根据协议RFC 1864对消息内容(不包括头部)计算MD5值获得128比特位数字,对该数字进行base64编码为一个消息的Content-MD5值。 该请求头可用于消息合法性的检查(消息内容是否与发送时一致)。虽然该请求头是可选项,OSS建议用户使用该请求头进行端到端检查。
@property (nonatomic, strong) NSString *contentMd5
Discussion
根据协议RFC 1864对消息内容(不包括头部)计算MD5值获得128比特位数字,对该数字进行base64编码为一个消息的Content-MD5值。 该请求头可用于消息合法性的检查(消息内容是否与发送时一致)。虽然该请求头是可选项,OSS建议用户使用该请求头进行端到端检查。
Declared In
OSSModel.h
contentType
设置文件类型
@property (nonatomic, strong) NSString *contentType
Discussion
设置文件类型
Declared In
OSSModel.h
expires
过期时间(milliseconds);更详细描述请参照RFC2616。
@property (nonatomic, strong) NSString *expires
Discussion
过期时间(milliseconds);更详细描述请参照RFC2616。
Declared In
OSSModel.h
objectKey
Object名称
@property (nonatomic, strong) NSString *objectKey
Discussion
Object名称
Declared In
OSSModel.h
objectMeta
可以在这个字段中携带以x-oss-meta-为前缀的参数,则视为user meta,比如x-oss-meta-location。一个Object可以有多个类似的参数,但所有的user meta总大小不能超过8k。 如果上传时还需要指定其他HTTP请求头字段,也可以在这里设置
@property (nonatomic, strong) NSDictionary *objectMeta
Discussion
可以在这个字段中携带以x-oss-meta-为前缀的参数,则视为user meta,比如x-oss-meta-location。一个Object可以有多个类似的参数,但所有的user meta总大小不能超过8k。 如果上传时还需要指定其他HTTP请求头字段,也可以在这里设置
Declared In
OSSModel.h
uploadProgress
上传进度回调
@property (nonatomic, copy) OSSNetworkingUploadProgressBlock uploadProgress
Discussion
上传进度回调
Declared In
OSSModel.h