public class OAuthRequest extends AbstractRequest
CONTENT_LENGTH, CONTENT_TYPE, DEFAULT_CONTENT_TYPE| Constructor and Description |
|---|
OAuthRequest(Verb verb,
String url,
OAuthConfig config) |
OAuthRequest(Verb verb,
String url,
OAuthService<?> service)
|
| Modifier and Type | Method and Description |
|---|---|
Response |
send()
Execute the request and return a
Response
the same as OAuthService.execute(com.github.scribejava.core.model.OAuthRequest) |
addBodyParameter, addHeader, addOAuthParameter, addParameter, addPayload, addPayload, addQuerystringParameter, getBodyContents, getBodyParams, getByteArrayPayload, getByteBodyContents, getCharset, getCompleteUrl, getFilePayload, getHeaders, getOauthParameters, getQueryStringParams, getRealm, getSanitizedUrl, getService, getStringPayload, getUrl, getVerb, hasBodyContent, isFollowRedirects, setCharset, setFollowRedirects, setPayload, setPayload, setPayload, setRealm, toString@Deprecated public OAuthRequest(Verb verb, String url, OAuthService<?> service)
OAuthRequest(com.github.scribejava.core.model.Verb, java.lang.String,
com.github.scribejava.core.model.OAuthConfig)verb - verburl - urlservice - servicepublic OAuthRequest(Verb verb, String url, OAuthConfig config)
public Response send()
Response
the same as OAuthService.execute(com.github.scribejava.core.model.OAuthRequest)RuntimeException - if the connection cannot be created.Copyright © 2016. All rights reserved.