Inheritance diagram for ResponseLine:
Public Member Functions | |
this () | |
void | parse (char[] line) |
char[] | getVersion () |
char[] | getReason () |
int | getStatus () |
char[] | toString () |
void | write (IWriter writer) |
Private Attributes | |
Buffer | buf |
BoundToken | token |
char[] | reason |
char[] | status |
char[] | vershion |
Definition at line 441 of file HttpClient.d.
|
Construct response-line with pre-allocated buffer & token Definition at line 455 of file HttpClient.d. |
|
Parse the the given response-line into its constituent components. Definition at line 470 of file HttpClient.d. References buf, Buffer::getPosition(), BoundToken::next(), reason, Buffer::setValidContent(), status, token, Token::toString(), and vershion. Referenced by HttpClient::open(). |
|
Return HTTP version Definition at line 494 of file HttpClient.d. References vershion. |
|
Return reason text Definition at line 505 of file HttpClient.d. References reason. |
|
Return status integer Definition at line 516 of file HttpClient.d. References status. Referenced by HttpClient::getStatus(). |
|
convert back to original string Definition at line 527 of file HttpClient.d. |
|
Output the string via the given writer Reimplemented from IWritable. Definition at line 538 of file HttpClient.d. References IWriter::put. |
|
Definition at line 443 of file HttpClient.d. |
|
Definition at line 444 of file HttpClient.d. |
|
Definition at line 445 of file HttpClient.d. Referenced by getReason(), parse(), and toString(). |
|
Definition at line 445 of file HttpClient.d. Referenced by getStatus(), parse(), and toString(). |
|
Definition at line 445 of file HttpClient.d. Referenced by getVersion(), parse(), and toString(). |