public class StatusLine extends Object
| Modifier and Type | Method and Description |
|---|---|
String |
getHttpVersion()
Get the HTTP version.
|
String |
getReasonPhrase()
Get the reason phrase.
|
int |
getStatusCode()
Get the status code.
|
String |
toString()
Get the string representation of this instance, which is
equal to the raw status line.
|
public String getHttpVersion()
"HTTP/1.1".public int getStatusCode()
404.public String getReasonPhrase()
"Not Found".Copyright © 2021. All rights reserved.