| Modifier and Type | Field and Description |
|---|---|
| private final String | |
| private final int | |
| private final String |
| Access | Constructor and Description |
|---|---|
| public | StatusLine(String
the version string (normally "HTTP/1.1" or "HTTP/1.0") version, int the HTTP response code (200, 401, etc.) resultCode, String the reason phrase for the code reason)Create a new |
| reason | back to summary |
|---|---|
| private final String reason | |
| resultCode | back to summary |
|---|---|
| private final int resultCode | |
| version | back to summary |
|---|---|
| private final String version | |
| StatusLine | back to summary |
|---|---|
| public StatusLine(String version, int resultCode, String reason) Create a new | |
| getReason | back to summary |
|---|---|
| public String getReason() Retrieves the HTTP reason phrase.
| |
| getResultCode | back to summary |
|---|---|
| public int getResultCode() Retrieves the HTTP response code.
| |
| getVersion | back to summary |
|---|---|
| public String getVersion() Retrieves the version string.
| |