#include <cgicc/HTTPHeader.h>
Inheritance diagram for cgicc::HTTPHeader::
Public Methods | |
Constructors and Destructor | |
HTTPHeader (const std::string &data) | |
Constructor. More... | |
HTTPHeader (const HTTPHeader &header) | |
Copy constructor. More... | |
virtual | ~HTTPHeader () |
Destructor. More... | |
Cookie Management | |
HTTPHeader & | setCookie (const HTTPCookie &cookie) |
Set a cookie to go out with this HTTPResponseHeader. More... | |
const std::vector< HTTPCookie > & | getCookies () const |
Get a list of all cookies associated with this header. More... | |
Accessor Method | |
std::string | getData () const |
Subclass Methods | |
virtual void | render (std::ostream &out) const=0 |
Write this HTTPHeader to a stream. More... |
Definition at line 50 of file HTTPHeader.h.
|
Constructor.
|
|
Copy constructor.
|
|
Destructor.
|
|
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.
Reimplemented from cgicc::MStreamable. Reimplemented 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. |