public class HttpMethodResponse
extends net.oauth.http.HttpResponseMessage
| Modifier and Type | Field and Description |
|---|---|
private org.apache.commons.httpclient.HttpMethod |
method |
private byte[] |
requestBody |
private String |
requestEncoding |
| 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.
|
private List<Map.Entry<String,String>> |
getHeaders() |
int |
getStatusCode() |
InputStream |
openBody() |
private final org.apache.commons.httpclient.HttpMethod method
private final byte[] requestBody
private final String requestEncoding
public HttpMethodResponse(org.apache.commons.httpclient.HttpMethod method,
byte[] requestBody,
String requestEncoding)
throws IOException
IOExceptionpublic int getStatusCode()
getStatusCode in class net.oauth.http.HttpResponseMessagepublic InputStream openBody() throws IOException
openBody in class net.oauth.http.HttpMessageIOExceptionpublic void dump(Map<String,Object> into) throws IOException
dump in class net.oauth.http.HttpResponseMessageIOExceptionCopyright © 2016. All rights reserved.