Package si.mazi.rescu
Class HttpStatusIOException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.io.IOException
si.mazi.rescu.HttpStatusIOException
- All Implemented Interfaces:
Serializable,HttpResponseAware,HttpStatusException
public class HttpStatusIOException extends IOException implements HttpStatusException, HttpResponseAware
- See Also:
- Serialized Form
-
Constructor Summary
Constructors Constructor Description HttpStatusIOException(String message, InvocationResult invocationResult) -
Method Summary
Modifier and Type Method Description StringgetHttpBody()intgetHttpStatusCode()Map<String,List<String>>getResponseHeaders()voidsetHttpStatusCode(int httpStatus)voidsetResponseHeaders(Map<String,List<String>> headers)Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
Method Details
-
getHttpStatusCode
public int getHttpStatusCode()- Specified by:
getHttpStatusCodein interfaceHttpStatusException
-
setHttpStatusCode
public void setHttpStatusCode(int httpStatus)- Specified by:
setHttpStatusCodein interfaceHttpStatusException
-
getHttpBody
-
setResponseHeaders
- Specified by:
setResponseHeadersin interfaceHttpResponseAware
-
getResponseHeaders
- Specified by:
getResponseHeadersin interfaceHttpResponseAware
-