Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for setInterceptor (0.12 sec)

  1. platforms/software/resources-gcs/src/main/java/org/gradle/internal/resource/transport/gcp/gcs/RetryHttpInitializerWrapper.java

                new HttpBackOffUnsuccessfulResponseHandler(
                    new ExponentialBackOff()).setSleeper(sleeper);
            final Credential credential = credentialSupplier.get();
            request.setInterceptor(credential);
            request.setUnsuccessfulResponseHandler(new HttpUnsuccessfulResponseHandler() {
                @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 12 19:38:08 UTC 2023
    - 4.6K bytes
    - Viewed (0)
  2. platforms/software/resources-gcs/src/integTest/groovy/org/gradle/integtests/resource/gcs/GcsClientIntegrationTest.groovy

            builder.setHttpRequestInitializer(new HttpRequestInitializer() {
                @Override
                void initialize(HttpRequest request) throws IOException {
                    request.setInterceptor(googleCredential)
                }
            })
            builder.setApplicationName("gradle")
            GcsClient gcsClient = new GcsClient(builder.build())
    
            def fileContents = 'This is only a test'
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 12 19:38:08 UTC 2023
    - 4.4K bytes
    - Viewed (0)
Back to top