Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 52 for getSchema (0.84 sec)

  1. platforms/core-execution/build-cache-http/src/main/java/org/gradle/caching/http/internal/DefaultHttpBuildCacheServiceFactory.java

                credentials.setPassword(password);
            }
            return credentials;
        }
    
        private static URI stripUserInfo(URI uri) {
            try {
                return new URI(uri.getScheme(), null, uri.getHost(), uri.getPort(), uri.getPath(), uri.getQuery(), uri.getFragment());
            } catch (URISyntaxException e) {
                throw new GradleException("Error constructing URL for http build cache", e);
            }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:43:12 UTC 2023
    - 6.9K bytes
    - Viewed (0)
  2. platforms/jvm/toolchains-jvm/src/main/java/org/gradle/jvm/toolchain/internal/install/SecureFileDownloader.java

            final HttpRedirectVerifier redirectVerifier;
            try {
                redirectVerifier = HttpRedirectVerifierFactory.create(new URI(source.getScheme(), source.getAuthority(), null, null, null), false,
                        () -> {
                            throw new InvalidUserCodeException("Attempting to download a file from an insecure URI " + source +
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jul 28 16:17:59 UTC 2023
    - 5.6K bytes
    - Viewed (0)
  3. platforms/core-configuration/model-groovy/src/main/java/org/gradle/model/dsl/internal/transform/ClosureBackedRuleFactory.java

            public SourceLocation transform(TransformedClosure closure) {
                SourceLocation sourceLocation = closure.sourceLocation();
                URI uri = sourceLocation.getUri();
                String scheme = uri.getScheme();
                String description;
    
                if ("file".equalsIgnoreCase(scheme)) {
                    description = relativeFilePathResolver.resolveAsRelativePath(uri);
                } else {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 13:37:56 UTC 2023
    - 6K bytes
    - Viewed (0)
  4. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/repositories/DefaultMavenLocalArtifactRepository.java

            this.checksumService = checksumService;
        }
    
        @Override
        public MavenResolver createResolver() {
            URI rootUri = validateUrl();
    
            RepositoryTransport transport = getTransport(rootUri.getScheme());
            MavenMetadataLoader mavenMetadataLoader = new MavenMetadataLoader(transport.getResourceAccessor(), getResourcesFileStore());
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 7.2K bytes
    - Viewed (0)
  5. okhttp/src/main/kotlin/okhttp3/Protocol.kt

    import okio.IOException
    
    /**
     * Protocols that OkHttp implements for [ALPN][ietf_alpn] selection.
     *
     * ## Protocol vs Scheme
     *
     * Despite its name, [java.net.URL.getProtocol] returns the [scheme][java.net.URI.getScheme] (http,
     * https, etc.) of the URL, not the protocol (http/1.1, spdy/3.1, etc.). OkHttp uses the word
     * *protocol* to identify how HTTP messages are framed.
     *
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Sat Apr 06 04:17:33 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  6. platforms/core-configuration/file-collections/src/main/java/org/gradle/api/internal/file/FileOrUriNotationConverter.java

                    throw new UncheckedIOException(e);
                }
            }
            if (notation instanceof URI) {
                URI uri = (URI) notation;
                if ("file".equals(uri.getScheme())) {
                    try {
                        result.converted(new File(uri));
                        return;
                    } catch (IllegalArgumentException ignored) {
                        // Bad file URI, return URI as-is
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jan 09 01:09:38 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  7. platforms/software/security/src/main/java/org/gradle/security/internal/PublicKeyDownloadService.java

        }
    
        private ExternalResourceName toQuery(URI baseUri, String fingerprint) throws URISyntaxException {
            String scheme = baseUri.getScheme();
            int port = baseUri.getPort();
            if ("hkp".equals(scheme)) {
                scheme = "http";
                port = 11371;
            }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 12 08:49:35 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  8. platforms/native/language-native/src/main/java/org/gradle/swiftpm/tasks/GenerateSwiftPackageManagerManifest.java

                        for (Dependency dependency : srcPackage.getDependencies()) {
                            writer.print("        .package(url: \"");
                            if (dependency.getUrl().getScheme().equals("file")) {
                                writer.print(baseDir.relativize(new File(dependency.getUrl()).toPath()));
                            } else {
                                writer.print(dependency.getUrl());
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 9.6K bytes
    - Viewed (0)
  9. platforms/core-execution/build-cache-http/src/main/java/org/gradle/caching/http/internal/HttpBuildCacheService.java

         *
         * @param uri Original URI
         * @return a new URI with no user info
         */
        private 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 UncheckedException.throwAsUncheckedException(e);
            }
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Mar 04 14:13:12 UTC 2024
    - 8K bytes
    - Viewed (0)
  10. platforms/core-configuration/model-core/src/main/java/org/gradle/model/internal/manage/schema/extract/StructSchemaExtractionStrategySupport.java

            return new Action<ModelSchema<P>>() {
                @Override
                public void execute(ModelSchema<P> propertySchema) {
                    property.setSchema(propertySchema);
                }
            };
        }
    
        private static String propertyDescription(ModelSchemaExtractionContext<?> parentContext, ModelProperty<?> property) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 26 09:46:00 UTC 2024
    - 9.5K bytes
    - Viewed (0)
Back to top