Public Member Functions | |
(id) | - initWithURL: [implementation] |
(CPURL) | - URL [implementation] |
(void) | - setURL: [implementation] |
(void) | - setHTTPBody: [implementation] |
(CPString) | - HTTPBody [implementation] |
(void) | - setHTTPMethod: [implementation] |
(CPString) | - HTTPMethod [implementation] |
(CPDictionary) | - allHTTPHeaderFields [implementation] |
(CPString) | - valueForHTTPHeaderField: [implementation] |
(void) | - setValue:forHTTPHeaderField: [implementation] |
Static Public Member Functions | |
(id) | + requestWithURL: [implementation] |
Definition at line 32 of file CPURLRequest.j.
- (CPDictionary) allHTTPHeaderFields | [implementation] |
Returns a dictionar of the http header fields
Definition at line 130 of file CPURLRequest.j.
- (CPString) HTTPBody | [implementation] |
Returns the request's http body.
Definition at line 105 of file CPURLRequest.j.
- (CPString) HTTPMethod | [implementation] |
Returns the request's http method
Definition at line 122 of file CPURLRequest.j.
- (id) initWithURL: | (CPURL) | aURL | [implementation] |
Initializes the request with a URL.
aURL | the url to set |
Definition at line 57 of file CPURLRequest.j.
+ (id) requestWithURL: | (CPURL) | aURL | [implementation] |
Creates a request with a specified URL.
aURL | the URL of the request |
Definition at line 47 of file CPURLRequest.j.
- (void) setHTTPBody: | (CPString) | anHTTPBody | [implementation] |
Sets the HTTP body for this request
anHTTPBody | the new HTTP body |
Definition at line 97 of file CPURLRequest.j.
- (void) setHTTPMethod: | (CPString) | anHTTPMethod | [implementation] |
Sets the request's http method.
anHTPPMethod | the new http method |
Definition at line 114 of file CPURLRequest.j.
- (void) setURL: | (CPURL) | aURL | [implementation] |
Sets the URL for this request.
aURL | the new URL |
Definition at line 88 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 149 of file CPURLRequest.j.
- (CPURL) URL | [implementation] |
Returns the request URL
Definition at line 79 of file CPURLRequest.j.
Returns the value for the specified header field.
aField | the header field to obtain a value for |
Definition at line 139 of file CPURLRequest.j.