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 438 of file HttpClient.d.
|
Construct response-line with pre-allocated buffer & token Definition at line 452 of file HttpClient.d. |
|
Parse the the given response-line into its constituent components. Definition at line 467 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 491 of file HttpClient.d. References vershion. |
|
Return reason text Definition at line 502 of file HttpClient.d. References reason. |
|
Return status integer Definition at line 513 of file HttpClient.d. References status. Referenced by HttpClient::getStatus(). |
|
convert back to original string Definition at line 524 of file HttpClient.d. |
|
Output the string via the given writer Reimplemented from IWritable. Definition at line 535 of file HttpClient.d. References IWriter::cr(), and IWriter::put(). |
|
Definition at line 440 of file HttpClient.d. |
|
Definition at line 441 of file HttpClient.d. |
|
Definition at line 442 of file HttpClient.d. Referenced by getReason(), parse(), and toString(). |
|
Definition at line 442 of file HttpClient.d. Referenced by getStatus(), parse(), and toString(). |
|
Definition at line 442 of file HttpClient.d. Referenced by getVersion(), parse(), and toString(). |