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, toString
public HttpStatusIOException(String message, InvocationResult invocationResult)
public int getHttpStatusCode()
getHttpStatusCode
in interface HttpStatusException
public void setHttpStatusCode(int httpStatus)
setHttpStatusCode
in interface HttpStatusException
public String getHttpBody()
public void setResponseHeaders(Map<String,List<String>> headers)
setResponseHeaders
in interface HttpResponseAware
public Map<String,List<String>> getResponseHeaders()
getResponseHeaders
in interface HttpResponseAware
Copyright © 2012–2019. All rights reserved.