Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 80 for getSchema (0.27 sec)

  1. platforms/software/resources-s3/src/main/java/org/gradle/internal/resource/transport/aws/s3/S3ConnectionProperties.java

            URI uri = null;
            if (StringUtils.isNotBlank(property)) {
                try {
                    uri = new URI(property);
                    if (StringUtils.isBlank(uri.getScheme()) || !SUPPORTED_SCHEMES.contains(uri.getScheme().toUpperCase())) {
                        throw new IllegalArgumentException("System property [" + S3_ENDPOINT_PROPERTY + "=" + property + "] must have a scheme of 'http' or 'https'");
                    }
    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/main/java/org/gradle/internal/resource/transport/gcp/gcs/GcsConnectionProperties.java

            URI uri = null;
            if (StringUtils.isNotBlank(property)) {
                try {
                    uri = new URI(property);
                    if (StringUtils.isBlank(uri.getScheme()) || !SUPPORTED_SCHEMES.contains(uri.getScheme().toUpperCase())) {
                        throw new IllegalArgumentException("System property [" + GCS_ENDPOINT_PROPERTY + "=" + property + "] must have a scheme of 'http' or 'https'");
                    }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 12 19:38:08 UTC 2023
    - 3.6K bytes
    - Viewed (0)
  3. platforms/jvm/toolchains-jvm/src/main/java/org/gradle/jvm/toolchain/internal/RealizedJavaToolchainRepository.java

            for (Authentication authentication : configuredAuthentication) {
                AuthenticationInternal authenticationInternal = (AuthenticationInternal) authentication;
                if (uri.getScheme().startsWith("http")) {
                    authenticationInternal.addHost(uri.getHost(), uri.getPort());
                }
            }
            return configuredAuthentication;
        }
    
        public String getRepositoryName() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Feb 23 10:09:12 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  4. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/repositories/layout/AbstractRepositoryLayout.java

         * @param schemes The set of schemes to add to.
         */
        public void addSchemes(@Nullable URI baseUri, Set<String> schemes) {
            if (baseUri != null) {
                schemes.add(baseUri.getScheme());
            }
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 1.9K bytes
    - Viewed (0)
  5. platforms/core-runtime/wrapper-shared/src/main/java/org/gradle/util/internal/WrapperDistributionUrlConverter.java

         */
        public static URI convertDistributionUrl(String distributionUrl, File fileRoot) throws URISyntaxException {
            URI source = new URI(distributionUrl);
            if (source.getScheme() == null) {
                //  No scheme means someone passed a relative url.
                //  In our context only file relative urls make sense.
                return new File(fileRoot, source.getSchemeSpecificPart()).toURI();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:12:34 UTC 2023
    - 1.7K bytes
    - Viewed (0)
  6. platforms/software/dependency-management/src/main/java/org/gradle/internal/resource/transfer/CachingTextUriResourceLoader.java

         *
         * Schemes like file:// are not cacheable.
         */
        private boolean isCacheableScheme(URI source) {
            return cachedSchemes.contains(source.getScheme());
        }
    
        /**
         * Is {@code source} a cacheable URL?
         *
         * A URI is not cacheable if it uses a query string because our underlying infrastructure
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 3.2K bytes
    - Viewed (0)
  7. staging/src/k8s.io/apiserver/pkg/cel/library/library_compatibility_test.go

    	// and must track the functions here along with which Kubernetes version introduced them.
    	knownFunctions := sets.New(
    		// Kubernetes 1.24:
    		"isSorted", "sum", "max", "min", "indexOf", "lastIndexOf", "find", "findAll", "url", "getScheme", "getHost", "getHostname",
    		"getPort", "getEscapedPath", "getQuery", "isURL",
    		// Kubernetes <1.27>:
    		"path", "group", "serviceAccount", "resource", "subresource", "namespace", "name", "check", "allowed", "reason",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Dec 15 12:03:04 UTC 2023
    - 2.6K bytes
    - Viewed (0)
  8. platforms/core-runtime/wrapper-shared/src/main/java/org/gradle/wrapper/Download.java

         *
         * @param uri Original URI
         * @return a new URI with no user info
         */
        static URI safeUri(URI uri) {
            try {
                return new URI(uri.getScheme(), null, uri.getHost(), uri.getPort(), uri.getPath(), uri.getQuery(), uri.getFragment());
            } catch (URISyntaxException e) {
                throw new RuntimeException("Failed to parse URI", e);
            }
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 13:09:37 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  9. platforms/core-runtime/wrapper-main/src/main/java/org/gradle/wrapper/GradleWrapperMain.java

                location = GradleWrapperMain.class.getProtectionDomain().getCodeSource().getLocation().toURI();
            } catch (URISyntaxException e) {
                throw new RuntimeException(e);
            }
            if (!location.getScheme().equals("file")) {
                throw new RuntimeException(String.format("Cannot determine classpath for wrapper Jar from codebase '%s'.", location));
            }
            try {
                return Paths.get(location).toFile();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 23 05:54:32 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  10. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/repositories/AbstractAuthenticationSupportedRepository.java

                for (URI repositoryUrl : getRepositoryUrls()) {
                    // only care about HTTP hosts right now
                    if (repositoryUrl.getScheme().startsWith("http")) {
                        authenticationInternal.addHost(repositoryUrl.getHost(), repositoryUrl.getPort());
                    }
                }
            }
            return configuredAuthentication;
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 5K bytes
    - Viewed (0)
Back to top