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 #import "S3Response.h" 00018 00020 @interface S3GetObjectResponse : S3Response { 00021 NSString *contentType; 00022 NSMutableDictionary *metadata; 00023 NSOutputStream *outputStream; 00024 } 00025 00027 @property(nonatomic, retain) NSString* contentType; 00028 00033 -(NSString *)getMetadataForKey:(NSString *)aKey; 00034 00041 -(void)setOutputStream:(NSOutputStream *)stream; 00042 00043 @end