Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for throwExceptionDueToInsecureRedirect (0.39 sec)

  1. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/repositories/DefaultUrlArtifactRepository.java

                Documentation.dslReference(UrlArtifactRepository.class, "allowInsecureProtocol").getConsultDocumentationMessage()
            );
        }
    
        private void throwExceptionDueToInsecureRedirect(@Nullable URI redirectFrom, URI redirectLocation) throws InvalidUserCodeException {
            final String contextualAdvice;
            if (redirectFrom != null) {
                contextualAdvice = String.format(
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 4.9K bytes
    - Viewed (0)
  2. subprojects/core/src/main/java/org/gradle/api/internal/resources/DefaultTextResourceFactory.java

                HttpRedirectVerifierFactory.create(
                    rootUri,
                    allowInsecureProtocol,
                    () -> throwExceptionDueToInsecureProtocol(rootUri),
                    redirect -> throwExceptionDueToInsecureRedirect(uri, redirect)
                );
            return apiTextResourcesAdapterFactory.create(rootUri, redirectVerifier);
        }
    
        private static void throwExceptionDueToInsecureProtocol(URI rootUri) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Aug 30 08:26:30 UTC 2023
    - 4.9K bytes
    - Viewed (0)
Back to top