- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 45 for getSchemes (0.14 sec)
-
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) -
test-site/app/models/ContentsCreator.java
} } } protected void addSubLink(final Queue<String> queue, final String html, final HttpUriRequest request) { String schema = request.getURI().getScheme(); String host = request.getURI().getHost(); String originUri = request.getURI().toString(); String h = html; final String tag = "<a href=\""; int linkPos;
Registered: Wed Jun 12 15:38:08 UTC 2024 - Last Modified: Fri Nov 06 08:48:32 UTC 2015 - 3.7K bytes - Viewed (0) -
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) -
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) -
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) -
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) -
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) -
platforms/core-execution/build-cache-http/src/integTest/groovy/org/gradle/caching/http/internal/HttpBuildCacheConfigurationBuildOperationIntegrationTest.groovy
given: httpBuildCacheServer.start() def safeUri = httpBuildCacheServer.uri def basicAuthUri = new URI(safeUri.getScheme(), 'user:pwd', safeUri.getHost(), safeUri.getPort(), safeUri.getPath(), safeUri.getQuery(), safeUri.getFragment()) settingsFile << """ buildCache {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:43:12 UTC 2023 - 6K bytes - Viewed (0) -
platforms/software/maven/src/main/java/org/gradle/api/publish/maven/internal/publisher/MavenRemotePublisher.java
URI repositoryUrl = artifactRepository.getUrl(); LOGGER.info("Publishing to repository '{}' ({})", artifactRepository.getName(), repositoryUrl); String protocol = repositoryUrl.getScheme().toLowerCase(); DefaultMavenArtifactRepository realRepository = (DefaultMavenArtifactRepository) artifactRepository; RepositoryTransport transport = realRepository.getTransport(protocol);
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Dec 07 05:46:08 UTC 2023 - 5.3K bytes - Viewed (0) -
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)