Inherits from NSObject
Declared in AmazonServiceResponse.h

Tasks

Properties

body

The body of the html response.

@property (nonatomic, readonly) NSData *body

Discussion

The body of the html response.

Declared In

AmazonServiceResponse.h

didTimeout

Whether the original request was timed out.

@property (nonatomic, readonly) bool didTimeout

Discussion

Whether the original request was timed out.

Declared In

AmazonServiceResponse.h

error

If an exception was thrown, and the SDK is configured not to throw exceptions, this will return the error object generated from the exception object.

@property (nonatomic, retain) NSError *error

Discussion

If an exception was thrown, and the SDK is configured not to throw exceptions, this will return the error object generated from the exception object.

Declared In

AmazonServiceResponse.h

exception

If an exception was thrown, this will return the exception.

@property (nonatomic, readonly) NSException *exception

Discussion

If an exception was thrown, this will return the exception.

Declared In

AmazonServiceResponse.h

httpStatusCode

The HTTP status code of the response from the service.

@property (nonatomic) NSInteger httpStatusCode

Discussion

The HTTP status code of the response from the service.

Declared In

AmazonServiceResponse.h

isFinishedLoading

Whether the response is finished loading.

@property (nonatomic, readonly) bool isFinishedLoading

Discussion

Whether the response is finished loading.

Declared In

AmazonServiceResponse.h

request

The request for which this is the response

@property (nonatomic, retain) AmazonServiceRequest *request

Discussion

The request for which this is the response

Declared In

AmazonServiceResponse.h

requestId

The requestId assigned by the service

@property (nonatomic, retain) NSString *requestId

Discussion

The requestId assigned by the service

Declared In

AmazonServiceResponse.h

Instance Methods

connection:didReceiveData:

delegate method for NSURLConnection

- (void)connection:(NSURLConnection *)connection didReceiveData:(NSData *)data

Discussion

delegate method for NSURLConnection

Declared In

AmazonServiceResponse.h

connection:didReceiveResponse:

delegate method for NSURLConnection

- (void)connection:(NSURLConnection *)connection didReceiveResponse:(NSURLResponse *)response

Discussion

delegate method for NSURLConnection

Declared In

AmazonServiceResponse.h

connectionDidFinishLoading:

delegate method for NSURLConnection

- (void)connectionDidFinishLoading:(NSURLConnection *)connection

Discussion

delegate method for NSURLConnection

Declared In

AmazonServiceResponse.h

processBody

Once the body has been received, perform additional processing, such as parse as XML.

- (void)processBody

Discussion

Once the body has been received, perform additional processing, such as parse as XML.

Declared In

AmazonServiceResponse.h