static void |
AsyncUtil.calculateSignature(Signer signer,
com.ning.http.client.Request request,
com.ning.http.client.RequestBuilderBase<?> requestBuilder) |
static void |
AsyncUtil.enableAuth(com.ning.http.client.AsyncHttpClient client,
Signer signer)
Attaches the provided Signer to the AsyncHttpClient as a signature calculator.
|
static void |
AsyncUtil.enableAuth(com.ning.http.client.AsyncHttpClient client,
Signer signer,
com.ning.http.client.SignatureCalculator calcBefore)
Attaches the provided Signer to the AsyncHttpClient as a signature calculator.
|
static Future<com.ning.http.client.Response> |
AsyncUtil.login(com.ning.http.client.AsyncHttpClient client,
Signer signer,
com.ning.http.client.Request loginRequest)
Executes and replays a login request until one is found which satisfies the
Challenge being returned by the server, or until there are no more keys in the
keychain.
|
static <T> Future<T> |
AsyncUtil.login(com.ning.http.client.AsyncHttpClient client,
Signer signer,
com.ning.http.client.Request loginRequest,
com.ning.http.client.AsyncCompletionHandler<T> responseHandler)
Executes and replays a login request until one is found which satisfies the
Challenge being returned by the server, or until there are no more keys in the
keychain.
|
static <T> Future<T> |
AsyncUtil.login(com.ning.http.client.AsyncHttpClient client,
Signer signer,
com.ning.http.client.Request loginRequest,
com.ning.http.client.AsyncCompletionHandler<T> responseHandler,
com.ning.http.client.SignatureCalculator calcBefore)
Executes and replays a login request until one is found which satisfies the
Challenge being returned by the server, or until there are no more keys in the
keychain.
|