|
ACE_INet
6.1.2
|
#include <HTTP_Header.h>


Public Member Functions | |
| Header () | |
| Constructor. | |
| Header (const ACE_CString &version) | |
| Constructor. | |
| virtual | ~Header () |
| Destructor. | |
| void | set_version (const ACE_CString &version) |
| Sets the HTTP version to use. | |
| const ACE_CString & | get_version () const |
| Returns the HTTP version. | |
| void | set_chunked_transfer_encoding (bool flag) |
| bool | has_chunked_transfer_encoding () const |
| void | set_keep_alive (bool keep_alive) |
| bool | has_keep_alive () const |
Static Public Attributes | |
| static const ACE_CString | HTTP_1_0 = "HTTP/1.0" |
| static const ACE_CString | HTTP_1_1 = "HTTP/1.1" |
| static const ACE_CString | CHUNKED_TRANSFER_ENCODING = "chunked" |
| static const ACE_CString | TRANSFER_ENCODING = "Transfer-Encoding" |
| static const ACE_CString | CONNECTION = "Connection" |
| static const ACE_CString | CONNECTION_KEEP_ALIVE = "Keep-Alive" |
| static const ACE_CString | CONNECTION_CLOSE = "Close" |
Private Attributes | |
| ACE_CString | version_ |
Constructor.
| ACE::HTTP::Header::Header | ( | const ACE_CString & | version | ) |
Constructor.
|
virtual |
Destructor.
|
inline |
Returns the HTTP version.
|
inline |
Returns true if the Transfer-Encoding header is set and its value is CHUNKED_TRANSFER_ENCODING.
|
inline |
Returns true if
|
inline |
If flag is true, sets the Transfer-Encoding header to CHUNKED_TRANSFER_ENCODING. Otherwise, removes the Transfer-Encoding header.
|
inline |
Sets the value of the Connection header field. The value is set to "Keep-Alive" if true specified, or to "Close" otherwise.
|
inline |
Sets the HTTP version to use.
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
1.8.0-20120409