Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 3 of 3 for setScheme (0.05 seconds)

  1. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/http/config/WebAuthenticationConfig.java

        /**
         * Gets the URL scheme (e.g., "http" or "https").
         *
         * @return the scheme
         */
        public String getScheme() {
            return scheme;
        }
    
        /**
         * Sets the URL scheme (e.g., "http" or "https").
         *
         * @param scheme the scheme
         */
        public void setScheme(final String scheme) {
            this.scheme = scheme;
        }
    
        /**
         * Gets the host name.
         *
    Created: Sun Apr 12 03:50:13 GMT 2026
    - Last Modified: Fri Jan 09 23:46:52 GMT 2026
    - 6.9K bytes
    - Click Count (0)
  2. 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.
     *
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Jan 27 09:00:39 GMT 2026
    - 4.6K bytes
    - Click Count (0)
  3. 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;
    Created: Sun Apr 12 03:50:13 GMT 2026
    - Last Modified: Sun Jan 04 09:30:17 GMT 2026
    - 4.7K bytes
    - Click Count (0)
Back to Top