Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for withCharset (0.05 sec)

  1. android/guava/src/com/google/common/net/MediaType.java

       */
      public MediaType withCharset(Charset charset) {
        checkNotNull(charset);
        MediaType withCharset = withParameter(CHARSET_ATTRIBUTE, charset.name());
        // precache the charset so we don't need to parse it
        withCharset.parsedCharset = Optional.of(charset);
        return withCharset;
      }
    
      /** Returns true if either the type or subtype is the wildcard. */
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Oct 02 01:46:40 UTC 2025
    - 48K bytes
    - Viewed (0)
  2. guava/src/com/google/common/net/MediaType.java

       */
      public MediaType withCharset(Charset charset) {
        checkNotNull(charset);
        MediaType withCharset = withParameter(CHARSET_ATTRIBUTE, charset.name());
        // precache the charset so we don't need to parse it
        withCharset.parsedCharset = Optional.of(charset);
        return withCharset;
      }
    
      /** Returns true if either the type or subtype is the wildcard. */
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Oct 02 01:46:40 UTC 2025
    - 48K bytes
    - Viewed (0)
  3. okhttp/src/commonJvmAndroid/kotlin/okhttp3/Challenge.kt

          newAuthParams[newKey] = value
        }
        this.authParams = newAuthParams.unmodifiable()
      }
    
      /** Returns a copy of this charset that expects a credential encoded with [charset]. */
      fun withCharset(charset: Charset): Challenge {
        val authParams = this.authParams.toMutableMap()
        authParams["charset"] = charset.name()
        return Challenge(scheme, authParams)
      }
    
      @JvmName("-deprecated_scheme")
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Tue May 27 15:01:35 UTC 2025
    - 3.5K bytes
    - Viewed (0)
  4. okhttp/src/jvmTest/kotlin/okhttp3/KotlinSourceModernTest.kt

        val authParams: Map<String?, String> = challenge.authParams
        val realm: String? = challenge.realm
        val charset: Charset = challenge.charset
        val utf8: Challenge = challenge.withCharset(Charsets.UTF_8)
      }
    
      @Test
      fun cipherSuite() {
        var cipherSuite: CipherSuite = CipherSuite.TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256
        cipherSuite = CipherSuite.forJavaName("")
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Wed Nov 05 18:28:35 UTC 2025
    - 47K bytes
    - Viewed (0)
  5. okhttp/api/jvm/okhttp.api

    	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 {
    	public static final field Companion Lokhttp3/CipherSuite$Companion;
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Wed Nov 05 18:28:35 UTC 2025
    - 70.2K bytes
    - Viewed (0)
  6. okhttp/api/android/okhttp.api

    	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 {
    	public static final field Companion Lokhttp3/CipherSuite$Companion;
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Wed Nov 05 18:28:35 UTC 2025
    - 70.3K bytes
    - Viewed (0)
Back to top