CPURLRequest Class Reference
[Foundation]

Contains data obtained during a request made with CPURLConnection. More...

List of all members.

Public Member Functions

(CPDictionary- allHTTPHeaderFields [implementation]
(CPString- HTTPBody [implementation]
(CPString- HTTPMethod [implementation]
(id) - initWithURL: [implementation]
(void) - setHTTPBody: [implementation]
(void) - setHTTPMethod: [implementation]
(void) - setURL: [implementation]
(void) - setValue:forHTTPHeaderField: [implementation]
(CPURL- URL [implementation]
(CPString- valueForHTTPHeaderField: [implementation]

Static Public Member Functions

(id) + requestWithURL: [implementation]

Detailed Description

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 34 of file CPURLRequest.j.


Member Function Documentation

- (CPDictionary) allHTTPHeaderFields   [implementation]

Returns a dictionar of the http header fields

Definition at line 134 of file CPURLRequest.j.

- (CPString) HTTPBody   [implementation]

Returns the request's http body.

Definition at line 109 of file CPURLRequest.j.

- (CPString) HTTPMethod   [implementation]

Returns the request's http method

Definition at line 126 of file CPURLRequest.j.

- (id) initWithURL: (CPURL aURL   [implementation]

Initializes the request with a URL.

Parameters:
aURL the url to set
Returns:
the initialized CPURLRequest

Definition at line 59 of file CPURLRequest.j.

+ (id) requestWithURL: (CPURL aURL   [implementation]

Creates a request with a specified URL.

Parameters:
aURL the URL of the request
Returns:
a CPURLRequest

Definition at line 49 of file CPURLRequest.j.

- (void) setHTTPBody: (CPString anHTTPBody   [implementation]

Sets the HTTP body for this request

Parameters:
anHTTPBody the new HTTP body

Definition at line 101 of file CPURLRequest.j.

- (void) setHTTPMethod: (CPString anHTTPMethod   [implementation]

Sets the request's http method.

Parameters:
anHTPPMethod the new http method

Definition at line 118 of file CPURLRequest.j.

- (void) setURL: (CPURL aURL   [implementation]

Sets the URL for this request.

Parameters:
aURL the new URL

Definition at line 91 of file CPURLRequest.j.

- (void) setValue: (CPString aValue
forHTTPHeaderField: (CPString aField 
[implementation]

Sets the value for the specified header field.

Parameters:
aValue the value for the header field
aField the header field

Definition at line 153 of file CPURLRequest.j.

- (CPURL) URL   [implementation]

Returns the request URL

Definition at line 82 of file CPURLRequest.j.

- (CPString) valueForHTTPHeaderField: (CPString aField   [implementation]

Returns the value for the specified header field.

Parameters:
aField the header field to obtain a value for

Definition at line 143 of file CPURLRequest.j.


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

Generated on Fri Apr 9 11:04:22 2010 for Cappuccino API by  doxygen 1.6.1