Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 156 for intercepted (0.05 sec)

  1. okhttp/src/jvmTest/kotlin/okhttp3/ConnectionReuseTest.kt

            // pool, which should remain clean for subsequent tests.
            .connectionPool(ConnectionPool())
            .addNetworkInterceptor(
              Interceptor { chain: Interceptor.Chain? ->
                val response =
                  chain!!.proceed(
                    chain.request(),
                  )
                responsesNotClosed.add(response)
                response
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Jun 20 11:46:46 UTC 2025
    - 12.2K bytes
    - Viewed (0)
  2. android-test/build.gradle.kts

        )
      }
    
      if (androidBuild) {
        sourceSets["androidTest"].java.srcDirs(
          "../okhttp-brotli/src/test/java",
          "../okhttp-dnsoverhttps/src/test/java",
          "../okhttp-logging-interceptor/src/test/java",
          "../okhttp-sse/src/test/java"
        )
      }
    
      compileOptions {
        targetCompatibility(JavaVersion.VERSION_11)
        sourceCompatibility(JavaVersion.VERSION_11)
      }
    
      testOptions {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Tue Jul 29 20:01:04 UTC 2025
    - 3.8K bytes
    - Viewed (2)
  3. docs/changelogs/changelog_4x.md

    dependencies {
      implementation "org.bouncycastle:bcprov-jdk15on:1.65"
    }
    ```
    
     *  Upgrade: [Kotlin 1.4.10][kotlin_1_4_10]. We now use Kotlin 1.4.x [functional
        interfaces][fun_interface] for `Authenticator`, `Interceptor`, and others.
     *  Upgrade: Build with Conscrypt 2.5.1.
    
    
    ## Version 4.8.1
    
    _2020-08-06_
    
     *  Fix: Don't crash in `HeldCertificate.Builder` when creating certificates on older versions of
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Apr 17 13:25:31 UTC 2024
    - 25.2K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/filter/WebApiFilter.java

    import jakarta.servlet.ServletResponse;
    import jakarta.servlet.http.HttpServletRequest;
    import jakarta.servlet.http.HttpServletResponse;
    
    /**
     * Servlet filter for processing web API requests.
     * This filter intercepts HTTP requests and delegates processing to appropriate web API managers.
     */
    public class WebApiFilter implements Filter {
    
        /**
         * Default constructor.
         */
        public WebApiFilter() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 2.8K bytes
    - Viewed (0)
  5. README.md

           // define any required OkHttp artifacts without version
           implementation("com.squareup.okhttp3:okhttp")
           implementation("com.squareup.okhttp3:logging-interceptor")
        }
    ```
    
    Maven and JVM Projects
    ----------------------
    
    OkHttp is published as a Kotlin Multiplatform project. While Gradle handles this automatically,
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon Jul 28 07:33:49 UTC 2025
    - 8.8K bytes
    - Viewed (0)
  6. src/main/java/jcifs/netbios/NameServiceClientImpl.java

        }
    
        private static void joinThread(final Thread thread) {
            try {
                thread.join();
            } catch (final InterruptedException e) {
                log.warn("Thread join interrupted", e);
                // Restore interrupted status
                Thread.currentThread().interrupt();
            }
        }
    
        private static boolean isAllDigits(final String hostname) {
            for (int i = 0; i < hostname.length(); i++) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 38.5K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/util/concurrent/FuturesGetUncheckedTest.java

        Thread.currentThread().interrupt();
        try {
          assertEquals("foo", getUnchecked(immediateFuture("foo")));
          assertTrue(Thread.currentThread().isInterrupted());
        } finally {
          Thread.interrupted();
        }
      }
    
      public void testGetUnchecked_cancelled() {
        SettableFuture<String> future = SettableFuture.create();
        future.cancel(true);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 4.6K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/util/concurrent/FuturesGetUncheckedTest.java

        Thread.currentThread().interrupt();
        try {
          assertEquals("foo", getUnchecked(immediateFuture("foo")));
          assertTrue(Thread.currentThread().isInterrupted());
        } finally {
          Thread.interrupted();
        }
      }
    
      public void testGetUnchecked_cancelled() {
        SettableFuture<String> future = SettableFuture.create();
        future.cancel(true);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 4.6K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/util/concurrent/FuturesGetCheckedTest.java

        } catch (TwoArgConstructorException expected) {
          assertThat(expected).hasCauseThat().isInstanceOf(InterruptedException.class);
          assertTrue(Thread.currentThread().isInterrupted());
        } finally {
          Thread.interrupted();
        }
      }
    
      public void testGetCheckedUntimed_cancelled() throws TwoArgConstructorException {
        SettableFuture<String> future = SettableFuture.create();
        future.cancel(true);
        assertThrows(
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 16.4K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/exception/UserRoleLoginExceptionTest.java

            thread1.start();
            thread2.start();
    
            try {
                thread1.join();
                thread2.join();
            } catch (InterruptedException e) {
                fail("Thread interrupted");
            }
        }
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 4.8K bytes
    - Viewed (0)
Back to top