Class RetryHttpInitializerWrapper

  • All Implemented Interfaces:

    public class RetryHttpInitializerWrapper
    extends Object
    RetryHttpInitializerWrapper will automatically retry upon RPC failures, preserving the auto-refresh behavior of the Google Credentials.

    Note: original source from

    • Constructor Detail

      • RetryHttpInitializerWrapper

        public RetryHttpInitializerWrapper​( wrappedCredential)
        A constructor using the default Sleeper.
        wrappedCredential - the credential used to authenticate with a Google Cloud Platform project
    • Method Detail

      • initialize

        public void initialize​( request)
        Initialize an HttpRequest.
        Specified by:
        initialize in interface
        request - an HttpRequest that should be initialized