Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 48 for GetProtocol (0.16 sec)

  1. maven-compat/src/main/java/org/apache/maven/repository/DefaultMirrorSelector.java

                URL url = new URL(originalRepository.getUrl());
                return ("http".equalsIgnoreCase(url.getProtocol())
                                || "dav".equalsIgnoreCase(url.getProtocol())
                                || "dav:http".equalsIgnoreCase(url.getProtocol())
                                || "dav+http".equalsIgnoreCase(url.getProtocol()))
                        && !isLocal(url.getHost());
            } catch (MalformedURLException e) {
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Thu Jun 15 14:24:56 UTC 2023
    - 8K bytes
    - Viewed (0)
  2. maven-api-impl/src/main/java/org/apache/maven/internal/impl/DefaultRemoteRepository.java

        }
    
        @Nonnull
        @Override
        public String getUrl() {
            return repository.getUrl();
        }
    
        @Nonnull
        @Override
        public String getProtocol() {
            return repository.getProtocol();
        }
    
        @Override
        public String toString() {
            return repository.toString();
        }
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Fri Apr 12 10:50:18 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  3. platforms/core-runtime/base-services/src/main/java/org/gradle/internal/classloader/ClasspathUtil.java

            new ClassLoaderVisitor() {
                @Override
                public void visitClassPath(URL[] classPath) {
                    for (URL url : classPath) {
                        if (url.getProtocol() != null && url.getProtocol().equals("file")) {
                            try {
                                classpathFiles.add(new File(toURI(url)));
                            } catch (URISyntaxException e) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 08:48:02 UTC 2023
    - 7.2K bytes
    - Viewed (0)
  4. maven-compat/src/main/java/org/apache/maven/artifact/manager/DefaultWagonManager.java

                    if (proxies != null) {
                        for (Proxy proxy : proxies) {
                            if (proxy.isActive() && protocol.equalsIgnoreCase(proxy.getProtocol())) {
                                SettingsDecryptionResult result =
                                        settingsDecrypter.decrypt(new DefaultSettingsDecryptionRequest(proxy));
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed Sep 06 11:28:54 UTC 2023
    - 6.4K bytes
    - Viewed (0)
  5. api/maven-api-core/src/main/java/org/apache/maven/api/RemoteRepository.java

     *
     * @since 4.0.0
     */
    @Experimental
    @Immutable
    public interface RemoteRepository extends Repository {
    
        @Nonnull
        String getUrl();
    
        @Nonnull
        String getProtocol();
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed Feb 28 23:54:53 UTC 2024
    - 1.2K bytes
    - Viewed (0)
  6. okhttp-testing-support/src/main/kotlin/okhttp3/DelegatingSSLSession.kt

      }
    
      override fun getLocalPrincipal(): Principal {
        return delegate!!.localPrincipal
      }
    
      override fun getCipherSuite(): String {
        return delegate!!.cipherSuite
      }
    
      override fun getProtocol(): String {
        return delegate!!.protocol
      }
    
      override fun getPeerHost(): String {
        return delegate!!.peerHost
      }
    
      override fun getPeerPort(): Int {
        return delegate!!.peerPort
      }
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  7. fess-crawler/src/test/java/org/codelibs/fess/net/protocol/storage/HandlerTest.java

            super.setUp();
            new StandardCrawlerContainer();
        }
    
        public void test_protocol() throws Exception {
            URL url = new URL("storage:/home/foo");
            assertEquals("storage", url.getProtocol());
        }
    Registered: Wed Jun 12 15:17:51 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  8. subprojects/core/src/main/java/org/gradle/internal/installation/GradleRuntimeShadedJarDetector.java

                    }
                }
            }
    
            return false;
        }
    
        private static boolean isJarUrl(URL location) {
            return location.getProtocol().equals(FILE_PROTOCOL) && location.getPath().endsWith(JAR_FILE_EXTENSION);
        }
    
        private static boolean findMarkerFileInJar(File jar) {
            JarFile jarFile = null;
    
            try {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 04 03:44:18 UTC 2016
    - 2.8K bytes
    - Viewed (0)
  9. maven-compat/src/main/java/org/apache/maven/repository/legacy/LegacyRepositorySystem.java

                ArtifactRepository repository, List<org.apache.maven.settings.Proxy> proxies) {
            if (proxies != null && repository.getProtocol() != null) {
                for (org.apache.maven.settings.Proxy proxy : proxies) {
                    if (proxy.isActive() && repository.getProtocol().equalsIgnoreCase(proxy.getProtocol())) {
                        if (proxy.getNonProxyHosts() != null
                                && !proxy.getNonProxyHosts().isEmpty()) {
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Thu Sep 14 11:48:15 UTC 2023
    - 31.6K bytes
    - Viewed (0)
  10. maven-artifact/src/main/java/org/apache/maven/repository/Proxy.java

         * Get the protocol of the proxy server.
         *
         * @return the protocol of the proxy server
         */
        public String getProtocol() {
            return protocol;
        }
    
        /**
         * @param protocol the protocol of the proxy server like <i>SOCKSv4</i>
         */
        public void setProtocol(String protocol) {
            this.protocol = protocol;
        }
    
        public String getNonProxyHosts() {
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Tue Nov 22 13:26:01 UTC 2022
    - 4K bytes
    - Viewed (0)
Back to top