Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 59 for protocol (0.38 sec)

  1. samples/guide/src/main/java/okhttp3/recipes/PrintEventsNonConcurrent.java

        }
    
        @Override public void connectEnd(
            Call call, InetSocketAddress inetSocketAddress, Proxy proxy, Protocol protocol) {
          printEvent("connectEnd");
        }
    
        @Override public void connectFailed(Call call, InetSocketAddress inetSocketAddress, Proxy proxy,
            Protocol protocol, IOException ioe) {
          printEvent("connectFailed");
        }
    
    Java
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sun Feb 16 23:20:49 GMT 2020
    - 5.3K bytes
    - Viewed (0)
  2. samples/guide/src/main/java/okhttp3/recipes/PrintEvents.java

        }
    
        @Override public void connectEnd(
            Call call, InetSocketAddress inetSocketAddress, Proxy proxy, Protocol protocol) {
          printEvent("connectEnd");
        }
    
        @Override public void connectFailed(Call call, InetSocketAddress inetSocketAddress, Proxy proxy,
            Protocol protocol, IOException ioe) {
          printEvent("connectFailed");
        }
    
    Java
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sun Feb 16 23:20:49 GMT 2020
    - 6.1K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/validation/UriTypeValidator.java

                    boolean flag = false;
                    for (final String protocol : protocols) {
                        if (path.trim().startsWith(protocol.trim())) {
                            flag = true;
                            break;
                        }
                    }
                    if (!flag) {
                        return false;
                    }
                }
            }
            return true;
        }
    
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 2.3K bytes
    - Viewed (0)
  4. regression-test/src/androidTest/java/okhttp/regression/compare/OkHttpClientTest.java

            .url("https://google.com/robots.txt")
            .build();
        try (Response response = client.newCall(request).execute()) {
          assertEquals(200, response.code());
          assertEquals(Protocol.HTTP_2, response.protocol());
        }
      }
    Java
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Nov 14 17:38:22 GMT 2020
    - 1.4K bytes
    - Viewed (0)
  5. maven-compat/src/test/java/org/apache/maven/repository/legacy/DefaultWagonManagerTest.java

            String protocol = "perlookup";
    
            Wagon one = wagonManager.getWagon(protocol);
            Wagon two = wagonManager.getWagon(protocol);
    
            assertNotSame(one, two);
        }
    
        private void assertWagon(String protocol) throws Exception {
            Wagon wagon = wagonManager.getWagon(protocol);
    
            assertNotNull(wagon, "Check wagon, protocol=" + protocol);
        }
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Apr 25 05:46:50 GMT 2024
    - 13.4K bytes
    - Viewed (0)
  6. regression-test/src/androidTest/java/okhttp/regression/LetsEncryptTest.java

                .url(url)
                .build();
        try (Response response = client.newCall(request).execute()) {
          assertTrue(response.code() == 200 || response.code() == 404);
          assertEquals(Protocol.HTTP_2, response.protocol());
        }
      }
    Java
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Tue Nov 17 07:40:31 GMT 2020
    - 6.1K bytes
    - Viewed (0)
  7. maven-compat/src/main/java/org/apache/maven/repository/legacy/DefaultWagonManager.java

                throws TransferFailedException, ResourceDoesNotExistException {
            String protocol = repository.getProtocol();
    
            Wagon wagon;
    
            try {
                wagon = getWagon(protocol);
            } catch (UnsupportedProtocolException e) {
                throw new TransferFailedException("Unsupported Protocol: '" + protocol + "': " + e.getMessage(), e);
            }
    
            if (downloadMonitor != null) {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Sep 14 11:48:15 GMT 2023
    - 29.9K bytes
    - Viewed (0)
  8. maven-compat/src/main/java/org/apache/maven/artifact/manager/DefaultWagonManager.java

                }
            }
    
            // empty one to prevent NPE
            return new AuthenticationInfo();
        }
    
        public ProxyInfo getProxy(String protocol) {
            MavenSession session = legacySupport.getSession();
    
            if (session != null && protocol != null) {
                MavenExecutionRequest request = session.getRequest();
    
                if (request != null) {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Sep 06 11:28:54 GMT 2023
    - 6.4K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/core/net/URLUtil.java

        /**
         * プロトコルを正規化して返します。
         *
         * @param protocol
         *            プロトコル。{@literal null}や空文字列であってはいけません
         * @return 正規化されたプロトコル
         */
        public static String toCanonicalProtocol(final String protocol) {
            assertArgumentNotEmpty("protocol", protocol);
    
            final String canonicalProtocol = CANONICAL_PROTOCOLS.get(protocol);
            if (canonicalProtocol != null) {
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 7.3K bytes
    - Viewed (0)
  10. regression-test/src/androidTest/java/okhttp/regression/IssueReproductionTest.java

                .url(url)
                .build();
        try (Response response = client.newCall(request).execute()) {
          assertTrue(response.code() == 200 || response.code() == 404);
          assertEquals(Protocol.HTTP_2, response.protocol());
    
          for (Certificate c: response.handshake().peerCertificates()) {
            X509Certificate x = (X509Certificate) c;
            System.out.println(x.getSubjectDN());
          }
        }
      }
    Java
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jul 26 06:37:08 GMT 2021
    - 1.9K bytes
    - Viewed (0)
Back to top