![]() |
API
0.9.6
|
Contains data obtained during a request made with CPURLConnection. More...
#import <CPURLRequest.h>
Inheritance diagram for CPURLRequest:Class Methods | |
| (id) | + requestWithURL: |
Class Methods inherited from CPObject | |
| (BOOL) | + accessInstanceVariablesDirectly |
| (id) | + alloc |
| (id) | + allocWithCoder: |
| (BOOL) | + automaticallyNotifiesObserversForKey: |
| (Class) | + class |
| (void) | + exposeBinding: |
| (void) | + initialize |
| (IMP) | + instanceMethodForSelector: |
| (BOOL) | + instancesRespondToSelector: |
| (BOOL) | + isSubclassOfClass: |
| (CPSet) | + keyPathsForValuesAffectingValueForKey: |
| (void) | + load |
| (id) | + new |
| (void) | + setVersion: |
| (Class) | + superclass |
| (int) | + version |
Additional Inherited Members | |
Instance Variables inherited from CPObject | |
| Class | isa |
Contains data obtained during a request made with CPURLConnection.
A helper object for CPURLConnection, that contains data obtained during the life of a request.
Definition at line 2 of file CPURLRequest.h.
|
implementation |
Returns a dictionary of the http header fields
Definition at line 141 of file CPURLRequest.j.
|
implementation |
Returns the request's http body.
Definition at line 116 of file CPURLRequest.j.
|
implementation |
Returns the request's http method
Definition at line 133 of file CPURLRequest.j.
|
implementation |
Equal to [receiver initWithURL:nil].
Reimplemented from CPObject.
Definition at line 55 of file CPURLRequest.j.
|
implementation |
Initializes the request with a URL. This is the designated initializer.
| aURL | the url to set |
Definition at line 66 of file CPURLRequest.j.
|
implementation |
Creates a request with a specified URL.
| aURL | the URL of the request |
Definition at line 47 of file CPURLRequest.j.
|
implementation |
Sets the HTTP body for this request
| anHTTPBody | the new HTTP body |
Definition at line 108 of file CPURLRequest.j.
|
implementation |
Sets the request's http method.
| anHTPPMethod | the new http method |
Definition at line 125 of file CPURLRequest.j.
|
implementation |
Sets the URL for this request.
| aURL | the new URL |
Definition at line 98 of file CPURLRequest.j.
Sets the value for the specified header field.
| aValue | the value for the header field |
| aField | the header field |
Definition at line 160 of file CPURLRequest.j.
|
implementation |
Returns the request URL
Definition at line 89 of file CPURLRequest.j.
Returns the value for the specified header field.
| aField | the header field to obtain a value for |
Definition at line 150 of file CPURLRequest.j.