- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 255 for Connection (0.04 sec)
-
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) -
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) -
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) -
src/test/java/jcifs/http/HandlerTest.java
URLConnection connection1 = handler.openConnection(url1); URLConnection connection2 = handler.openConnection(url2); assertNotNull(connection1, "First connection should not be null."); assertNotNull(connection2, "Second connection should not be null."); assertTrue(connection1 instanceof NtlmHttpURLConnection, "First connection should be wrapped.");
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.1K bytes - Viewed (0) -
src/main/java/jcifs/http/NtlmHttpURLConnection.java
/** * Creates a new NTLM HTTP URL connection that wraps an existing HTTP connection. * * @param connection * connection to wrap * @param tc * context to use */ public NtlmHttpURLConnection(final HttpURLConnection connection, final CIFSContext tc) { super(connection.getURL()); this.connection = connection; this.transportContext = tc;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 25.6K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/client/http/HcConnectionMonitorTarget.java
/** * HcConnectionMonitorTarget is responsible for monitoring and managing HTTP client connections. * It implements the TimeoutTarget interface to handle connection expiration events. * * <p>This class uses an instance of HttpClientConnectionManager to manage the connections. * It closes expired connections and idle connections that have exceeded a specified timeout. * </p> *
Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Sun Jul 06 02:13:03 UTC 2025 - 3.3K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbTreeConnection.java
} } /** * Use a exclusive connection for this tree * * If an exclusive connection is used the caller must make sure that the tree handle is kept alive, * otherwise the connection will be disconnected once the usage drops to zero. * * @param np * whether to use an exclusive connection */ void setNonPooled(final boolean np) {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 30.4K bytes - Viewed (0)