public final class StatusLine extends Object
| Modifier and Type | Field and Description |
|---|---|
int |
code |
String |
message |
Protocol |
protocol |
| Constructor and Description |
|---|
StatusLine(Protocol protocol,
int code,
String message) |
| Modifier and Type | Method and Description |
|---|---|
static StatusLine |
get(Response response) |
static StatusLine |
parse(String statusLine) |
String |
toString() |
public final Protocol protocol
public final int code
public final String message
public static StatusLine get(Response response)
public static StatusLine parse(String statusLine) throws IOException
IOExceptionCopyright © 2020. All rights reserved.