T
- type of token used to sign the requestpublic abstract class OAuthService<T extends Token> extends Object
Constructor and Description |
---|
OAuthService(OAuthConfig config) |
public OAuthService(OAuthConfig config)
public void closeAsyncClient() throws IOException
IOException
public OAuthConfig getConfig()
public abstract String getVersion()
public abstract void signRequest(T token, AbstractRequest request)
@Deprecated public <T> Future<T> executeAsync(Map<String,String> headers, Verb httpVerb, String completeUrl, String bodyContents, OAuthAsyncRequestCallback<T> callback, OAuthRequestAsync.ResponseConverter<T> converter)
execute(com.github.scribejava.core.model.OAuthRequestAsync,
com.github.scribejava.core.model.OAuthAsyncRequestCallback,
com.github.scribejava.core.model.OAuthRequestAsync.ResponseConverter)
execute(com.github.scribejava.core.model.OAuthRequestAsync,
com.github.scribejava.core.model.OAuthAsyncRequestCallback)
T
- Theaders
- headershttpVerb
- httpVerbcompleteUrl
- completeUrlbodyContents
- bodyContentscallback
- callbackconverter
- converterpublic <T> Future<T> execute(OAuthRequestAsync request, OAuthAsyncRequestCallback<T> callback, OAuthRequestAsync.ResponseConverter<T> converter)
public Future<Response> execute(OAuthRequestAsync request, OAuthAsyncRequestCallback<Response> callback)
public Response execute(OAuthRequest request)
OAuthRequest.send()
request
- requestCopyright © 2016. All rights reserved.