Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 573 for reconnection (0.05 sec)

  1. okhttp/src/jvmTest/kotlin/okhttp3/internal/connection/ConnectionPoolTest.kt

        pool: ConnectionPool,
        connection: RealConnection,
      ) {
        val client =
          OkHttpClient
            .Builder()
            .connectionPool(pool)
            .build()
        val call = client.newCall(Request(connection.route().address.url)) as RealCall
        call.enterNetworkInterceptorExchange(call.request(), true, factory.newChain(call))
        connection.withLock { call.acquireConnectionNoEvents(connection) }
      }
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Tue Oct 07 21:55:03 UTC 2025
    - 8.2K bytes
    - Viewed (0)
  2. okhttp-testing-support/src/main/kotlin/okhttp3/TestValueFactory.kt

    import okhttp3.internal.concurrent.TaskRunner
    import okhttp3.internal.concurrent.withLock
    import okhttp3.internal.connection.ConnectionListener
    import okhttp3.internal.connection.RealCall
    import okhttp3.internal.connection.RealConnection
    import okhttp3.internal.connection.RealConnectionPool
    import okhttp3.internal.connection.RealRoutePlanner
    import okhttp3.internal.http.RealInterceptorChain
    import okhttp3.internal.http.RecordingProxySelector
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Wed Oct 08 03:50:05 UTC 2025
    - 6.7K bytes
    - Viewed (0)
  3. okhttp-urlconnection/api/okhttp-urlconnection.api

    Jesse Wilson <******@****.***> 1645903053 -0500
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Sat Feb 26 19:17:33 UTC 2022
    - 423 bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb/SmbTreeHandleImplTest.java

            // Validates simple property delegation to the connection
            when(treeConnection.getTreeType()).thenReturn(7);
            when(treeConnection.getConnectedShare()).thenReturn("SHARE");
            assertEquals(7, handle.getTreeType());
            assertEquals("SHARE", handle.getConnectedShare());
            verify(treeConnection).getTreeType();
            verify(treeConnection).getConnectedShare();
        }
    
        @Test
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.4K bytes
    - Viewed (0)
  5. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/RealConnectionPool.kt

            connectionListener.connectionClosed(connection)
          } else if (noNewExchangesEvent) {
            connectionListener.noNewExchanges(connection)
          }
        }
        return null
      }
    
      fun put(connection: RealConnection) {
        connection.assertLockHeld()
    
        connections.add(connection)
    //    connection.queueEvent { connectionListener.connectEnd(connection) }
        scheduleCloser()
      }
    
      /**
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Wed Oct 08 03:50:05 UTC 2025
    - 11.1K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb/SmbFile.java

         * @return active tree handle
         * @throws CIFSException if connection fails
         *
         */
        synchronized SmbTreeHandleImpl ensureTreeConnected() throws CIFSException {
            // Optimization: Check connection validity more efficiently
            if (this.treeHandle != null && this.treeHandle.isConnected()) {
                // Connection is still valid - reuse it
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 103.2K bytes
    - Viewed (0)
  7. compat/maven-model-builder/src/test/java/org/apache/maven/model/interpolation/reflection/ReflectionValueExtractorTest.java

                artifactId = id;
            }
        }
    
        public static class Scm {
            private String connection;
    
            public void setConnection(String connection) {
                this.connection = connection;
            }
    
            public String getConnection() {
                return connection;
            }
        }
    
        public static class ValueHolder {
            private final Object value;
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jan 10 07:09:12 UTC 2025
    - 16.9K bytes
    - Viewed (0)
  8. compat/maven-model-builder/src/main/java/org/apache/maven/model/merge/MavenModelMerger.java

            String src = source.getConnection();
            if (src != null) {
                if (sourceDominant) {
                    target.setConnection(src);
                    target.setLocation("connection", source.getLocation("connection"));
                } else if (target.getConnection() == null) {
                    target.setConnection(extrapolateChildUrl(src, source.isChildScmConnectionInheritAppendPath(), context));
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Feb 25 08:27:34 UTC 2025
    - 21.7K bytes
    - Viewed (0)
  9. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/NativeImageTestsAccessors.kt

    import okhttp3.Response
    import okhttp3.internal.connection.Exchange
    import okhttp3.internal.connection.RealCall
    import okhttp3.internal.connection.RealConnection
    import okio.FileSystem
    import okio.Path
    
    internal fun buildCache(
      file: Path,
      maxSize: Long,
      fileSystem: FileSystem,
    ): Cache = Cache(fileSystem, file, maxSize)
    
    internal var RealConnection.idleAtNsAccessor: Long
      get() = idleAtNs
      set(value) {
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 1.3K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/core/net/URLUtil.java

         * @return A {@link URLConnection} object to the URL.
         */
        public static URLConnection openConnection(final URL url) {
            assertArgumentNotNull("url", url);
    
            try {
                final URLConnection connection = url.openConnection();
                connection.setUseCaches(false);
                return connection;
            } catch (final IOException e) {
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 6.8K bytes
    - Viewed (0)
Back to top