Class RetryHttpInitializerWrapper
- java.lang.Object
-
- com.google.jenkins.plugins.k8sengine.client.RetryHttpInitializerWrapper
-
- All Implemented Interfaces:
com.google.api.client.http.HttpRequestInitializer
public class RetryHttpInitializerWrapper extends Object implements com.google.api.client.http.HttpRequestInitializer
RetryHttpInitializerWrapper will automatically retry upon RPC failures, preserving the auto-refresh behavior of the Google Credentials.Note: original source from RetryHttpInitializerWrapper.java
-
-
Constructor Summary
Constructors Constructor Description RetryHttpInitializerWrapper(com.google.api.client.auth.oauth2.Credential wrappedCredential)
A constructor using the default Sleeper.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
initialize(com.google.api.client.http.HttpRequest request)
Initialize an HttpRequest.
-