- Sort Score
- Result 10 results
- Languages All
Results 1 - 5 of 5 for queryParameterValues (0.17 sec)
-
docs/changelogs/upgrading_to_okhttp_4.md
#### Credentials.basic() The username and password parameters to `Credentials.basic()` are now non-null strings. In OkHttp 3.x, null would yield a username or password of "null". #### HttpUrl.queryParameterValues() The return type of `HttpUrl.queryParameterValues()` is `List<String?>`. Lists that may contain null are uncommon and Kotlin callers may have incorrectly assigned the result to `List<String>`. Code Cleanup ------------
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Sun Feb 06 16:58:16 UTC 2022 - 10.9K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/HttpUrlTest.kt
assertThat(url.queryParameterValue(1)).isNull() assertThat(url.queryParameterValue(2)).isNull() assertThat(url.queryParameterValues("foo")).isEqualTo(listOf(null as String?)) assertThat(url.queryParameterValues("bar")).isEqualTo(listOf(null as String?)) assertThat(url.queryParameterValues("baz")).isEqualTo(listOf(null as String?)) } @Test fun queryParametersWithEmptyValues() {
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 67.9K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/KotlinSourceModernTest.kt
val querySize: Int = httpUrl.querySize val queryParameter: String? = httpUrl.queryParameter("") val queryParameterNames: Set<String> = httpUrl.queryParameterNames val queryParameterValues: List<String?> = httpUrl.queryParameterValues("") val queryParameterName: String = httpUrl.queryParameterName(0) val queryParameterValue: String? = httpUrl.queryParameterValue(0) val encodedFragment: String? = httpUrl.encodedFragment
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Apr 01 14:21:25 UTC 2024 - 46.5K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/HttpUrl.kt
* URL. For example this returns `["banana"]` for `queryParameterValue("b")` on * `http://host/?a=apple&b=banana`. * * | URL | `queryParameterValues("a")` | `queryParameterValues("b")` | * | :-------------------------------- | :-------------------------- | :-------------------------- | * | `http://host/` | `[]` | `[]` |
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Tue Jan 09 12:33:05 UTC 2024 - 63.5K bytes - Viewed (0) -
okhttp/api/okhttp.api
public final fun queryParameterName (I)Ljava/lang/String; public final fun queryParameterNames ()Ljava/util/Set; public final fun queryParameterValue (I)Ljava/lang/String; public final fun queryParameterValues (Ljava/lang/String;)Ljava/util/List; public final fun querySize ()I public final fun redact ()Ljava/lang/String; public final fun resolve (Ljava/lang/String;)Lokhttp3/HttpUrl;
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Apr 15 13:41:01 UTC 2024 - 70.2K bytes - Viewed (0)