public class HttpMethodResponse extends HttpResponseMessage
EOL, LOCATION, STATUS_CODE, STATUS_OK
ACCEPT_ENCODING, body, CONTENT_ENCODING, CONTENT_LENGTH, CONTENT_TYPE, DEFAULT_CHARSET, headers, REQUEST, RESPONSE, url
Constructor and Description |
---|
HttpMethodResponse(org.apache.commons.httpclient.HttpMethod method,
byte[] requestBody,
String requestEncoding)
Construct an OAuthMessage from the HTTP response, including parameters
from OAuth WWW-Authenticate headers and the body.
|
Modifier and Type | Method and Description |
---|---|
void |
dump(Map<String,Object> into)
Return a complete description of the HTTP exchange.
|
int |
getStatusCode() |
InputStream |
openBody() |
getBody, getContentCharset, getHeader, newRequest, removeHeaders
public HttpMethodResponse(org.apache.commons.httpclient.HttpMethod method, byte[] requestBody, String requestEncoding) throws IOException
IOException
public int getStatusCode()
getStatusCode
in class HttpResponseMessage
public InputStream openBody() throws IOException
openBody
in class HttpMessage
IOException
public void dump(Map<String,Object> into) throws IOException
dump
in class HttpResponseMessage
IOException
Copyright © 2023. All rights reserved.