Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 20 for scheme (0.04 sec)

  1. okhttp/src/commonJvmAndroid/kotlin/okhttp3/HttpUrl.kt

        /**
         * @param scheme either "http" or "https".
         */
        fun scheme(scheme: String) =
          apply {
            when {
              scheme.equals("http", ignoreCase = true) -> this.scheme = "http"
              scheme.equals("https", ignoreCase = true) -> this.scheme = "https"
              else -> throw IllegalArgumentException("unexpected scheme: $scheme")
            }
          }
    
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Mon May 05 16:01:00 UTC 2025
    - 63.5K bytes
    - Viewed (0)
  2. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/http/HcHttpClient.java

                    }
                }
            }
    
            formSchemeList.forEach(p -> {
                final FormScheme scheme = p.getFirst();
                final Credentials credentials = p.getSecond();
                scheme.authenticate(credentials, (request, consumer) -> {
    
                    // request header
                    for (final Header header : requestHeaderList) {
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sun Nov 23 12:19:14 UTC 2025
    - 53.7K bytes
    - Viewed (0)
  3. okhttp/src/jvmTest/kotlin/okhttp3/HttpUrlTest.kt

          assertFailsWith<IllegalStateException> {
            HttpUrl.Builder().scheme("http").build()
          }
        assertThat(noHost.message).isEqualTo("host == null")
        val noScheme =
          assertFailsWith<IllegalStateException> {
            HttpUrl.Builder().host("host").build()
          }
        assertThat(noScheme.message).isEqualTo("scheme == null")
      }
    
      @Test
      fun builderToString() {
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Mon Aug 04 07:38:48 UTC 2025
    - 69.9K bytes
    - Viewed (0)
  4. okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/HttpOverHttp2Test.kt

              ).hostnameVerifier(RecordingHostnameVerifier())
              .build()
          scheme = "https"
        } else {
          server.protocols = listOf(Protocol.H2_PRIOR_KNOWLEDGE)
          client =
            clientTestRule
              .newClientBuilder()
              .protocols(listOf(Protocol.H2_PRIOR_KNOWLEDGE))
              .build()
          scheme = "http"
        }
      }
    
      @AfterEach fun tearDown() {
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Sat Nov 01 12:18:11 UTC 2025
    - 67.4K bytes
    - Viewed (0)
  5. cmd/batch-handlers.go

    		return err
    	}
    
    	cred := r.Source.Creds
    
    	c, err := minio.New(u.Host, &minio.Options{
    		Creds:        credentials.NewStaticV4(cred.AccessKey, cred.SecretKey, cred.SessionToken),
    		Secure:       u.Scheme == "https",
    		Transport:    getRemoteInstanceTransport(),
    		BucketLookup: lookupStyle(r.Source.Path),
    	})
    	if err != nil {
    		return err
    	}
    
    	c.SetAppInfo("minio-"+batchJobPrefix, r.APIVersion+" "+job.ID)
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 63.5K bytes
    - Viewed (1)
  6. okhttp/api/jvm/okhttp.api

    	public final fun charset ()Ljava/nio/charset/Charset;
    	public fun equals (Ljava/lang/Object;)Z
    	public fun hashCode ()I
    	public final fun realm ()Ljava/lang/String;
    	public final fun scheme ()Ljava/lang/String;
    	public fun toString ()Ljava/lang/String;
    	public final fun withCharset (Ljava/nio/charset/Charset;)Lokhttp3/Challenge;
    }
    
    public final class okhttp3/CipherSuite {
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Wed Nov 05 18:28:35 UTC 2025
    - 70.2K bytes
    - Viewed (0)
  7. docs/changelogs/changelog_3x.md

        responses returned by OkHttp itself, and it was an old mistake to permit
        application code to omit a message.
    
     *  The challenge's scheme and realm are now non-null. If you are calling
        `new Challenge(scheme, realm)` you must provide non-null values. These were
        never null in challenges created by OkHttp, but could have been null in
        application code that creates challenges.
    
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Sun Feb 06 14:55:54 UTC 2022
    - 50.8K bytes
    - Viewed (0)
  8. okhttp/api/android/okhttp.api

    	public final fun charset ()Ljava/nio/charset/Charset;
    	public fun equals (Ljava/lang/Object;)Z
    	public fun hashCode ()I
    	public final fun realm ()Ljava/lang/String;
    	public final fun scheme ()Ljava/lang/String;
    	public fun toString ()Ljava/lang/String;
    	public final fun withCharset (Ljava/nio/charset/Charset;)Lokhttp3/Challenge;
    }
    
    public final class okhttp3/CipherSuite {
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Wed Nov 05 18:28:35 UTC 2025
    - 70.3K bytes
    - Viewed (0)
  9. cmd/admin-handlers-users_test.go

    		ServerTypeDescription: fmt.Sprintf("%s%s", c.serverType, etcdStr),
    		withEtcdBackend:       withEtcdBackend,
    	}
    }
    
    func (s *TestSuiteIAM) iamSetup(c *check) {
    	var err error
    	// strip url scheme from endpoint
    	s.endpoint = strings.TrimPrefix(s.endPoint, "http://")
    	if s.secure {
    		s.endpoint = strings.TrimPrefix(s.endPoint, "https://")
    	}
    
    	s.adm, err = madmin.New(s.endpoint, s.accessKey, s.secretKey, s.secure)
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Wed Oct 15 17:00:45 UTC 2025
    - 50.6K bytes
    - Viewed (0)
  10. compat/maven-model-builder/src/main/java/org/apache/maven/model/validation/DefaultModelValidator.java

         * the second version is the newer.
         */
        private static int compareModelVersions(String first, String second) {
            // we use a dedicated comparator because we control our model version scheme.
            String[] firstSegments = StringUtils.split(first, ".");
            String[] secondSegments = StringUtils.split(second, ".");
            for (int i = 0; i < Math.max(firstSegments.length, secondSegments.length); i++) {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Sep 03 15:06:05 UTC 2025
    - 66.8K bytes
    - Viewed (0)
Back to top