Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 5 of 5 for getScheme (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)
  4. 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)
    	}
    }
    
    func TestTrackingResponseWriter(t *testing.T) {
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Oct 24 04:05:19 GMT 2025
    - 5.8K bytes
    - Click Count (0)
  5. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/precommit/ValidateJsonAgainstSchemaTask.java

            final SchemaValidatorsConfig config = new SchemaValidatorsConfig();
            final JsonSchemaFactory factory = JsonSchemaFactory.getInstance(SpecVersion.VersionFlag.V7);
            return factory.getSchema(jsonMapper.readTree(jsonSchemaOnDisk), config);
        }
    
        private void maybeLogAndCollectError(Set<ValidationMessage> messages, Map<File, Set<String>> errors, File file) {
            final String fileType = getFileType();
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Wed Jul 28 11:09:58 GMT 2021
    - 5.4K bytes
    - Click Count (0)
Back to Top