- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 443 for Connection (0.06 sec)
-
okhttp/src/commonJvmAndroid/kotlin/okhttp3/Connection.kt
*/ interface Connection { /** Returns the route used by this connection. */ fun route(): Route /** * Returns the socket that this connection is using. Returns an * [SSL socket][javax.net.ssl.SSLSocket] if this connection is HTTPS. If this is an HTTP/2 * connection the socket may be shared by multiple concurrent calls. */ fun socket(): Socket
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Fri Dec 27 13:39:56 UTC 2024 - 4.3K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbTransportPoolImpl.java
throw new TransportException("All connection attempts failed"); } /** * Checks if the specified transport is contained in the connection pool * @param trans the transport to check for * @return whether (non-exclusive) connection is in the pool */ public boolean contains(final SmbTransport trans) { cleanup(); return this.connections.contains(trans); }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 33.4K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/PoolConnectionUser.kt
override fun connectionReleased(connection: Connection) { } override fun connectionConnectionAcquired(connection: RealConnection) { } override fun connectionConnectionReleased(connection: RealConnection) { } override fun connectionConnectionClosed(connection: RealConnection) { } override fun noNewExchanges(connection: RealConnection) { }
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 2.6K bytes - Viewed (0) -
src/main/java/jcifs/smb1/http/NtlmHttpURLConnection.java
} /** * Creates a new NTLM HTTP URL connection that wraps an existing HTTP connection. * * @param connection the HTTP connection to wrap for NTLM authentication */ public NtlmHttpURLConnection(final HttpURLConnection connection) { super(connection.getURL()); this.connection = connection; requestProperties = new HashMap(); } @Override
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 22.1K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/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?,
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Thu Jul 31 04:18:40 UTC 2025 - 18.6K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbTransportPoolImplTest.java
// Create an existing connection SmbTransportImpl first = testPool.getSmbTransport(ctx, address, 445, false); // When: Request another connection // Note: Real SmbTransportImpl will report as disconnected without actual socket SmbTransportImpl second = testPool.getSmbTransport(ctx, address, 445, false); // Then: Will create new connection since real transport has no socket
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 19.2K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/RealConnectionPool.kt
} } return null } fun put(connection: RealConnection) { connection.assertLockHeld() connections.add(connection) // connection.queueEvent { connectionListener.connectEnd(connection) } scheduleCloser() } /** * Notify this pool that [connection] has become idle. Returns true if the connection has been * removed from the pool and should be closed.
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Tue Jun 03 17:10:08 UTC 2025 - 16.1K bytes - Viewed (0) -
src/main/java/jcifs/SmbTransportPool.java
* Get transport connection * * @param tc * context to use * @param address the server address * @param port the port number * @param exclusive * whether to acquire an unshared connection * @param forceSigning * whether to enforce SMB signing on this connection * @return a transport connection to the target */
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 7.5K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/RealCall.kt
assertLockNotHeld() val connection = this.connection if (connection != null) { connection.assertLockNotHeld() val toClose: Socket? = connection.withLock { // Sets this.connection to null. releaseConnectionNoEvents() } if (this.connection == null) { toClose?.closeQuietly()
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sat Aug 30 11:30:11 UTC 2025 - 17.8K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/ConnectionCoalescingTest.kt
* - Both request discover no existing connection. They both make a connection. * - The first request "wins the race". * - The second request discovers it "lost the race" and closes the connection it just opened. * - The second request uses the coalesced connection from request1. * - The coalesced connection is violently closed after servicing the first request.
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Thu Jun 19 11:44:16 UTC 2025 - 19.1K bytes - Viewed (0)