public class OAuthRequestAsync extends AbstractRequest
Modifier and Type | Class and Description |
---|---|
static interface |
OAuthRequestAsync.ResponseConverter<T> |
Modifier and Type | Field and Description |
---|---|
static OAuthRequestAsync.ResponseConverter<Response> |
RESPONSE_CONVERTER |
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) |
Future<Response> |
sendAsync(OAuthAsyncRequestCallback<Response> callback,
com.ning.http.client.ProxyServer proxyServer) |
<T> Future<T> |
sendAsync(OAuthAsyncRequestCallback<T> callback,
OAuthRequestAsync.ResponseConverter<T> converter) |
<T> Future<T> |
sendAsync(OAuthAsyncRequestCallback<T> callback,
OAuthRequestAsync.ResponseConverter<T> converter,
com.ning.http.client.ProxyServer proxyServer) |
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 static final OAuthRequestAsync.ResponseConverter<Response> RESPONSE_CONVERTER
public OAuthRequestAsync(Verb verb, String url, OAuthService service)
public <T> Future<T> sendAsync(OAuthAsyncRequestCallback<T> callback, OAuthRequestAsync.ResponseConverter<T> converter)
public <T> Future<T> sendAsync(OAuthAsyncRequestCallback<T> callback, OAuthRequestAsync.ResponseConverter<T> converter, com.ning.http.client.ProxyServer proxyServer)
public Future<Response> sendAsync(OAuthAsyncRequestCallback<Response> callback)
public Future<Response> sendAsync(OAuthAsyncRequestCallback<Response> callback, com.ning.http.client.ProxyServer proxyServer)
Copyright © 2015. All rights reserved.