Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for withRedirectVerifier (0.52 sec)

  1. platforms/software/resources-http/src/main/java/org/gradle/internal/resource/transport/http/HttpConnectorFactory.java

                .withAuthenticationSettings(connectionDetails.getAuthentications())
                .withSslContextFactory(sslContextFactory)
                .withRedirectVerifier(connectionDetails.getRedirectVerifier())
                .build()
            );
            HttpResourceAccessor accessor = new HttpResourceAccessor(http);
            HttpResourceLister lister = new HttpResourceLister(accessor);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 12 19:38:08 UTC 2023
    - 3.1K bytes
    - Viewed (0)
  2. platforms/software/resources-http/src/test/groovy/org/gradle/internal/resource/transport/http/DeprecatedTLSVersionTest.groovy

        HttpSettings settings = DefaultHttpSettings.builder()
            .withAuthenticationSettings([])
            .withSslContextFactory(new DefaultSslContextFactory())
            .withRedirectVerifier({})
            .build()
    
        private final String supportedTlsVersionsString = String.join(", ", new HttpClientConfigurer(settings).supportedTlsVersions())
    
        @Rule
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 12 19:38:08 UTC 2023
    - 3.9K bytes
    - Viewed (0)
  3. platforms/software/resources-http/src/integTest/groovy/org/gradle/internal/resource/transport/http/CookieHeaderTest.groovy

        HttpSettings settings = DefaultHttpSettings.builder()
            .withAuthenticationSettings([])
            .withSslContextFactory(sslContextFactory)
            .withRedirectVerifier({})
            .build()
        HttpClientHelper client = new HttpClientHelper(new DocumentationRegistry(), settings)
    
        def "cookie header with attributes #attributes can be parsed"() {
            httpServer.start()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 12 19:38:08 UTC 2023
    - 3.1K bytes
    - Viewed (0)
  4. platforms/core-execution/build-cache-http/src/main/java/org/gradle/caching/http/internal/DefaultHttpBuildCacheServiceFactory.java

                .maxRedirects(MAX_REDIRECTS)
                .withRedirectMethodHandlingStrategy(HttpSettings.RedirectMethodHandlingStrategy.ALLOW_FOLLOW_FOR_MUTATIONS)
                .withRedirectVerifier(redirectVerifier);
            if (allowUntrustedServer) {
                builder.allowUntrustedConnections();
            } else {
                builder.withSslContextFactory(sslContextFactory);
            }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:43:12 UTC 2023
    - 6.9K bytes
    - Viewed (0)
  5. platforms/software/resources-http/src/main/java/org/gradle/internal/resource/transport/http/DefaultHttpSettings.java

                this.sslContextFactory = sslContextFactory;
                this.hostnameVerifier = new DefaultHostnameVerifier(null);
                return this;
            }
    
            public Builder withRedirectVerifier(HttpRedirectVerifier redirectVerifier) {
                this.redirectVerifier = redirectVerifier;
                return this;
            }
    
            public Builder allowUntrustedConnections() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 12 19:38:08 UTC 2023
    - 9.1K bytes
    - Viewed (0)
  6. platforms/software/resources-http/src/test/groovy/org/gradle/internal/resource/transport/http/HttpClientHelperSSLTest.groovy

            SslContextFactory factory = new DefaultSslContextFactory()
    
            HttpSettings settings = DefaultHttpSettings.builder()
                .withAuthenticationSettings([])
                .withRedirectVerifier {}
                .withSslContextFactory(factory)
                .build()
    
            client = new HttpClientHelper(new DocumentationRegistry(), settings)
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Nov 07 05:29:07 UTC 2023
    - 9.7K bytes
    - Viewed (0)
Back to top