#include <cgicc/HTTPHeader.h>
Inheritance diagram for cgicc::HTTPHeader:

Public Member Functions | |
Constructors and Destructor | |
| HTTPHeader (const std::string &data) | |
| Constructor. | |
| HTTPHeader (const HTTPHeader &header) | |
| Copy constructor. | |
| virtual | ~HTTPHeader () |
| Destructor. | |
Cookie Management | |
| HTTPHeader & | setCookie (const HTTPCookie &cookie) |
| Set a cookie to go out with this HTTPResponseHeader. | |
| const std::vector< HTTPCookie > & | getCookies () const |
| Get a list of all cookies associated with this header. | |
Accessor Method | |
| std::string | getData () const |
Subclass Methods | |
| virtual void | render (std::ostream &out) const=0 |
| Write this HTTPHeader to a stream. | |
Definition at line 50 of file HTTPHeader.h.
|
|
Constructor.
|
|
|
Copy constructor.
|
|
|
Get a list of all cookies associated with this header.
Definition at line 94 of file HTTPHeader.h. |
|
|
Get the data contained in this HTTP header.
Definition at line 108 of file HTTPHeader.h. |
|
|
Write this HTTPHeader to a stream. Subclasses must implement this function.
Implements cgicc::MStreamable. Implemented in cgicc::HTTPContentHeader, cgicc::HTTPRedirectHeader, and cgicc::HTTPStatusHeader. |
|
|
Set a cookie to go out with this HTTPResponseHeader.
Definition at line 86 of file HTTPHeader.h. |