public class HttpResponseMessage
extends net.oauth.http.HttpResponseMessage
| Constructor and Description |
|---|
HttpResponseMessage(String method,
URL url,
int statusCode) |
HttpResponseMessage(String method,
URL url,
int statusCode,
InputStream responseStream) |
| Modifier and Type | Method and Description |
|---|---|
String |
getMethod() |
String |
getResponse() |
int |
getStatusCode() |
URL |
getUrl() |
protected InputStream |
openBody()
OAuth needs the response as InputStream.
|
public HttpResponseMessage(String method, URL url, int statusCode) throws IOException
IOExceptionpublic HttpResponseMessage(String method, URL url, int statusCode, InputStream responseStream) throws IOException
IOExceptionpublic int getStatusCode()
getStatusCode in class net.oauth.http.HttpResponseMessagepublic String getResponse()
public String getMethod()
public URL getUrl()
protected InputStream openBody()
openBody in class net.oauth.http.HttpMessageCopyright © 2012. All Rights Reserved.