public static class OAuth.WSRequestAdapter
extends java.lang.Object
implements oauth.signpost.http.HttpRequest
Constructor and Description |
---|
WSRequestAdapter(WSRequest request) |
Modifier and Type | Method and Description |
---|---|
java.util.Map<java.lang.String,java.lang.String> |
getAllHeaders() |
java.lang.String |
getContentType() |
java.lang.String |
getHeader(java.lang.String name) |
java.io.InputStream |
getMessagePayload() |
java.lang.String |
getMethod() |
java.lang.String |
getRequestUrl() |
void |
setHeader(java.lang.String name,
java.lang.String value) |
void |
setRequestUrl(java.lang.String url) |
java.lang.Object |
unwrap() |
public WSRequestAdapter(WSRequest request)
public java.lang.Object unwrap()
unwrap
in interface oauth.signpost.http.HttpRequest
public java.util.Map<java.lang.String,java.lang.String> getAllHeaders()
getAllHeaders
in interface oauth.signpost.http.HttpRequest
public java.lang.String getHeader(java.lang.String name)
getHeader
in interface oauth.signpost.http.HttpRequest
public java.lang.String getContentType()
getContentType
in interface oauth.signpost.http.HttpRequest
public java.io.InputStream getMessagePayload()
getMessagePayload
in interface oauth.signpost.http.HttpRequest
public java.lang.String getMethod()
getMethod
in interface oauth.signpost.http.HttpRequest
public void setHeader(java.lang.String name, java.lang.String value)
setHeader
in interface oauth.signpost.http.HttpRequest
public java.lang.String getRequestUrl()
getRequestUrl
in interface oauth.signpost.http.HttpRequest
public void setRequestUrl(java.lang.String url)
setRequestUrl
in interface oauth.signpost.http.HttpRequest