ACE_INet
6.2.0
|
#include <HTTP_Status.h>
Public Member Functions | |
Status () | |
Constructor; sets value to OK. More... | |
Status (Code status) | |
Constructor; sets corresponding reason. More... | |
Status (Code status, const ACE_CString &reason) | |
Constructor. More... | |
Status (const Status &status) | |
Copy constructor. More... | |
Status & | operator= (const Status &status) |
Copy assignment. More... | |
void | set_status (Code status) |
Set the status code. More... | |
void | set_status (const ACE_CString &status) |
Code | get_status () const |
Return the status code. More... | |
void | set_reason (const ACE_CString &reason) |
Set the reason phrase. More... | |
const ACE_CString & | get_reason () const |
Return the reason phrase. More... | |
void | set_status_and_reason (Code status) |
Set the status code and corresponding reason phrase. More... | |
bool | is_valid () const |
Return true if status code != INVALID. More... | |
bool | is_ok () const |
Return true if status code == OK. More... | |
operator bool () const | |
Return true in case of a valid HTTP status. More... | |
bool | operator! () const |
Return true if status code == INVALID. More... | |
Static Public Member Functions | |
static const ACE_CString & | get_reason (Code status) |
Returns an appropriate reason phrase. More... | |
Private Attributes | |
Code | code_ |
ACE_CString | reason_ |
ACE::HTTP::Status::Status | ( | ) |
Constructor; sets value to OK.
ACE::HTTP::Status::Status | ( | Code | status | ) |
Constructor; sets corresponding reason.
ACE::HTTP::Status::Status | ( | Code | status, |
const ACE_CString & | reason | ||
) |
Constructor.
ACE::HTTP::Status::Status | ( | const Status & | status | ) |
Copy constructor.
|
inline |
Return the reason phrase.
|
static |
Returns an appropriate reason phrase.
|
inline |
Return the status code.
|
inline |
Return true if status code == OK.
|
inline |
Return true if status code != INVALID.
|
inline |
Return true in case of a valid HTTP status.
|
inline |
Return true if status code == INVALID.
|
inline |
Set the reason phrase.
|
inline |
Set the status code.
void ACE::HTTP::Status::set_status | ( | const ACE_CString & | status | ) |
Set the status code. String must contain valid numeric code.
|
inline |
Set the status code and corresponding reason phrase.
|
private |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
private |