Inherits from AmazonServiceResponse : NSObject
Declared in S3Response.h

Overview

response headers that are common to Amazon S3 responses.

Tasks

  •   connectionState

    Specfies whether the connection to the server is open or closed.

    property
  •   etag

    The entity tag is an MD5 hash of the object that you can use to do conditional GET operations using the If-Modified request tag with the GET request operation. Amazon S3 checks the object against the provided MD5 value. If they do not match, Amazon S3 returns an error. The ETag only reflects changes to the contents of an object, not its metadata.

    property
  •   server

    The name of the server that created the response.

    property
  •   id2

    A special token that helps AWS troubleshoot problems.

    property
  •   versionId

    The version of the object. When you enable versioning, Amazon S3 generates a random number for objects added to a bucket. The value is UTF-8 encoded and URL ready. When you PUT an object in a bucket where versioning has been suspended, the version ID is always null.

    property
  •   serverSideEncryption

    Algorithm used for optional server side encryption.

    property
  •   date

    The date and time Amazon S3 responded.

    property
  •   deleteMarker

    Specifies whether the object returned was (true) or was not (false) a Delete Marker.

    property
  •   contentLength

    The length in bytes of the body in the response.

    property
  • – setValue:forHTTPHeaderField:

    Sets the value in the response corresponding to the HTTP header

  • – valueForHTTPHeaderField:

    Gets the value in the response corresponding to the HTTP header

  • – getTypeOfPropertyNamed:

    Determines the type of a property in a response.

Properties

connectionState

Specfies whether the connection to the server is open or closed.

@property (nonatomic, retain) NSString *connectionState

Discussion

Specfies whether the connection to the server is open or closed.

Declared In

S3Response.h

contentLength

The length in bytes of the body in the response.

@property (nonatomic) int64_t contentLength

Discussion

The length in bytes of the body in the response.

Declared In

S3Response.h

date

The date and time Amazon S3 responded.

@property (nonatomic, retain) NSDate *date

Discussion

The date and time Amazon S3 responded.

Declared In

S3Response.h

deleteMarker

Specifies whether the object returned was (true) or was not (false) a Delete Marker.

@property (nonatomic) bool deleteMarker

Discussion

Specifies whether the object returned was (true) or was not (false) a Delete Marker.

Declared In

S3Response.h

etag

The entity tag is an MD5 hash of the object that you can use to do conditional GET operations using the If-Modified request tag with the GET request operation. Amazon S3 checks the object against the provided MD5 value. If they do not match, Amazon S3 returns an error. The ETag only reflects changes to the contents of an object, not its metadata.

@property (nonatomic, retain) NSString *etag

Discussion

The entity tag is an MD5 hash of the object that you can use to do conditional GET operations using the If-Modified request tag with the GET request operation. Amazon S3 checks the object against the provided MD5 value. If they do not match, Amazon S3 returns an error. The ETag only reflects changes to the contents of an object, not its metadata.

Declared In

S3Response.h

id2

A special token that helps AWS troubleshoot problems.

@property (nonatomic, retain) NSString *id2

Discussion

A special token that helps AWS troubleshoot problems.

Declared In

S3Response.h

server

The name of the server that created the response.

@property (nonatomic, retain) NSString *server

Discussion

The name of the server that created the response.

Declared In

S3Response.h

serverSideEncryption

Algorithm used for optional server side encryption.

@property (nonatomic, retain) NSString *serverSideEncryption

Discussion

Algorithm used for optional server side encryption.

Declared In

S3Response.h

versionId

The version of the object. When you enable versioning, Amazon S3 generates a random number for objects added to a bucket. The value is UTF-8 encoded and URL ready. When you PUT an object in a bucket where versioning has been suspended, the version ID is always null.

@property (nonatomic, retain) NSString *versionId

Discussion

The version of the object. When you enable versioning, Amazon S3 generates a random number for objects added to a bucket. The value is UTF-8 encoded and URL ready. When you PUT an object in a bucket where versioning has been suspended, the version ID is always null.

Declared In

S3Response.h

Instance Methods

getTypeOfPropertyNamed:

Determines the type of a property in a response.

- (NSString *)getTypeOfPropertyNamed:(NSString *)propertyName

Discussion

Determines the type of a property in a response.

Declared In

S3Response.h

setValue:forHTTPHeaderField:

Sets the value in the response corresponding to the HTTP header

- (void)setValue:(id)value forHTTPHeaderField:(NSString *)header

Discussion

Sets the value in the response corresponding to the HTTP header

Declared In

S3Response.h

valueForHTTPHeaderField:

Gets the value in the response corresponding to the HTTP header

- (id)valueForHTTPHeaderField:(NSString *)header

Discussion

Gets the value in the response corresponding to the HTTP header

Declared In

S3Response.h