public class OAuthRequestAsync extends AbstractRequest
Modifier and Type | Class and Description |
---|---|
static interface |
OAuthRequestAsync.ResponseConverter<T> |
CONTENT_LENGTH, CONTENT_TYPE, DEFAULT_CONTENT_TYPE
Constructor and Description |
---|
OAuthRequestAsync(Verb verb,
String url,
OAuthService service) |
Modifier and Type | Method and Description |
---|---|
Future<Response> |
sendAsync(OAuthAsyncRequestCallback<Response> callback) |
<T> Future<T> |
sendAsync(OAuthAsyncRequestCallback<T> callback,
OAuthRequestAsync.ResponseConverter<T> converter) |
addBodyParameter, addHeader, addOAuthParameter, addParameter, addPayload, addPayload, addQuerystringParameter, getBodyContents, getBodyParams, getCharset, getCompleteUrl, getHeaders, getOauthParameters, getQueryStringParams, getRealm, getSanitizedUrl, getService, getUrl, getVerb, hasBodyContent, isConnectionKeepAlive, isFollowRedirects, setCharset, setConnectionKeepAlive, setFollowRedirects, setRealm, toString
public OAuthRequestAsync(Verb verb, String url, OAuthService service)
public <T> Future<T> sendAsync(OAuthAsyncRequestCallback<T> callback, OAuthRequestAsync.ResponseConverter<T> converter)
public Future<Response> sendAsync(OAuthAsyncRequestCallback<Response> callback)
Copyright © 2016. All rights reserved.