HttpRequestAdapter
, HttpURLConnectionRequestAdapter
, UrlStringRequestAdapter
public interface HttpRequest
OAuthConsumer
which performs the wrapping.HttpURLConnectionRequestAdapter
Modifier and Type | Method | 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() |
Returns the wrapped request object, in case you must work directly on it.
|
String getMethod()
String getRequestUrl()
void setRequestUrl(String url)
InputStream getMessagePayload() throws IOException
IOException
String getContentType()
Object unwrap()
Copyright © 2019. All rights reserved.