Class StatusLine
java.lang.Object
com.neovisionaries.ws.client.StatusLine
-
Method Summary
Modifier and TypeMethodDescriptionGet the HTTP version.Get the reason phrase.intGet the status code.toString()Get the string representation of this instance, which is equal to the raw status line.
-
Method Details
-
getHttpVersion
Get the HTTP version.- Returns:
- The HTTP version. For example,
"HTTP/1.1".
-
getStatusCode
public int getStatusCode()Get the status code.- Returns:
- The status code. For example,
404.
-
getReasonPhrase
Get the reason phrase.- Returns:
- The reason phrase. For example,
"Not Found".
-
toString
-