public abstract class OAuthService extends Object
Constructor and Description |
---|
OAuthService(OAuthConfig config) |
Modifier and Type | Method and Description |
---|---|
void |
closeAsyncClient() |
<T> Future<T> |
executeAsync(Map<String,String> headers,
Verb httpVerb,
String completeUrl,
String bodyContents,
OAuthAsyncRequestCallback<T> callback,
OAuthRequestAsync.ResponseConverter<T> converter) |
OAuthConfig |
getConfig() |
abstract String |
getVersion()
Returns the OAuth version of the service.
|
public OAuthService(OAuthConfig config)
public void closeAsyncClient() throws IOException
IOException
public OAuthConfig getConfig()
public abstract String getVersion()
public <T> Future<T> executeAsync(Map<String,String> headers, Verb httpVerb, String completeUrl, String bodyContents, OAuthAsyncRequestCallback<T> callback, OAuthRequestAsync.ResponseConverter<T> converter)
Copyright © 2016. All rights reserved.