• Main Page
  • Classes
  • Files
  • File List

include/S3/S3GetObjectRequest.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 "../AmazonClientException.h"
00019 
00020 #import "S3Request.h"
00021 #import "S3Constants.h"
00022 
00024 @interface S3GetObjectRequest : S3Request {
00025         int rangeStart, rangeEnd;
00026         bool rangeSet;
00027         NSDate   *ifModifiedSince;
00028         NSDate   *ifUnmodifiedSince;
00029         NSString *ifMatch;
00030         NSString *ifNoneMatch;
00031         NSOutputStream *outputStream;
00032 }
00033 
00035 @property (nonatomic, readonly) int rangeStart;
00036 
00038 @property (nonatomic, readonly) int rangeEnd;
00039 
00041 @property (nonatomic, retain) NSDate* ifModifiedSince;
00042 
00044 @property (nonatomic, retain) NSDate* ifUnmodifiedSince;
00045 
00047 @property (nonatomic, retain) NSString* ifMatch;
00048 
00050 @property (nonatomic, retain) NSString* ifNoneMatch;
00051 
00061 @property (nonatomic, assign) NSOutputStream* outputStream;
00062 
00064 -(S3GetObjectRequest *)initWithKey:(NSString *)key withBucket:(NSString *)bucket;
00065 
00067 -(void)setRangeStart:(int)start rangeEnd:(int)end;
00068 
00070 -(NSString *)getRange;
00071 
00072 @end

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