public class HttpStatusIOException extends IOException implements HttpStatusException, HttpResponseAware
| Constructor and Description |
|---|
HttpStatusIOException(String message,
InvocationResult invocationResult) |
| Modifier and Type | Method and Description |
|---|---|
String |
getHttpBody() |
int |
getHttpStatusCode() |
Map<String,List<String>> |
getResponseHeaders() |
void |
setHttpStatusCode(int httpStatus) |
void |
setResponseHeaders(Map<String,List<String>> headers) |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic HttpStatusIOException(String message, InvocationResult invocationResult)
public int getHttpStatusCode()
getHttpStatusCode in interface HttpStatusExceptionpublic void setHttpStatusCode(int httpStatus)
setHttpStatusCode in interface HttpStatusExceptionpublic String getHttpBody()
public void setResponseHeaders(Map<String,List<String>> headers)
setResponseHeaders in interface HttpResponseAwarepublic Map<String,List<String>> getResponseHeaders()
getResponseHeaders in interface HttpResponseAwareCopyright © 2012–2021. All rights reserved.