- Sort Score
- Num 10 results
- Language All
Results 51 - 60 of 123 for dispatcher (0.06 seconds)
-
okhttp/src/jvmTest/kotlin/okhttp3/InterceptorTest.kt
addInterceptor(network) { chain: Interceptor.Chain? -> throw boom } val executor = ExceptionCatchingExecutor() client = client .newBuilder() .dispatcher(Dispatcher(executor)) .build() val request = Request .Builder() .url(server.url("/")) .build() val call = client.newCall(request) call.enqueue(callback)
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Nov 04 16:11:23 GMT 2025 - 28.2K bytes - Click Count (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnenc/goals/Init.java
ListPromptBuilder listPromptBuilder = promptBuilder .createListPrompt() .name("defaultDispatcher") .message("Which dispatcher you want to use as default?"); listPromptBuilder .newItem() .name(NONE) .text("None (disable MavenSecDispatcher)") .add();Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Wed Jun 11 13:14:09 GMT 2025 - 12K bytes - Click Count (0) -
impl/maven-cli/pom.xml
<groupId>org.codehaus.plexus</groupId> <artifactId>plexus-classworlds</artifactId> </dependency> <dependency> <groupId>org.codehaus.plexus</groupId> <artifactId>plexus-sec-dispatcher</artifactId> </dependency> <dependency> <groupId>org.codehaus.plexus</groupId> <artifactId>plexus-xml</artifactId> </dependency> <dependency>
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Tue Nov 18 18:03:26 GMT 2025 - 10.2K bytes - Click Count (0) -
docs/changelogs/changelog_2x.md
* New: `Headers.toMultimap()`. * New: `RequestBody.create(MediaType, ByteString)`. * New: `ConnectionSpec.isCompatible(SSLSocket)`. * New: `Dispatcher.getQueuedCallCount()` and `Dispatcher.getRunningCallCount()`. These can be useful in diagnostics. * Fix: OkHttp no longer shares timeouts between pooled connections. This was causing some applications to crash when connections were reused.
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Sun Feb 06 02:19:09 GMT 2022 - 26.6K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/ws/WebSocketHttpTest.kt
* byte of a frame but no more frames. */ @Test fun readTimeoutAppliesWithinFrames() { webServer.dispatcher = object : Dispatcher() { override fun dispatch(request: RecordedRequest): MockResponse = upgradeResponse(request) .body(Buffer().write("81".decodeHex())) // Truncated frame. .removeHeader("Content-Length")
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Nov 04 19:13:52 GMT 2025 - 35.5K bytes - Click Count (0) -
mockwebserver/src/test/java/mockwebserver3/MockWebServerTest.kt
// Enqueue a request that'll cause MockWebServer to hang on QueueDispatcher.dispatch(). val connection = server.url("/").toUrl().openConnection() as HttpURLConnection connection.readTimeout = 500 assertFailsWith<SocketTimeoutException> { connection.responseCode } // Closing the server should unblock the dispatcher. server.close() } @Test fun requestUrlReconstructed() {
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Sun Aug 03 22:38:00 GMT 2025 - 28K bytes - Click Count (0) -
mockwebserver-deprecated/src/test/java/okhttp3/mockwebserver/MockWebServerTest.kt
val connection = server.url("/").toUrl().openConnection() as HttpURLConnection connection.setReadTimeout(500) try { connection.getResponseCode() fail<Any>() } catch (expected: SocketTimeoutException) { } // Shutting down the server should unblock the dispatcher. server.shutdown() } @Test
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Thu Jul 03 13:16:34 GMT 2025 - 22.3K bytes - Click Count (0) -
okhttp/src/androidMain/baseline-prof.txt
HSPLokhttp3/CookieJar$Companion$NoCookies;->loadForRequest(Lokhttp3/HttpUrl;)Ljava/util/List; HSPLokhttp3/CookieJar;-><clinit>()V HSPLokhttp3/Dispatcher;-><init>()V HSPLokhttp3/Dispatcher;->finished$okhttp(Lokhttp3/internal/connection/RealCall$AsyncCall;)V HSPLokhttp3/Dispatcher;->finished(Ljava/util/Deque;Ljava/lang/Object;)V HSPLokhttp3/Dispatcher;->promoteAndExecute()Z HSPLokhttp3/Dns$Companion$DnsSystem;-><init>()V
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Mon Dec 30 23:28:56 GMT 2024 - 127.9K bytes - Click Count (1) -
okhttp/src/jvmTest/kotlin/okhttp3/EventListenerTest.kt
) return mapOf( Boolean::class.java to false, Call::class.java to FailingCall(), Connection::class.java to factory.newConnection(pool, route), Dispatcher::class.java to Dispatcher(), Handshake::class.java to handshake, HttpUrl::class.java to url, IOException::class.java to IOException("boom"),Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Feb 03 22:17:59 GMT 2026 - 70.7K bytes - Click Count (0) -
compat/maven-embedder/src/main/java/org/apache/maven/cli/MavenCli.java
private Maven maven; private MavenExecutionRequestPopulator executionRequestPopulator; private ToolchainsBuilder toolchainsBuilder; private SecDispatcher dispatcher; private Map<String, ConfigurationProcessor> configurationProcessors; private CLIManager cliManager; private MessageBuilderFactory messageBuilderFactory;Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Mon Oct 27 13:24:03 GMT 2025 - 78.1K bytes - Click Count (0)