#include <ResponseHeader.h> [code]
Inherits Protocols::Http::HeaderBase.
Inheritance diagram for Protocols::Http::ResponseHeader:


Status-Line = HTTP-Version SP Status-Code SP Reason-Phrase CRLF
Definition at line 40 of file ResponseHeader.h.
Public Member Functions | |
| auto_ptr< DataBase > | copy () const |
| Virtual copy constructor. | |
| ResponseHeader (int statusCode=0, const QByteArray &reasonPhrase=QByteArray(), int majorVer=1, int minorVer=1) | |
| Constructs a ResponseHeader object. | |
| int | statusCode () const |
| Returns the HTTP status code from the Status-Line of the HTTP response. | |
| QByteArray | reasonPhrase () const |
| Returns the HTTP reason phrase from the Status-Line of the HTTP response. | |
| int | majorVersion () const |
| Returns the HTTP major version from the Status-Line of the HTTP response. | |
| int | minorVersion () const |
| Returns the HTTP minor version from the Status-Line of the HTTP response. | |
Private Member Functions | |
| bool | parseStartLine (const QByteArray &startLine) |
| Reimplements the base class function to parse the first header line. | |
| QByteArray | rawStartLine () const |
| Reimplements the base class function to generate the first header line. | |
| Q_DECLARE_SHARED_DATA (Data) | |
Classes | |
| class | Data |
| Extends the implicitly shared private data of the base class. More... | |
|
||||||||||||||||||||
|
Constructs a ResponseHeader object.
Definition at line 40 of file ResponseHeader.cpp. |
|
|
Virtual copy constructor.
Reimplemented from Protocols::Http::HeaderBase. Definition at line 28 of file ResponseHeader.cpp. |
|
|
Returns the HTTP major version from the Status-Line of the HTTP response.
Definition at line 85 of file ResponseHeader.h. |
|
|
Returns the HTTP minor version from the Status-Line of the HTTP response.
Definition at line 89 of file ResponseHeader.h. |
|
|
Reimplements the base class function to parse the first header line.
Reimplemented from Protocols::Http::HeaderBase. Definition at line 54 of file ResponseHeader.cpp. |
|
|
|
|
|
Reimplements the base class function to generate the first header line.
Reimplemented from Protocols::Http::HeaderBase. Definition at line 72 of file ResponseHeader.cpp. |
|
|
Returns the HTTP reason phrase from the Status-Line of the HTTP response.
Definition at line 81 of file ResponseHeader.h. |
|
|
Returns the HTTP status code from the Status-Line of the HTTP response.
Definition at line 77 of file ResponseHeader.h. |