#include <HTTPResponse.h>
List of all members.
Detailed Description
This class wrapps a HTTP Response object
Member Enumeration Documentation
This type defines response header fields (properties). It implements fully the HTTP 1.0 protocol (RFC1945)
- Enumerator:
| etLocation |
|
| etServer |
Location field.
|
| etWWWAuthenticate |
Server field.
|
| etRetryAfter |
WWW-Authenticate field.
|
Constructor & Destructor Documentation
Creates a HTTP Request Object
- Parameters:
-
| eVersion | : Version of the HTML response |
| THTTPResponse::~THTTPResponse |
( |
) |
[protected, virtual] |
Destroys the HTTP Request Object
Member Function Documentation
| void THTTPResponse::getBinaryData |
( |
IByteArray & |
rData ) |
const |
Gets the state of the response
| bool zeus::THTTPResponse::isBinary |
( |
) |
const [inline] |
Checks if the content is binary
This Method parses a incomming response
- Parameters:
-
| rIn | : Input data |
| rpResponse | : Return value |
- Return values:
-
| RET_NOERROR | : Parsing ok |
| RET_REQUEST_FAILED | : wrong format |
| void THTTPResponse::reset |
( |
) |
[virtual] |
| void THTTPResponse::setBinaryData |
( |
const IByteArray & |
rData ) |
|
Sets the response property values
- Parameters:
-
| eType | : Type of the response property |
| rValue | : Value of the response property |
Sets the status of the response
Sets the status of the response with a message text
- Parameters:
-
| eState | : New state |
| rMessage | : Message text |
| TString THTTPResponse::toString |
( |
) |
const |
Returns a string which contains the HTTP Request
Reimplemented from zeus::TZObject.
The documentation for this class was generated from the following files: