- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for encodedNames (0.08 sec)
-
okhttp/src/main/kotlin/okhttp3/FormBody.kt
class FormBody internal constructor( encodedNames: List<String>, encodedValues: List<String>, ) : RequestBody() { private val encodedNames: List<String> = encodedNames.toImmutableList() private val encodedValues: List<String> = encodedValues.toImmutableList() /** The number of key-value pairs in this form-encoded body. */ @get:JvmName("size") val size: Int get() = encodedNames.size @JvmName("-deprecated_size")
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Tue Jan 09 12:33:05 UTC 2024 - 4.3K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/FormBodyTest.kt
.add("space, the", "final frontier") .add("%25", "%25") .build() assertThat(body.size).isEqualTo(3) assertThat(body.encodedName(0)).isEqualTo("a%2B%3D%26+b") assertThat(body.encodedName(1)).isEqualTo("space%2C+the") assertThat(body.encodedName(2)).isEqualTo("%2525") assertThat(body.name(0)).isEqualTo("a+=& b") assertThat(body.name(1)).isEqualTo("space, the")
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 7.8K bytes - Viewed (0)