Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 34 for getProtocol (0.08 sec)

  1. compat/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: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 8K bytes
    - Viewed (0)
  2. compat/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: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  3. impl/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: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 32.6K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/helper/ProtocolHelper.java

                while (resources.hasMoreElements()) {
                    final URL resource = resources.nextElement();
                    logger.debug("loading {}", resource);
                    if ("file".equals(resource.getProtocol())) {
                        final File directory = new File(resource.getFile());
                        if (directory.exists() && directory.isDirectory()) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Wed Jun 19 01:34:15 UTC 2024
    - 7.4K bytes
    - Viewed (0)
  5. 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: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  6. 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: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Apr 06 04:17:33 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  7. 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: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  8. compat/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: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4K bytes
    - Viewed (0)
  9. compat/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: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 29.9K bytes
    - Viewed (0)
  10. 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: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 3.3K bytes
    - Viewed (0)
Back to top