Class RetryHttpInitializerWrapper
- java.lang.Object
-
- org.apache.beam.examples.complete.game.injector.RetryHttpInitializerWrapper
-
- All Implemented Interfaces:
com.google.api.client.http.HttpRequestInitializer
public class RetryHttpInitializerWrapper extends java.lang.Object implements com.google.api.client.http.HttpRequestInitializerRetryHttpInitializerWrapper will automatically retry upon RPC failures, preserving the auto-refresh behavior of the Google Credentials.
-
-
Constructor Summary
Constructors Constructor Description RetryHttpInitializerWrapper(com.google.api.client.auth.oauth2.Credential wrappedCredential)A constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidinitialize(com.google.api.client.http.HttpRequest request)Initializes the given request.
-