Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for setQueryParameter (0.13 sec)

  1. okhttp/src/test/java/okhttp3/KotlinSourceModernTest.kt

        builder = builder.query("")
        builder = builder.encodedQuery("")
        builder = builder.addQueryParameter("", "")
        builder = builder.addEncodedQueryParameter("", "")
        builder = builder.setQueryParameter("", "")
        builder = builder.setEncodedQueryParameter("", "")
        builder = builder.removeAllQueryParameters("")
        builder = builder.removeAllEncodedQueryParameters("")
        builder = builder.fragment("")
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Apr 01 14:21:25 UTC 2024
    - 46.5K bytes
    - Viewed (0)
  2. okhttp/src/main/kotlin/okhttp3/HttpUrl.kt

            encodedValue?.canonicalize(
              encodeSet = QUERY_COMPONENT_REENCODE_SET,
              alreadyEncoded = true,
              plusIsSpace = true,
            ),
          )
        }
    
        fun setQueryParameter(
          name: String,
          value: String?,
        ) = apply {
          removeAllQueryParameters(name)
          addQueryParameter(name, value)
        }
    
        fun setEncodedQueryParameter(
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Tue Jan 09 12:33:05 UTC 2024
    - 63.5K bytes
    - Viewed (0)
  3. okhttp/src/test/java/okhttp3/HttpUrlTest.kt

      }
    
      @Test
      fun composeQuerySetQueryParameter() {
        val url =
          parse("http://host/").newBuilder()
            .addQueryParameter("a+=& b", "c+=& d")
            .setQueryParameter("a+=& b", "ef")
            .build()
        assertThat(url.toString()).isEqualTo("http://host/?a%2B%3D%26%20b=ef")
        assertThat(url.queryParameter("a+=& b")).isEqualTo("ef")
      }
    
      @Test
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 67.9K bytes
    - Viewed (0)
  4. okhttp/api/okhttp.api

    	public final fun setEncodedQueryParameter (Ljava/lang/String;Ljava/lang/String;)Lokhttp3/HttpUrl$Builder;
    	public final fun setPathSegment (ILjava/lang/String;)Lokhttp3/HttpUrl$Builder;
    	public final fun setQueryParameter (Ljava/lang/String;Ljava/lang/String;)Lokhttp3/HttpUrl$Builder;
    	public fun toString ()Ljava/lang/String;
    	public final fun username (Ljava/lang/String;)Lokhttp3/HttpUrl$Builder;
    }
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Apr 15 13:41:01 UTC 2024
    - 70.2K bytes
    - Viewed (0)
Back to top