- Sort Score
- Result 10 results
- Languages All
Results 1 - 7 of 7 for encodedValues (0.13 sec)
-
okhttp/src/commonJvmAndroid/kotlin/okhttp3/FormBody.kt
import okio.Buffer import okio.BufferedSink 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
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 4.3K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/UrlComponentEncodingTester.kt
component: Component, ) { val expected = component.canonicalize(encoding.encode(codePoint)) val urlString = component.urlString(expected) val url = urlString.toHttpUrl() val actual = component.encodedValue(url) if (actual != expected) { fail("Encoding $component $codePoint using $encoding: '$actual' != '$expected'") } } private fun testEncodeAndDecode( codePoint: Int,
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 12.3K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/FormBodyTest.kt
assertThat(body.name(1)).isEqualTo("space, the") assertThat(body.name(2)).isEqualTo("%25") assertThat(body.encodedValue(0)).isEqualTo("c%2B%3D%26+d") assertThat(body.encodedValue(1)).isEqualTo("final+frontier") assertThat(body.encodedValue(2)).isEqualTo("%2525") assertThat(body.value(0)).isEqualTo("c+=& d") assertThat(body.value(1)).isEqualTo("final frontier")
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 7.9K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/HttpUrl.kt
addQueryParameter(name, value) } fun setEncodedQueryParameter( encodedName: String, encodedValue: String?, ) = apply { removeAllEncodedQueryParameters(encodedName) addEncodedQueryParameter(encodedName, encodedValue) } fun removeAllQueryParameters(name: String) = apply { if (encodedQueryNamesAndValues == null) return this
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Mon May 05 16:01:00 UTC 2025 - 63.5K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/KotlinSourceModernTest.kt
val formBody: FormBody = FormBody.Builder().build() val size: Int = formBody.size val encodedName: String = formBody.encodedName(0) val name: String = formBody.name(0) val encodedValue: String = formBody.encodedValue(0) val value: String = formBody.value(0) val contentType: MediaType = formBody.contentType() val contentLength: Long = formBody.contentLength() formBody.writeTo(Buffer())
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sat Jun 21 20:36:35 UTC 2025 - 46.5K bytes - Viewed (0) -
okhttp/api/jvm/okhttp.api
public final fun -deprecated_size ()I public fun contentLength ()J public fun contentType ()Lokhttp3/MediaType; public final fun encodedName (I)Ljava/lang/String; public final fun encodedValue (I)Ljava/lang/String; public final fun name (I)Ljava/lang/String; public final fun size ()I public final fun value (I)Ljava/lang/String; public fun writeTo (Lokio/BufferedSink;)V }
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sat Aug 16 09:39:51 UTC 2025 - 69.4K bytes - Viewed (0) -
okhttp/api/android/okhttp.api
public final fun -deprecated_size ()I public fun contentLength ()J public fun contentType ()Lokhttp3/MediaType; public final fun encodedName (I)Ljava/lang/String; public final fun encodedValue (I)Ljava/lang/String; public final fun name (I)Ljava/lang/String; public final fun size ()I public final fun value (I)Ljava/lang/String; public fun writeTo (Lokio/BufferedSink;)V }
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sat Aug 16 09:39:51 UTC 2025 - 69.4K bytes - Viewed (0)