Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 48 for GetProtocol (1.2 sec)

  1. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/ftp/FtpAuthentication.java

                return false;
            }
    
            try {
                final int pos = path.indexOf('/', 6);
                final URL uri = new URL(pos == -1 ? path : path.substring(0, pos));
                if (!"ftp".equals(uri.getProtocol()) || (StringUtil.isNotBlank(server) && !server.equals(uri.getHost()))) {
                    return false;
                }
                int p = uri.getPort();
                if (p == -1) {
                    p = 21;
                }
    Registered: Wed Jun 12 15:17:51 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  2. maven-core/src/main/java/org/apache/maven/bridge/MavenRepositorySystem.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: Sat Feb 17 18:40:11 UTC 2024
    - 32.6K bytes
    - Viewed (0)
  3. maven-compat/src/main/java/org/apache/maven/repository/legacy/DefaultWagonManager.java

        private ProxyInfo proxyInfo(ArtifactRepository repository) {
            ProxyInfo proxyInfo = new ProxyInfo();
            proxyInfo.setHost(repository.getProxy().getHost());
            proxyInfo.setType(repository.getProxy().getProtocol());
            proxyInfo.setPort(repository.getProxy().getPort());
            proxyInfo.setNonProxyHosts(repository.getProxy().getNonProxyHosts());
            proxyInfo.setUserName(repository.getProxy().getUserName());
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Thu Sep 14 11:48:15 UTC 2023
    - 29.9K bytes
    - Viewed (0)
  4. platforms/core-runtime/build-process-services/src/main/java/org/gradle/api/internal/classpath/EffectiveClassPath.java

            List<URL> rawClasspath = ClasspathUtil.getClasspath(classLoader).getAsURLs();
            List<File> classpathFiles = new ArrayList<File>();
            for (URL url : rawClasspath) {
                if (url.getProtocol().equals("file")) {
                    try {
                        File classpathFile = new File(url.toURI());
                        addClasspathFile(classpathFile, classpathFiles);
                    } catch (URISyntaxException e) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 24 06:16:07 UTC 2024
    - 3K bytes
    - Viewed (0)
  5. okhttp-testing-support/src/main/kotlin/okhttp3/FakeSSLSession.kt

        throw UnsupportedOperationException()
      }
    
      @Throws(SSLPeerUnverifiedException::class)
      override fun getPeerPrincipal(): Principal {
        throw UnsupportedOperationException()
      }
    
      override fun getProtocol(): String {
        throw UnsupportedOperationException()
      }
    
      override fun getSessionContext(): SSLSessionContext {
        throw UnsupportedOperationException()
      }
    
      override fun putValue(
        s: String,
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  6. maven-artifact/src/main/java/org/apache/maven/artifact/repository/ArtifactRepository.java

        String pathOfLocalRepositoryMetadata(ArtifactMetadata metadata, ArtifactRepository repository);
    
        String getUrl();
    
        void setUrl(String url);
    
        String getBasedir();
    
        String getProtocol();
    
        String getId();
    
        void setId(String id);
    
        ArtifactRepositoryPolicy getSnapshots();
    
        void setSnapshotUpdatePolicy(ArtifactRepositoryPolicy policy);
    
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Thu Feb 23 17:14:45 UTC 2023
    - 4.2K bytes
    - Viewed (0)
  7. okhttp/src/test/java/okhttp3/HandshakeTest.kt

        private val cipherSuite: String,
        private val peerCertificates: Array<Certificate>?,
        private val localCertificates: Array<Certificate>?,
      ) : DelegatingSSLSession(null) {
        override fun getProtocol() = protocol
    
        override fun getCipherSuite() = cipherSuite
    
        override fun getPeerCertificates() = peerCertificates
    
        override fun getLocalCertificates() = localCertificates
      }
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  8. maven-compat/src/main/java/org/apache/maven/artifact/repository/LegacyLocalRepositoryManager.java

            }
    
            public void setUrl(String url) {}
    
            public String getBasedir() {
                return null;
            }
    
            public String getProtocol() {
                return repository.getProtocol();
            }
    
            public String getId() {
                return repository.getId();
            }
    
            public void setId(String id) {}
    
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed Feb 28 07:40:37 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  9. okhttp/src/main/kotlin/okhttp3/Protocol.kt

     */
    package okhttp3
    
    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)
  10. android/guava-tests/test/com/google/common/reflect/ClassPathTest.java

          assertThat(urls.get(0).getProtocol()).isEqualTo("file");
          assertThat(urls.get(0).getAuthority()).isNull();
          assertThat(urls.get(0).getPath()).endsWith("/relative/path/to/some.jar");
    
          assertThat(urls.get(1)).isEqualTo(new URL("file:///absolute/path/to/some.jar"));
    
          assertThat(urls.get(2).getProtocol()).isEqualTo("file");
          assertThat(urls.get(2).getAuthority()).isNull();
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Apr 26 14:02:27 UTC 2024
    - 24.9K bytes
    - Viewed (0)
Back to top