Modifier and Type | Method and Description |
---|---|
void |
addOAuthParameter(String key,
String value)
Adds an OAuth parameter to the request.
|
Map<String,String> |
getOauthParameters()
Returns the
Map containing the key-value pair of parameters. |
addBodyParameter, addBodyParameters, addHeader, addPayload, addPayload, addQuerystringParameter, getBodyContents, getBodyParams, getCharset, getCompleteUrl, getHeaders, getQueryStringParams, getSanitizedUrl, getUrl, getVerb, send, send, setCharset, setConnectionKeepAlive, setConnectTimeout, setReadTimeout
void addOAuthParameter(String key, String value) throws IllegalArgumentException
key
- name of the parametervalue
- value of the parameterIllegalArgumentException
- if the parameter is not an OAuth parameterCopyright © 2012-2013. All Rights Reserved.