CPURLRequest Class Reference

List of all members.

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]


Detailed Description

A helper object for CPURLConnection, that contains data obtained during the life of a request.

Definition at line 30 of file CPURLRequest.j.


Member Function Documentation

- (CPDictionary) allHTTPHeaderFields   [implementation]

Returns a dictionar of the http header fields

Definition at line 127 of file CPURLRequest.j.

- (CPString) HTTPBody   [implementation]

Returns the request's http body.

Definition at line 102 of file CPURLRequest.j.

- (CPString) HTTPMethod   [implementation]

Returns the request's http method

Definition at line 119 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 55 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 45 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 94 of file CPURLRequest.j.

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

Sets the request's http method.

Parameters:
anHTPPMethod the new http method

Definition at line 111 of file CPURLRequest.j.

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

Sets the URL for this request.

Parameters:
aURL the new URL

Definition at line 85 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 146 of file CPURLRequest.j.

- (CPURL) URL   [implementation]

Returns the request URL

Definition at line 76 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 136 of file CPURLRequest.j.


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

Generated on Thu Dec 11 01:55:51 2008 for Cappuccino by  doxygen 1.5.7.1