Inheritance diagram for ResponseLine:
Public Member Functions | |
this () | |
void | parse (char[] line) |
char[] | getVersion () |
char[] | getReason () |
int | getStatus () |
char[] | toString () |
void | write (IWriter writer) |
Static Public Member Functions | |
static void | error (char[] msg) |
Private Attributes | |
Buffer | buf |
BoundToken | token |
char[] | code |
char[] | reason |
char[] | vershion |
int | status |
Definition at line 520 of file HttpClient.d.
|
Construct response-line with pre-allocated buffer & token Definition at line 535 of file HttpClient.d. |
|
Parse the the given response-line into its constituent components. Definition at line 550 of file HttpClient.d. References Atoi, buf, code, error(), Buffer::getPosition(), BoundToken::next(), reason, Buffer::setValidContent(), status, token, Token::toString(), and vershion. Referenced by HttpClient::open(). |
|
Return HTTP version Definition at line 577 of file HttpClient.d. References vershion. |
|
Return reason text Definition at line 588 of file HttpClient.d. References reason. |
|
Return status integer Definition at line 599 of file HttpClient.d. References status. Referenced by HttpClient::getStatus(), and HttpClient::open(). |
|
convert back to original string Definition at line 610 of file HttpClient.d. References code, reason, and vershion. Referenced by write(). |
|
Output the string via the given writer Reimplemented from IWritable. Definition at line 621 of file HttpClient.d. References IWriter::cr(), IWriter::put(), and toString(). |
|
throw an exception Definition at line 632 of file HttpClient.d. Referenced by HttpClient::open(), parse(), and HttpClient::redirectPost(). |
|
Definition at line 522 of file HttpClient.d. |
|
Definition at line 523 of file HttpClient.d. |
|
Definition at line 524 of file HttpClient.d. Referenced by parse(), and toString(). |
|
Definition at line 524 of file HttpClient.d. Referenced by getReason(), parse(), and toString(). |
|
Definition at line 524 of file HttpClient.d. Referenced by getVersion(), parse(), and toString(). |
|
Definition at line 527 of file HttpClient.d. Referenced by getStatus(), and parse(). |