public class HttpRequestException extends IOException
| Constructor and Description |
|---|
HttpRequestException(String message,
int statusCode,
String statusText,
byte[] content,
String contentType,
String contentEncoding) |
HttpRequestException(String message,
int statusCode,
String statusText,
byte[] content,
String contentType,
String contentEncoding,
Throwable throwable) |
| Modifier and Type | Method and Description |
|---|---|
static HttpRequestException |
create(String message,
IResponse response) |
byte[] |
getContent() |
String |
getContentAsString() |
String |
getContentEncoding() |
String |
getContentType() |
int |
getStatusCode() |
String |
getStatusText() |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic HttpRequestException(String message, int statusCode, String statusText, byte[] content, String contentType, String contentEncoding)
public byte[] getContent()
public String getContentAsString()
public String getContentType()
public String getContentEncoding()
public int getStatusCode()
public String getStatusText()
public static HttpRequestException create(String message, IResponse response) throws IOException
IOExceptionCopyright © 2007–2018 Andreas W. Bartels. All rights reserved.