Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 for getScheme (0.1 sec)

  1. okhttp/src/commonJvmAndroid/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: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon Jun 23 18:58:57 UTC 2025
    - 4.4K bytes
    - Viewed (0)
  2. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/ftp/FtpAuthentication.java

                return false;
            }
    
            try {
                final int pos = path.indexOf('/', 6);
                final URI uri = new URI(pos == -1 ? path : path.substring(0, pos));
                if (!"ftp".equals(uri.getScheme()) || (StringUtil.isNotBlank(server) && !server.equals(uri.getHost()))) {
                    return false;
                }
                int p = uri.getPort();
                if (p == -1) {
                    p = 21;
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 3.7K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/api/WebApiRequestTest.java

                return null;
            }
    
            @Override
            public String getProtocol() {
                return null;
            }
    
            @Override
            public String getScheme() {
                return null;
            }
    
            @Override
            public String getServerName() {
                return null;
            }
    
            @Override
            public int getServerPort() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 17.5K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/filter/CorsFilterTest.java

                return new java.util.HashMap<>();
            }
    
            @Override
            public String getProtocol() {
                return "HTTP/1.1";
            }
    
            @Override
            public String getScheme() {
                return "http";
            }
    
            @Override
            public String getServerName() {
                return "localhost";
            }
    
            @Override
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 22.1K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/api/WebApiManagerTest.java

                return new java.util.HashMap<>();
            }
    
            @Override
            public String getProtocol() {
                return "HTTP/1.1";
            }
    
            @Override
            public String getScheme() {
                return "http";
            }
    
            @Override
            public String getServerName() {
                return "localhost";
            }
    
            @Override
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 26.6K bytes
    - Viewed (0)
  6. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/ftp/FtpClient.java

                } catch (final URISyntaxException e) {
                    throw new CrawlingAccessException("Invalid URL: " + s, e);
                }
    
                if (!"ftp".equals(uri.getScheme())) {
                    throw new CrawlingAccessException("Invalid scheme: " + uri.getScheme());
                }
    
                final String path = uri.getPath();
                if (path == null) {
                    parent = "/";
                    name = null;
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 39.5K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/filter/WebApiFilterTest.java

                    return null;
                }
    
                @Override
                public String getProtocol() {
                    return null;
                }
    
                @Override
                public String getScheme() {
                    return null;
                }
    
                @Override
                public String getServerName() {
                    return null;
                }
    
                @Override
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 26.2K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/cors/CorsHandlerTest.java

                    return null;
                }
    
                @Override
                public String getProtocol() {
                    return null;
                }
    
                @Override
                public String getScheme() {
                    return null;
                }
    
                @Override
                public String getServerName() {
                    return null;
                }
    
                @Override
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 25.9K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/entity/SearchRequestParamsTest.java

            }
    
            @Override
            public String getProtocol() {
                throw new UnsupportedOperationException();
            }
    
            @Override
            public String getScheme() {
                throw new UnsupportedOperationException();
            }
    
            @Override
            public String getServerName() {
                throw new UnsupportedOperationException();
            }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 26.2K bytes
    - Viewed (0)
  10. cmd/api-response_test.go

    // Tests getURLScheme function behavior.
    func TestGetURLScheme(t *testing.T) {
    	tls := false
    	gotScheme := getURLScheme(tls)
    	if gotScheme != httpScheme {
    		t.Errorf("Expected %s, got %s", httpScheme, gotScheme)
    	}
    	tls = true
    	gotScheme = getURLScheme(tls)
    	if gotScheme != httpsScheme {
    		t.Errorf("Expected %s, got %s", httpsScheme, gotScheme)
    	}
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 3.5K bytes
    - Viewed (0)
Back to top