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


RequestHeader extends HeaderBase and implement the request start line:
Request-Line = Method SP Request-URI SP HTTP-Version CRLF
Definition at line 39 of file RequestHeader.h.
Public Member Functions | |
| auto_ptr< DataBase > | copy () const |
| Virtual copy constructor. | |
| RequestHeader (const QByteArray &method=QByteArray(), const QByteArray &path=QByteArray(), int majorVersion=1, int minorVersion=1) | |
| Constructs a RequestHeader object. | |
| QByteArray | method () const |
| Returns the HTTP method from the Request-Line of the HTTP request. | |
| QByteArray | path () const |
| Returns the HTTP path from the Request-Line of the HTTP request. | |
| int | majorVersion () const |
| Returns the HTTP major version from the Request-Line of the HTTP request. | |
| int | minorVersion () const |
| Returns the HTTP minor version from the Request-Line of the HTTP request. | |
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 RequestHeader object.
Definition at line 40 of file RequestHeader.cpp. |
|
|
Virtual copy constructor.
Reimplemented from Protocols::Http::HeaderBase. Definition at line 28 of file RequestHeader.cpp. |
|
|
Returns the HTTP major version from the Request-Line of the HTTP request.
Definition at line 83 of file RequestHeader.h. |
|
|
Returns the HTTP method from the Request-Line of the HTTP request.
Definition at line 75 of file RequestHeader.h. |
|
|
Returns the HTTP minor version from the Request-Line of the HTTP request.
Definition at line 87 of file RequestHeader.h. |
|
|
Reimplements the base class function to parse the first header line.
Reimplemented from Protocols::Http::HeaderBase. Definition at line 54 of file RequestHeader.cpp. |
|
|
Returns the HTTP path from the Request-Line of the HTTP request.
Definition at line 79 of file RequestHeader.h. |
|
|
|
|
|
Reimplements the base class function to generate the first header line.
Reimplemented from Protocols::Http::HeaderBase. Definition at line 72 of file RequestHeader.cpp. |