Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for throwExceptionDueToInsecureProtocol (0.34 sec)

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

                    "You must specify a URL for a %s repository.",
                    repositoryType
                ));
            }
            return rootUri;
        }
    
        private void throwExceptionDueToInsecureProtocol() throws InvalidUserCodeException {
            throw new InsecureProtocolException(
                "Using insecure protocols with repositories, without explicit opt-in, is unsupported.",
    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

                    rootUri,
                    allowInsecureProtocol,
                    () -> throwExceptionDueToInsecureProtocol(rootUri),
                    redirect -> throwExceptionDueToInsecureRedirect(uri, redirect)
                );
            return apiTextResourcesAdapterFactory.create(rootUri, redirectVerifier);
        }
    
        private static void throwExceptionDueToInsecureProtocol(URI rootUri) {
            throw new InsecureProtocolException(
    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