OSSObject Class Reference
Inherits from | NSObject |
Declared in | OSSObject.h OSSObject.m |
Tasks
-
contentType
property -
range
property -
metaDictionary
property -
bucket
property -
key
property -
– initWithBucket:withKey:
-
– constructRequestWithMethod:withMd5:withContype:withXossDic:withBucket:withKey:withRange:
Properties
bucket
设置bucket
@property (nonatomic, strong) OSSBucket *bucket
Discussion
@property
Declared In
OSSObject.h
contentType
存放content type
@property (nonatomic, strong) NSMutableString *contentType
Discussion
@property
Declared In
OSSObject.h
key
设置object的key
@property (nonatomic, strong) NSString *key
Discussion
@property
Declared In
OSSObject.h
Instance Methods
constructRequestWithMethod:withMd5:withContype:withXossDic:withBucket:withKey:withRange:
构建使用发往OSS服务器的请求
- (NSMutableURLRequest *)constructRequestWithMethod:(NSString *)method withMd5:(NSString *)md withContype:(NSString *)contentType withXossDic:(NSDictionary *)xossHeaderDic withBucket:(NSString *)bucket withKey:(NSString *)key withRange:(OSSRange *)range
Discussion
@method
Declared In
OSSObject.h
initWithBucket:withKey:
初始化bucket和key
- (instancetype)initWithBucket:(OSSBucket *)bucket withKey:(NSString *)key
Discussion
@method
Declared In
OSSObject.h