AmazonServiceResponse Class Reference
| Inherits from | NSObject |
| Declared in | AmazonServiceResponse.h |
Tasks
-
bodyThe body of the html response.
property -
httpStatusCodeThe HTTP status code of the response from the service.
property -
isFinishedLoadingWhether the response is finished loading.
property -
didTimeoutWhether the original request was timed out.
property -
errorIf 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 -
exceptionIf an exception was thrown, this will return the exception.
property -
requestThe request for which this is the response
property -
requestIdThe requestId assigned by the service
property -
– processBodyOnce the body has been received, perform additional processing, such as parse as XML.
-
– connection:didReceiveResponse:delegate method for NSURLConnection
-
– connection:didReceiveData:delegate method for NSURLConnection
-
– connectionDidFinishLoading:delegate method for NSURLConnection
Properties
body
The body of the html response.
@property (nonatomic, readonly) NSData *bodyDiscussion
The body of the html response.
Declared In
AmazonServiceResponse.hdidTimeout
Whether the original request was timed out.
@property (nonatomic, readonly) bool didTimeoutDiscussion
Whether the original request was timed out.
Declared In
AmazonServiceResponse.herror
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 *errorDiscussion
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.hexception
If an exception was thrown, this will return the exception.
@property (nonatomic, readonly) NSException *exceptionDiscussion
If an exception was thrown, this will return the exception.
Declared In
AmazonServiceResponse.hhttpStatusCode
The HTTP status code of the response from the service.
@property (nonatomic) NSInteger httpStatusCodeDiscussion
The HTTP status code of the response from the service.
Declared In
AmazonServiceResponse.hisFinishedLoading
Whether the response is finished loading.
@property (nonatomic, readonly) bool isFinishedLoadingDiscussion
Whether the response is finished loading.
Declared In
AmazonServiceResponse.hInstance Methods
connection:didReceiveData:
delegate method for NSURLConnection
- (void)connection:(NSURLConnection *)connection didReceiveData:(NSData *)dataDiscussion
delegate method for NSURLConnection
Declared In
AmazonServiceResponse.hconnection:didReceiveResponse:
delegate method for NSURLConnection
- (void)connection:(NSURLConnection *)connection didReceiveResponse:(NSURLResponse *)responseDiscussion
delegate method for NSURLConnection
Declared In
AmazonServiceResponse.h