ActiveResourceKit  v1.2 (498.0)
 All Classes Files Functions Variables Typedefs Enumerator Properties Macros Pages
Instance Methods | Properties | List of all members
ARQueuedLoadingURLConnection Class Reference

#import <ARQueuedLoadingURLConnection.h>

Inheritance diagram for ARQueuedLoadingURLConnection:
Inheritance graph
[legend]
Collaboration diagram for ARQueuedLoadingURLConnection:
Collaboration graph
[legend]

Instance Methods

(void) - sendRequest:completionHandler:
 Sends a request.
 
- Instance Methods inherited from ARConnection
(id) - initWithSite:format:
 
(id) - initWithSite:
 
(NSMutableURLRequest *) - requestForHTTPMethod:path:headers:
 Builds a mutable HTTP request given a HTTP method, a path and headers.
 
(id) - init [implementation]
 
(NSDictionary *) - defaultHeaders
 Supplies default headers for the connection; none by default unless a sub-class overrides this method.
 
(NSDictionary *) - buildRequestHeaderFieldsUsingHeaders:forHTTPMethod:
 
(NSDictionary *) - HTTPFormatHeaderForHTTPMethod:
 Answers a format header for the given HTTP request method.
 

Properties

NSOperationQueue * operationQueue
 Specifies the operation queue on which to handle response completions for resources associated with this connection.
 
- Properties inherited from ARConnection
NSURL * site
 
id< ARFormatformat
 
NSTimeInterval timeout
 

Additional Inherited Members

- Class Methods inherited from ARConnection
(NSError *) + errorForResponse:
 Decides how to handle the given HTTP response based on the response status code.
 

Detailed Description

Definition at line 27 of file ARQueuedLoadingURLConnection.h.

Method Documentation

- (void) sendRequest: (NSURLRequest *)  request
completionHandler: (ARConnectionCompletionHandler completionHandler 

Sends a request.

Sending a request answers the raw body data. At this level, the connection only handles the actual sending. It does not attempt to handle the response. Other object methods interpret the response code and decode the response body according to the expected format.

Reimplemented from ARConnection.

Definition at line 30 of file ARQueuedLoadingURLConnection.m.

Property Documentation

- (NSOperationQueue*) operationQueue
readwriteatomicstrong

Specifies the operation queue on which to handle response completions for resources associated with this connection.

All completion handlers run in the given operation queue. If nil, the completion handler runs in the operation queue used to issue the request.

Definition at line 39 of file ARQueuedLoadingURLConnection.h.


The documentation for this class was generated from the following files: