private static class SignpostAdapters.HttpRequest extends Object implements oauth.signpost.http.HttpRequest
| Modifier and Type | Field and Description |
|---|---|
private HttpClient |
request |
| Constructor and Description |
|---|
HttpRequest(HttpClient request) |
| Modifier and Type | Method and Description |
|---|---|
Map<String,String> |
getAllHeaders() |
String |
getContentType() |
String |
getHeader(String name) |
InputStream |
getMessagePayload() |
String |
getMethod() |
String |
getRequestUrl() |
void |
setHeader(String name,
String value) |
void |
setRequestUrl(String url) |
Object |
unwrap() |
private final HttpClient request
HttpRequest(HttpClient request)
public void setHeader(String name, String value)
setHeader in interface oauth.signpost.http.HttpRequestpublic String getMethod()
getMethod in interface oauth.signpost.http.HttpRequestpublic String getRequestUrl()
getRequestUrl in interface oauth.signpost.http.HttpRequestpublic String getContentType()
getContentType in interface oauth.signpost.http.HttpRequestpublic String getHeader(String name)
getHeader in interface oauth.signpost.http.HttpRequestpublic InputStream getMessagePayload() throws IOException
getMessagePayload in interface oauth.signpost.http.HttpRequestIOExceptionpublic void setRequestUrl(String url)
setRequestUrl in interface oauth.signpost.http.HttpRequestpublic Map<String,String> getAllHeaders()
getAllHeaders in interface oauth.signpost.http.HttpRequest