Package | Description |
---|---|
com.google.api.client.http |
Subset of HTTP 1.1 needed from the specification in RFC 2616: Hypertext Transfer Protocol -- HTTP/1.1.
|
com.google.api.client.testing.util |
Beta Testing utilities used for writing tests based on this library. |
com.google.api.client.util |
General utilities used throughout this library.
|
Modifier and Type | Method and Description |
---|---|
Sleeper |
HttpBackOffUnsuccessfulResponseHandler.getSleeper()
Returns the sleeper.
|
Sleeper |
HttpBackOffIOExceptionHandler.getSleeper()
Returns the sleeper.
|
Sleeper |
HttpRequest.getSleeper()
Returns the sleeper.
|
Modifier and Type | Method and Description |
---|---|
HttpBackOffUnsuccessfulResponseHandler |
HttpBackOffUnsuccessfulResponseHandler.setSleeper(Sleeper sleeper)
Sets the sleeper.
|
HttpBackOffIOExceptionHandler |
HttpBackOffIOExceptionHandler.setSleeper(Sleeper sleeper)
Sets the sleeper.
|
HttpRequest |
HttpRequest.setSleeper(Sleeper sleeper)
Sets the sleeper.
|
Modifier and Type | Class and Description |
---|---|
class |
MockSleeper
|
Modifier and Type | Field and Description |
---|---|
static Sleeper |
Sleeper.DEFAULT
Provides the default implementation based on
Thread.sleep(long) . |
Modifier and Type | Method and Description |
---|---|
static boolean |
BackOffUtils.next(Sleeper sleeper,
BackOff backOff)
Runs the next iteration of the back-off policy, and returns whether to continue to retry the
operation.
|
Copyright © 2011–2023 Google. All rights reserved.