public class HTTPErrorInfo
extends java.lang.Object
| Constructor and Description |
|---|
HTTPErrorInfo() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getHttpBody()
Returns the HTTP body for the failed request.
|
int |
getHttpErrorCode()
Returns the HTTP error code for the failed request.
|
java.lang.String |
getHttpErrorMessage()
Returns the HTTP error message for the failed request.
|
static HTTPErrorInfo |
newInstance(byte[] byteStream)
Creates an HTTPErrorInfo object.
|
static HTTPErrorInfo |
newInstance(java.io.InputStream inputStream)
Creates an HTTPErrorInfo object.
|
public static HTTPErrorInfo newInstance(java.io.InputStream inputStream)
inputStream - HTTPErrorInfopublic static HTTPErrorInfo newInstance(byte[] byteStream)
byteStream - HTTPErrorInfopublic int getHttpErrorCode()
public java.lang.String getHttpErrorMessage()
public java.lang.String getHttpBody()
Copyright 2010-2022 The MathWorks, Inc.