public final class StatusLine extends Object
Modifier and Type | Field and Description |
---|---|
int |
code |
static int |
HTTP_CONTINUE |
static int |
HTTP_PERM_REDIRECT |
static int |
HTTP_TEMP_REDIRECT
Numeric status code, 307: Temporary Redirect.
|
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 static final int HTTP_TEMP_REDIRECT
public static final int HTTP_PERM_REDIRECT
public static final int HTTP_CONTINUE
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
IOException
Copyright © 2017. All Rights Reserved.