• Main Page
  • Classes
  • Files
  • File List

include/S3/S3Request.h

00001 /*
00002  * Copyright 2010 Amazon.com, Inc. or its affiliates. All Rights Reserved.
00003  *
00004  * Licensed under the Apache License, Version 2.0 (the "License").
00005  * You may not use this file except in compliance with the License.
00006  * A copy of the License is located at
00007  *
00008  *  http://aws.amazon.com/apache2.0
00009  *
00010  * or in the "license" file accompanying this file. This file is distributed
00011  * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
00012  * express or implied. See the License for the specific language governing
00013  * permissions and limitations under the License.
00014  */
00015 
00016 #import <Foundation/Foundation.h>
00017 
00018 #import "../AmazonSDKUtil.h"
00019 #import "../AmazonAuthUtils.h"
00020 #import "../AmazonServiceRequest.h"
00021 
00022 #import "S3Constants.h"
00023 
00025 @interface S3Request : AmazonServiceRequest {
00026         NSString        *authorization;
00027         int             contentLength;
00028         NSString        *contentType;
00029         NSDate          *date;
00030         NSString        *securityToken;
00031         NSString        *bucket;
00032         NSString        *key;
00033         NSString        *subResource;
00034 }
00035 
00036 #pragma mark Properties
00037 
00039 @property (nonatomic, retain) NSString* authorization;
00040 
00042 @property (nonatomic) int contentLength;
00043 
00046 @property (nonatomic, retain) NSString* contentType;
00047 
00051 @property (nonatomic, retain) NSDate*   date;
00052 
00056 @property (nonatomic, readonly) NSString* host;
00057 
00059 @property (nonatomic, retain) NSString* securityToken;
00060 
00062 @property (nonatomic, retain) NSString* bucket;
00063 
00065 @property (nonatomic, retain) NSString* key;
00066 
00068 @property (nonatomic, retain) NSString* subResource;
00069 
00073 @property (nonatomic, readonly) NSURL* url;
00074 
00075 #pragma mark methods
00076 
00078 -(NSMutableURLRequest *)configureURLRequest;
00079 
00081 -(NSString *)timestamp;
00082 
00083 @end
00084 
00085 #pragma mark Categories
00086 
00088 @interface NSDate (WithS3RequestFormat)
00089 
00091 -(NSString *)requestFormat;
00092 
00093 @end
00094 

Generated on Wed Jan 26 2011 09:49:41 for Amazon S3 by  doxygen 1.7.1