public class HTTPErrorInfo extends Object
| Constructor and Description |
|---|
HTTPErrorInfo() |
| Modifier and Type | Method and Description |
|---|---|
String |
getHttpBody()
Returns the HTTP body for the failed request.
|
int |
getHttpErrorCode()
Returns the HTTP error code for the failed request.
|
String |
getHttpErrorMessage()
Returns the HTTP error message for the failed request.
|
static HTTPErrorInfo |
newInstance(byte[] byteStream)
Creates an HTTPErrorInfo object.
|
static HTTPErrorInfo |
newInstance(InputStream inputStream)
Creates an HTTPErrorInfo object.
|
public static HTTPErrorInfo newInstance(InputStream inputStream)
inputStream - HTTPErrorInfopublic static HTTPErrorInfo newInstance(byte[] byteStream)
byteStream - HTTPErrorInfopublic int getHttpErrorCode()
public String getHttpErrorMessage()
public String getHttpBody()
Copyright © 2015–2024. All rights reserved.