- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 11 for ConnectionAcquired (0.2 sec)
-
okhttp/src/main/kotlin/okhttp3/internal/connection/CallConnectionUser.kt
override fun connectionConnectEnd( connection: Connection, route: Route, ) { poolConnectionListener.connectEnd(connection, route, call) } override fun connectionAcquired(connection: Connection) { eventListener.connectionAcquired(call, connection) } override fun acquireConnectionNoEvents(connection: RealConnection) { call.acquireConnectionNoEvents(connection) }
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Wed Mar 06 17:33:38 GMT 2024 - 3.6K bytes - Viewed (0) -
okhttp-logging-interceptor/src/main/kotlin/okhttp3/logging/LoggingEventListener.kt
proxy: Proxy, protocol: Protocol?, ioe: IOException, ) { logWithTime("connectFailed: $protocol $ioe") } override fun connectionAcquired( call: Call, connection: Connection, ) { logWithTime("connectionAcquired: $connection") } override fun connectionReleased( call: Call, connection: Connection, ) { logWithTime("connectionReleased") }
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Apr 01 11:07:32 GMT 2024 - 5.4K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/connection/PoolConnectionUser.kt
connection: Connection, route: Route, ) { } override fun connectFailed( route: Route, protocol: Protocol?, e: IOException, ) { } override fun connectionAcquired(connection: Connection) { } override fun acquireConnectionNoEvents(connection: RealConnection) { } override fun releaseConnectionNoEvents(): Socket? { return null }
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Wed Apr 03 20:39:41 GMT 2024 - 2.6K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/connection/ConnectionUser.kt
) fun connectionConnectEnd( connection: Connection, route: Route, ) fun connectFailed( route: Route, protocol: Protocol?, e: IOException, ) fun connectionAcquired(connection: Connection) fun acquireConnectionNoEvents(connection: RealConnection) fun releaseConnectionNoEvents(): Socket? fun connectionReleased(connection: Connection)
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Fri Apr 05 03:30:42 GMT 2024 - 2.2K bytes - Viewed (0) -
okhttp-logging-interceptor/api/logging-interceptor.api
public fun connectFailed (Lokhttp3/Call;Ljava/net/InetSocketAddress;Ljava/net/Proxy;Lokhttp3/Protocol;Ljava/io/IOException;)V public fun connectStart (Lokhttp3/Call;Ljava/net/InetSocketAddress;Ljava/net/Proxy;)V public fun connectionAcquired (Lokhttp3/Call;Lokhttp3/Connection;)V public fun connectionReleased (Lokhttp3/Call;Lokhttp3/Connection;)V public fun dnsEnd (Lokhttp3/Call;Ljava/lang/String;Ljava/util/List;)V
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Sat Apr 06 09:14:38 GMT 2024 - 4.5K bytes - Viewed (1) -
okhttp/src/main/kotlin/okhttp3/internal/connection/RealRoutePlanner.kt
connectionUser.releaseConnectionNoEvents() } else -> null } } // If the call's connection wasn't released, reuse it. We don't call connectionAcquired() here // because we already acquired it. if (connectionUser.candidateConnection() != null) { check(toClose == null) return ReusePlan(candidate) }
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Sat Apr 20 17:03:43 GMT 2024 - 12K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/CallTest.kt
// The ResponseFailed event is not necessarily fatal! listener.removeUpToEvent(ConnectionAcquired::class.java) listener.removeUpToEvent(ResponseFailed::class.java) listener.removeUpToEvent(ConnectionReleased::class.java) listener.removeUpToEvent(ConnectionAcquired::class.java) listener.removeUpToEvent(ConnectionReleased::class.java) listener.removeUpToEvent(CallEnd::class.java)
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Wed Apr 10 19:46:48 GMT 2024 - 142.5K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/connection/ConnectPlan.kt
if (pooled3 != null) return pooled3.connection connection.withLock { connectionPool.put(connection) user.acquireConnectionNoEvents(connection) } user.connectionAcquired(connection) user.connectionConnectionAcquired(connection) return connection } override fun trackFailure( call: RealCall, e: IOException?, ) { // Do nothing. }
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Sat Apr 20 17:03:43 GMT 2024 - 18.6K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/internal/http2/HttpOverHttp2Test.kt
) val connections: MutableList<RealConnection?> = ArrayList() val localClient = client.newBuilder().eventListener( object : EventListener() { override fun connectionAcquired( call: Call, connection: Connection, ) { connections.add(connection as RealConnection) } }, ).build()
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/api/okhttp.api
public fun connectEnd (Lokhttp3/Connection;Lokhttp3/Route;Lokhttp3/Call;)V public fun connectFailed (Lokhttp3/Route;Lokhttp3/Call;Ljava/io/IOException;)V public fun connectStart (Lokhttp3/Route;Lokhttp3/Call;)V public fun connectionAcquired (Lokhttp3/Connection;Lokhttp3/Call;)V public fun connectionClosed (Lokhttp3/Connection;)V public fun connectionReleased (Lokhttp3/Connection;Lokhttp3/Call;)V public fun noNewExchanges (Lokhttp3/Connection;)V }
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)