public class OAuthRequest extends AbstractRequest
CONTENT_LENGTH, CONTENT_TYPE, DEFAULT_CONTENT_TYPE
Constructor and Description |
---|
OAuthRequest(Verb verb,
String url,
OAuthConfig config) |
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, addQuerystringParameter, getBodyParams, getByteArrayPayload, getCharset, getCompleteUrl, getFilePayload, getHeaders, getOauthParameters, getQueryStringParams, getRealm, getSanitizedUrl, getStringPayload, getUrl, getVerb, hasBodyContent, isFollowRedirects, setCharset, setFollowRedirects, setPayload, setPayload, setPayload, setRealm, toString
public 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.