public class HttpMessageDecoder extends HttpResponseMessage
| Modifier and Type | Field and Description |
|---|---|
static String |
ACCEPTED |
static String |
DEFLATE |
static String |
GZIP |
EOL, LOCATION, STATUS_CODE, STATUS_OKACCEPT_ENCODING, body, CONTENT_ENCODING, CONTENT_LENGTH, CONTENT_TYPE, DEFAULT_CHARSET, headers, method, REQUEST, RESPONSE, url| Modifier and Type | Method and Description |
|---|---|
static HttpResponseMessage |
decode(HttpResponseMessage message)
Decode the given message if necessary and possible.
|
void |
dump(Map<String,Object> into)
Put a description of this message and its origins into the given Map.
|
int |
getStatusCode() |
getBody, getContentCharset, getHeader, newRequest, openBody, removeHeaderspublic static final String GZIP
public static final String DEFLATE
public static final String ACCEPTED
public static HttpResponseMessage decode(HttpResponseMessage message) throws IOException
IOExceptionpublic void dump(Map<String,Object> into) throws IOException
HttpMessagedump in class HttpResponseMessageIOExceptionpublic int getStatusCode()
throws IOException
getStatusCode in class HttpResponseMessageIOExceptionCopyright 2015- Charles R. Severance and licensed CC-BY Attribution 4.0