- Sort Score
- Result 10 results
- Languages All
Results 61 - 70 of 137 for Falque (0.14 sec)
-
samples/guide/src/main/java/okhttp3/recipes/SynchronousGet.java
Headers responseHeaders = response.headers(); for (int i = 0; i < responseHeaders.size(); i++) { System.out.println(responseHeaders.name(i) + ": " + responseHeaders.value(i)); } System.out.println(response.body().string()); } } public static void main(String... args) throws Exception { new SynchronousGet().run(); }
Java - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Sun May 22 01:29:42 GMT 2016 - 1.5K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/concurrent/TaskRunner.kt
lock.assertHeld() while (true) { if (readyQueues.isEmpty()) { return null // Nothing to do. } val now = backend.nanoTime() var minDelayNanos = Long.MAX_VALUE var readyTask: Task? = null var multipleReadyTasks = false // Decide what to run. This loop's goal wants to: // * Find out what this thread should do (either run a task or sleep)
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Apr 29 00:33:04 GMT 2024 - 10.6K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/HeadersRequestTest.kt
val headers = response.headers assertThat(headers.size).isEqualTo(1) assertThat(headers.name(0)).isEqualTo(":version") assertThat(headers.value(0)).isEqualTo("HTTP/1.1") } @Test fun http2HeadersListDropsForbiddenHeadersHttp2() { val request = Request.Builder() .url("http://square.com/") .header("Connection", "upgrade")
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 2.5K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/CacheCorruptionTest.kt
this.server = server platform.assumeNotOpenJSSE() server.protocolNegotiationEnabled = false val loggingFileSystem = LoggingFilesystem(fileSystem) cache = buildCache("/cache/".toPath(), Int.MAX_VALUE.toLong(), loggingFileSystem) client = clientTestRule.newClientBuilder() .cache(cache) .cookieJar(JavaNetCookieJar(cookieManager)) .build() } @AfterEach fun tearDown() {
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Sat Jan 20 10:30:28 GMT 2024 - 6K bytes - Viewed (1) -
samples/guide/src/main/java/okhttp3/recipes/kt/CustomTrust.kt
if (!response.isSuccessful) { val responseHeaders = response.headers for (i in 0 until responseHeaders.size) { println(responseHeaders.name(i) + ": " + responseHeaders.value(i)) } throw IOException("Unexpected code $response") } println(response.body.string()) for (peerCertificate in response.handshake?.peerCertificates.orEmpty()) {
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 8.8K bytes - Viewed (5) -
okhttp/src/main/kotlin/okhttp3/MultipartReader.kt
} } error("unreachable") // TODO(jwilson): fix intersectWith() to return T. } override fun timeout(): Timeout = timeout } /** * Returns a value in [0..maxByteCount] with the number of bytes that can be read from [source] in * the current part. If this returns 0 the current part is exhausted; otherwise it has at least * one byte left to read. */
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 7.1K bytes - Viewed (0) -
docs/changelogs/changelog_3x.md
* Fix: Release the connection if `Authenticator` throws an exception. * Fix: Change the declaration of `OkHttpClient.cache()` to return a `@Nullable Cache`. The return value has always been nullable but it wasn't declared properly. * Fix: Reverse suppression of connect exceptions. When both a call and its retry fail, we now throw the initial exception which is most likely to be actionable.
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-android/src/main/baseline-prof.txt
HSPLkotlin/TuplesKt;->withContext(Lkotlin/coroutines/CoroutineContext;Lkotlin/jvm/functions/Function2;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; HSPLkotlin/UNINITIALIZED_VALUE;-><clinit>()V HSPLkotlin/UNINITIALIZED_VALUE;-><init>()V HSPLkotlin/Unit;-><clinit>()V HSPLkotlin/Unit;-><init>()V HSPLkotlin/collections/AbstractCollection;-><init>()V HSPLkotlin/collections/AbstractList;-><init>()V
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Mar 21 11:22:00 GMT 2022 - 127.9K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/Cookie.kt
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Sat Apr 06 04:12:05 GMT 2024 - 23.1K bytes - Viewed (0)