- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 12 for Request$1 (0.21 sec)
-
maven-core/src/test/resources/apiv4-repo/junit/junit/4.13.1/junit-4.13.1.jar
org.junit.runners.model.RunnerBuilder { void Computer$1(Computer, org.junit.runners.model.RunnerBuilder); public Runner runnerForClass(Class) throws Throwable; } org/junit/runner/Request$1.class package org.junit.runner; final synchronized class Request$1 extends Request { void Request$1(Runner); public Runner getRunner(); } org/junit/After.class package org.junit; public abstract interface After extends annotation.Annotation { } org/junit/internal/MethodSorter.class package org.junit.internal; public synchronized...
Archive - Registered: Sun Apr 28 03:35:10 GMT 2024 - Last Modified: Tue Dec 19 19:08:55 GMT 2023 - 373.7K bytes - Viewed (0) -
mockwebserver/README.md
+ "sup, bra?\n" + "yo dog", chat.messages()); // Optional: confirm that your app made the HTTP requests you were expecting. RecordedRequest request1 = server.takeRequest(); assertEquals("/v1/chat/messages/", request1.getPath()); assertNotNull(request1.getHeader("Authorization")); RecordedRequest request2 = server.takeRequest(); assertEquals("/v1/chat/messages/2", request2.getPath());
Plain Text - Registered: Fri Apr 26 11:42:10 GMT 2024 - Last Modified: Sun Dec 17 15:34:10 GMT 2023 - 5K bytes - Viewed (1) -
okhttp/src/test/java/okhttp3/ConnectionCoalescingTest.kt
override fun connectStart( call: Call, inetSocketAddress: InetSocketAddress, proxy: Proxy, ) { // Let request1 proceed to make a connection. latch1.countDown() try { // Wait until request1 makes the connection and puts it in the connection pool. latch2.await() } catch (e: InterruptedException) { throw AssertionError(e)
Plain Text - Registered: Fri Apr 26 11:42:10 GMT 2024 - Last Modified: Sat Jan 20 10:30:28 GMT 2024 - 18.7K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/CacheTest.kt
Plain Text - Registered: Fri Apr 26 11:42:10 GMT 2024 - Last Modified: Wed Apr 10 19:46:48 GMT 2024 - 108.6K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/InterceptorTest.kt
.addInterceptor(interceptor1) .addInterceptor(interceptor2) .build() val request1 = Request.Builder() .url("http://" + TestUtil.UNREACHABLE_ADDRESS_IPV4) .build() val call = client.newCall(request1) val startNanos = System.nanoTime() assertFailsWith<SocketTimeoutException> { call.execute() }
Plain Text - Registered: Fri Apr 26 11:42:10 GMT 2024 - Last Modified: Sun Jan 14 10:20:09 GMT 2024 - 27.8K bytes - Viewed (0) -
okhttp-dnsoverhttps/src/test/java/okhttp3/dnsoverhttps/DnsOverHttpsTest.kt
assertThat(result).contains(address("2a03:2880:f029:11:face:b00c:0:2")) val request1 = server.takeRequest() assertThat(request1.method).isEqualTo("GET") val request2 = server.takeRequest() assertThat(request2.method).isEqualTo("GET") assertThat(listOf(request1.path, request2.path)) .containsExactlyInAnyOrder( "/lookup?ct&dns=AAABAAABAAAAAAAABmdvb2dsZQNjb20AAAEAAQ",
Plain Text - Registered: Fri Apr 26 11:42:10 GMT 2024 - Last Modified: Wed Apr 10 19:46:48 GMT 2024 - 11K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/DispatcherTest.kt
.containsExactly("CallStart", "CallFailed") } @Test fun executionRejectedAfterMaxRequestsChange() { val request1 = newRequest("http://a/1") val request2 = newRequest("http://a/2") dispatcher.maxRequests = 1 client.newCall(request1).enqueue(callback) executor.shutdown() client.newCall(request2).enqueue(callback) dispatcher.maxRequests = 2 // Trigger promotion.
Plain Text - Registered: Fri Apr 26 11:42:10 GMT 2024 - Last Modified: Fri Apr 05 03:30:42 GMT 2024 - 12.7K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/SocksProxyTest.kt
val client = clientTestRule.newClientBuilder() .proxy(socksProxy.proxy()) .build() val request1 = Request.Builder().url(server.url("/")).build() val response1 = client.newCall(request1).execute() assertThat(response1.body.string()).isEqualTo("abc") val request2 = Request.Builder().url(server.url("/")).build()
Plain Text - Registered: Fri Apr 26 11:42:10 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 3.5K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/CallTest.kt
.build(), ) client = client.newBuilder() .cache(cache) .build() val request1 = Request(server.url("/")) client.newCall(request1).enqueue(callback) callback.await(request1.url).assertCode(200).assertBody("A") assertThat(server.takeRequest().headers["If-None-Match"]).isNull() val request2 = Request(server.url("/"))
Plain Text - Registered: Fri Apr 26 11:42:10 GMT 2024 - Last Modified: Wed Apr 10 19:46:48 GMT 2024 - 142.5K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/CookiesTest.kt
client = client.newBuilder() .cookieJar(JavaNetCookieJar(cookieManager)) .build() get(urlWithIpAddress(server, "/")) val request1 = server.takeRequest() assertThat(request1.headers["Cookie"]).isNull() get(urlWithIpAddress(server, "/")) val request2 = server.takeRequest() assertThat(request2.headers["Cookie"]).isEqualTo("a=android; b=banana") }
Plain Text - Registered: Fri Apr 26 11:42:10 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 13K bytes - Viewed (0)