- Sort Score
- Result 10 results
- Languages All
Results 1 - 5 of 5 for queryParameterValue (0.21 sec)
-
okhttp/src/test/java/okhttp3/HttpUrlTest.kt
assertThat(url.querySize).isEqualTo(3) assertThat(url.queryParameterNames).containsExactlyInAnyOrder("foo", "bar", "baz") assertThat(url.queryParameterValue(0)).isNull() assertThat(url.queryParameterValue(1)).isNull() assertThat(url.queryParameterValue(2)).isNull() assertThat(url.queryParameterValues("foo")).isEqualTo(listOf(null as String?))
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/main/kotlin/okhttp3/HttpUrl.kt
* `queryParameterName(0)` on `http://host/?a=apple&b=banana`. This throws if `index` is not less * than the [query size][querySize]. * * | URL | `queryParameterValue(0)` | `queryParameterValue(1)` | * | :-------------------------------- | :----------------------- | :----------------------- | * | `http://host/` | exception | exception |
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-logging-interceptor/src/main/kotlin/okhttp3/logging/HttpLoggingInterceptor.kt
for (i in 0 until url.querySize) { val parameterName = url.queryParameterName(i) val newValue = if (parameterName in queryParamsNameToRedact) "██" else url.queryParameterValue(i) addEncodedQueryParameter(parameterName, newValue) } }.toString() } private fun logHeader( headers: Headers, i: Int, ) {
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Sat Apr 06 09:14:38 UTC 2024 - 11.2K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/KotlinSourceModernTest.kt
val queryParameterValues: List<String?> = httpUrl.queryParameterValues("") val queryParameterName: String = httpUrl.queryParameterName(0) val queryParameterValue: String? = httpUrl.queryParameterValue(0) val encodedFragment: String? = httpUrl.encodedFragment val fragment: String? = httpUrl.fragment val redact: String = httpUrl.redact()
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/api/okhttp.api
public final fun queryParameter (Ljava/lang/String;)Ljava/lang/String; 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;
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Apr 15 13:41:01 UTC 2024 - 70.2K bytes - Viewed (0)