- Sort Score
- Result 10 results
- Languages All
Results 1 - 6 of 6 for encodedValues (0.25 sec)
-
okhttp/src/main/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 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/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 Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 12.3K bytes - Viewed (0) -
okhttp/src/test/java/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 Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 7.8K bytes - Viewed (0) -
okhttp/src/main/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 Nov 01 11:42:11 UTC 2024 - Last Modified: Tue Jan 09 12:33:05 UTC 2024 - 63.5K bytes - Viewed (0) -
okhttp/src/test/java/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 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 -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 Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Apr 15 13:41:01 UTC 2024 - 70.2K bytes - Viewed (0)