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_OK
ACCEPT_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, removeHeaders
public static final String GZIP
public static final String DEFLATE
public static final String ACCEPTED
public static HttpResponseMessage decode(HttpResponseMessage message) throws IOException
IOException
public void dump(Map<String,Object> into) throws IOException
HttpMessage
dump
in class HttpResponseMessage
IOException
public int getStatusCode() throws IOException
getStatusCode
in class HttpResponseMessage
IOException
Copyright © 2023. All rights reserved.