Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 17 of 17 for encodedQuery (0.84 sec)

  1. okhttp/api/jvm/okhttp.api

    	public final fun encodedPassword ()Ljava/lang/String;
    	public final fun encodedPath ()Ljava/lang/String;
    	public final fun encodedPathSegments ()Ljava/util/List;
    	public final fun encodedQuery ()Ljava/lang/String;
    	public final fun encodedUsername ()Ljava/lang/String;
    	public fun equals (Ljava/lang/Object;)Z
    	public final fun fragment ()Ljava/lang/String;
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 16 09:39:51 UTC 2025
    - 69.4K bytes
    - Viewed (0)
  2. okhttp/api/android/okhttp.api

    	public final fun encodedPassword ()Ljava/lang/String;
    	public final fun encodedPath ()Ljava/lang/String;
    	public final fun encodedPathSegments ()Ljava/util/List;
    	public final fun encodedQuery ()Ljava/lang/String;
    	public final fun encodedUsername ()Ljava/lang/String;
    	public fun equals (Ljava/lang/Object;)Z
    	public final fun fragment ()Ljava/lang/String;
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 16 09:39:51 UTC 2025
    - 69.4K bytes
    - Viewed (0)
  3. docs/changelogs/changelog_3x.md

        `NullPointerException`.
     *  New: Recover gracefully when Android's socket connections crash with an
        unexpected `ClassCastException`.
     *  Fix: Don't include the URL's fragment in `encodedQuery()` when the query
        itself is empty.
    
    ## Version 3.9.0
    
    _2017-09-03_
    
     *  **Interceptors are more capable.** The `Chain` interface now offers access
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sun Feb 06 14:55:54 UTC 2022
    - 50.8K bytes
    - Viewed (0)
  4. okhttp/src/androidMain/baseline-prof.txt

    HSPLokhttp3/Headers;->value(I)Ljava/lang/String;
    HSPLokhttp3/HttpUrl$Builder;-><init>()V
    HSPLokhttp3/HttpUrl$Builder;->build()Lokhttp3/HttpUrl;
    HSPLokhttp3/HttpUrl$Builder;->effectivePort()I
    HSPLokhttp3/HttpUrl$Builder;->encodedQuery(Ljava/lang/String;)Lokhttp3/HttpUrl$Builder;
    HSPLokhttp3/HttpUrl$Builder;->parse$okhttp(Lokhttp3/HttpUrl;Ljava/lang/String;)Lokhttp3/HttpUrl$Builder;
    HSPLokhttp3/HttpUrl$Builder;->toString()Ljava/lang/String;
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon Dec 30 23:28:56 UTC 2024
    - 127.9K bytes
    - Viewed (0)
  5. okhttp-dnsoverhttps/src/test/java/okhttp3/dnsoverhttps/DnsRecordCodecTest.kt

      fun testGoogleDotComEncoding() {
        val encoded = encodeQuery("google.com", TYPE_A)
        assertThat(encoded).isEqualTo("AAABAAABAAAAAAAABmdvb2dsZQNjb20AAAEAAQ")
      }
    
      private fun encodeQuery(
        host: String,
        type: Int,
      ): String = DnsRecordCodec.encodeQuery(host, type).base64Url().replace("=", "")
    
      @Test
      fun testGoogleDotComEncodingWithIPv6() {
        val encoded = encodeQuery("google.com", TYPE_AAAA)
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu May 29 20:09:10 UTC 2025
    - 3.6K bytes
    - Viewed (0)
  6. okhttp-dnsoverhttps/src/main/kotlin/okhttp3/dnsoverhttps/DnsRecordCodec.kt

      private const val SERVFAIL = 2
      private const val NXDOMAIN = 3
      const val TYPE_A = 0x0001
      const val TYPE_AAAA = 0x001c
      private const val TYPE_PTR = 0x000c
      private val ASCII = Charsets.US_ASCII
    
      fun encodeQuery(
        host: String,
        type: Int,
      ): ByteString =
        Buffer()
          .apply {
            writeShort(0) // query id
            writeShort(256) // flags with recursion
            writeShort(1) // question count
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 3.9K bytes
    - Viewed (0)
  7. okhttp-dnsoverhttps/src/main/kotlin/okhttp3/dnsoverhttps/DnsOverHttps.kt

        hostname: String,
        type: Int,
      ): Request =
        Request
          .Builder()
          .header("Accept", DNS_MESSAGE.toString())
          .apply {
            val query = DnsRecordCodec.encodeQuery(hostname, type)
    
            val dnsUrl: HttpUrl = ******@****.***
            if (post) {
              url(dnsUrl)
                .cacheUrlOverride(
                  dnsUrl
                    .newBuilder()
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat May 10 11:15:14 UTC 2025
    - 8.6K bytes
    - Viewed (0)
Back to top