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
- HTTPErrorInfo
public static HTTPErrorInfo newInstance(byte[] byteStream)
byteStream
- HTTPErrorInfo
public int getHttpErrorCode()
public java.lang.String getHttpErrorMessage()
public java.lang.String getHttpBody()
Copyright 2010-2016 The MathWorks, Inc.