- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 21 for getSchemes (0.3 sec)
-
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) -
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) -
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) -
platforms/core-configuration/file-collections/src/main/java/org/gradle/api/internal/file/FileOrUriNotationConverter.java
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Jan 09 01:09:38 UTC 2024 - 6.7K bytes - Viewed (0) -
platforms/software/security/src/main/java/org/gradle/security/internal/PublicKeyDownloadService.java
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Apr 12 08:49:35 UTC 2024 - 6.9K bytes - Viewed (0) -
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) -
platforms/software/build-init/src/main/java/org/gradle/api/tasks/wrapper/Wrapper.java
URI uri = getDistributionUri(uriRoot, url); if (uri.getScheme().equals("file")) { if (!Files.exists(Paths.get(uri).toAbsolutePath())) { throw new UncheckedIOException(String.format(DISTRIBUTION_URL_EXCEPTION_MESSAGE, url)); } } else if (uri.getScheme().startsWith("http") && !isOffline) { try {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Apr 08 03:11:06 UTC 2024 - 18.6K bytes - Viewed (0) -
platforms/software/resources/src/main/java/org/gradle/internal/resource/ExternalResourceName.java
return parentPath + childPath; } else { return parentPath + "/" + childPath; } } private static boolean isFileOnHost(URI uri) { return "file".equals(uri.getScheme()) && uri.getPath().startsWith("//"); } private static String extractPath(URI parent) { if (isFileOnHost(parent)) { return URI.create(parent.getPath()).getPath(); }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Jan 26 14:58:23 UTC 2024 - 10K bytes - Viewed (0) -
pkg/config/validation/virtualservice.go
// https://github.com/envoyproxy/envoy/blob/v1.29.2/api/envoy/type/matcher/string.proto#L38 errs = appendErrors(errs, validateStringMatchRegexp(match.GetUri(), "uri")) errs = appendErrors(errs, validateStringMatch(match.GetScheme(), "scheme")) errs = appendErrors(errs, validateStringMatch(match.GetMethod(), "method")) errs = appendErrors(errs, validateStringMatch(match.GetAuthority(), "authority")) for _, qp := range match.GetQueryParams() {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Jun 12 04:03:27 UTC 2024 - 9.3K bytes - Viewed (0)