public class HttpProtocolException extends ProtocolException
| Constructor and Description |
|---|
HttpProtocolException(LocaleMessage message, int status, Map<String,String> headers) |
HttpProtocolException(LocaleMessage message, int status, Map<String,String> headers, String body) |
HttpProtocolException(LocaleMessage message, int status, Map<String,String> headers, String body, String uri) |
| Modifier and Type | Method and Description |
|---|---|
String |
getBody() |
Map<String,String> |
getHeaders() |
int |
getStatus() |
String |
getUri() |
isIOExceptiongetLocaleMessage, getMessageaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic HttpProtocolException(LocaleMessage message, int status, Map<String,String> headers)
message - the detail message.status - the http status codeheaders - the http headerspublic HttpProtocolException(LocaleMessage message, int status, Map<String,String> headers, String body)
message - the detail message.status - the http status codeheaders - the http headersbody - the http response body