- Sort Score
- Result 10 results
- Languages All
Results 1 - 8 of 8 for value2 (0.23 sec)
-
okhttp/src/test/java/okhttp3/HttpUrlTest.kt
.override(Encoding.IDENTITY, '?'.code, '`'.code) .override(Encoding.PERCENT, '\''.code) .override(Encoding.SKIP, '#'.code, '+'.code) .test(UrlComponentEncodingTester.Component.QUERY_VALUE) } @Test fun fragmentCharacters() { UrlComponentEncodingTester.newInstance() .override( Encoding.IDENTITY, ' '.code, '"'.code, '#'.code,
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 67.9K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/HttpUrl.kt
/** Returns a string for this list of query names and values. */ private fun List<String?>.toQueryString(out: StringBuilder) { for (i in 0 until size step 2) { val name = this[i] val value = this[i + 1] if (i > 0) out.append('&') out.append(name) if (value != null) { out.append('=') out.append(value) } } } /**
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Tue Jan 09 12:33:05 GMT 2024 - 63.5K bytes - Viewed (1) -
docs/changelogs/changelog_3x.md
specify the timeout of an individual call. * New: Return values and fields are now non-null unless otherwise annotated. * New: `LoggingEventListener` makes it easy to get basic visibility into a call's performance. This class is in the `logging-interceptor` artifact. * New: `Headers.Builder.addUnsafeNonAscii()` allows non-ASCII values to be added without an immediate exception.
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Sun Feb 06 14:55:54 GMT 2022 - 50.8K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/internal/http2/HttpOverHttp2Test.kt
private lateinit var protocol: Protocol private lateinit var client: OkHttpClient private val fileSystem: FakeFileSystem = FakeFileSystem() private val cache: Cache = Cache(fileSystem, "/tmp/cache".toPath(), Long.MAX_VALUE) private lateinit var scheme: String private fun configureClientTestRule(): OkHttpClientTestRule { val clientTestRule = OkHttpClientTestRule() clientTestRule.recordTaskRunner = true
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Thu Apr 11 22:09:35 GMT 2024 - 75.3K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/internal/cache/DiskLruCacheTest.kt
assertThat(filesystem.exists(cacheDir / "dir1")).isFalse() } private operator fun set( key: String, value0: String, value1: String, ) { val editor = cache.edit(key)!! editor.setString(0, value0) editor.setString(1, value1) editor.commit() } private fun assertAbsent(key: String) { val snapshot = cache[key] if (snapshot != null) {
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Apr 15 14:55:09 GMT 2024 - 75.8K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/OkHttpClient.kt
/** * Sets the default read timeout for new connections. A value of 0 means no timeout, otherwise * values must be between 1 and [Integer.MAX_VALUE] when converted to milliseconds. * * The read timeout is applied to both the TCP socket and for individual read IO operations * including on [Source] of the [Response]. The default value is 10 seconds. * * @see Socket.setSoTimeout
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Sat Apr 06 04:21:33 GMT 2024 - 52K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/EventListenerTest.kt
} } private fun greaterThan(value: Long): Matcher<Long?> { return object : BaseMatcher<Long?>() { override fun describeTo(description: Description?) { description!!.appendText("> $value") } override fun matches(o: Any?): Boolean { return (o as Long?)!! > value } } }
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Sat Jan 20 10:30:28 GMT 2024 - 56.9K bytes - Viewed (0) -
okhttp/api/okhttp.api
public static final fun of ([Ljava/lang/String;)Lokhttp3/Headers; public final fun size ()I public final fun toMultimap ()Ljava/util/Map; public fun toString ()Ljava/lang/String; public final fun value (I)Ljava/lang/String; public final fun values (Ljava/lang/String;)Ljava/util/List; } public final class okhttp3/Headers$Builder { public fun <init> ()V public final fun add (Ljava/lang/String;)Lokhttp3/Headers$Builder;
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Apr 15 13:41:01 GMT 2024 - 70.2K bytes - Viewed (0)