Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 91 - 100 of 231 for intercepted (0.08 seconds)

  1. compat/maven-model-builder/src/main/java/org/apache/maven/model/interpolation/ProblemDetectingValueSource.java

    import org.apache.maven.model.building.ModelProblemCollector;
    import org.apache.maven.model.building.ModelProblemCollectorRequest;
    import org.codehaus.plexus.interpolation.ValueSource;
    
    /**
     * Wraps another value source and intercepts interpolated expressions, checking for problems.
     *
     * @deprecated use {@code org.apache.maven.api.services.ModelBuilder} instead
     */
    @Deprecated(since = "4.0.0")
    class ProblemDetectingValueSource implements ValueSource {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Jul 23 17:27:08 GMT 2025
    - 2.7K bytes
    - Click Count (0)
  2. android/guava-tests/test/com/google/common/util/concurrent/InterruptionUtil.java

            () -> {
              interruptingTask.stopInterrupting();
              interruptingThread.interrupt();
              joinUninterruptibly(interruptingThread, 2500, MILLISECONDS);
              Thread.interrupted();
              if (interruptingThread.isAlive()) {
                // This will be hidden by test-output redirection:
                logger.severe("InterruptenatorTask did not exit; future tests may be affected");
                /*
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 17 15:38:30 GMT 2026
    - 3.4K bytes
    - Click Count (0)
  3. guava-tests/test/com/google/common/util/concurrent/TestPlatform.java

          throw new AssertionError(e);
        }
      }
    
      static void verifyThreadWasNotInterrupted() {
        assertFalse(Thread.currentThread().isInterrupted());
      }
    
      static void clearInterrupt() {
        Thread.interrupted();
      }
    
      /**
       * Retrieves the result of a {@code Future} known to be done but uses the {@code get(long,
       * TimeUnit)} overload in order to test that method.
       */
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 2.7K bytes
    - Click Count (0)
  4. docs/changelogs/changelog_2x.md

     *  Fix: Don't log gzipped data in the logging interceptor.
     *  Fix: Don't resolve DNS addresses when connecting through a SOCKS proxy.
     *  Fix: Drop the synthetic `OkHttp-Selected-Protocol` response header.
     *  Fix: Support 204 and 205 'No Content' replies in the logging interceptor.
     *  New: Add `Call.isExecuted()`.
    
    
    ## Version 2.6.0
    
    _2015-11-22_
    
     *  **New Logging Interceptor.** The `logging-interceptor` subproject offers
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Sun Feb 06 02:19:09 GMT 2022
    - 26.6K bytes
    - Click Count (0)
  5. okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/HttpOverHttp2Test.kt

        server.enqueue(MockResponse(body = "DEF"))
        val client2 =
          client
            .newBuilder()
            .addNetworkInterceptor(
              object : Interceptor {
                var executedCall = false
    
                override fun intercept(chain: Interceptor.Chain): Response {
                  if (!executedCall) {
                    // At this point, we have a healthy HTTP/2 connection. This call will trigger the
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Jan 27 09:00:39 GMT 2026
    - 67.5K bytes
    - Click Count (0)
  6. 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() {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 2.8K bytes
    - Click Count (0)
  7. build-tools-internal/src/integTest/java/org/elasticsearch/gradle/internal/test/TestClasspathUtils.java

                        .name("org.elasticsearch.jdk.JdkJarHellCheck")
                    .defineMethod("main",   void.class, Visibility.PUBLIC, Ownership.STATIC)
                    .withParameters(String[].class)
                    .intercept(mainImplementation)
                    .make();
            try {
                dynamicType.toJar(targetFile(projectRoot));
            } catch (IOException e) {
                e.printStackTrace();
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Mon Jun 07 15:14:44 GMT 2021
    - 2.9K bytes
    - Click Count (0)
  8. src/test/java/jcifs/smb1/smb1/SmbTreeTest.java

            // Mock transport.connect() to throw RuntimeException wrapping InterruptedException
            doThrow(new RuntimeException(new InterruptedException("Interrupted"))).when(transport).connect();
    
            // Should throw exception due to interrupted wait
            assertThrows(RuntimeException.class, () -> tree.treeConnect(null, null));
        }
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 10.2K bytes
    - Click Count (0)
  9. .github/workflows/issue-manager.yml

                  "waiting": {
                    "delay": 2628000,
                    "message": "As this PR has been waiting for the original user for a while but seems to be inactive, it's now going to be closed. But if there's anyone interested, feel free to create a new PR.",
                    "reminder": {
                        "before": "P3D",
                        "message": "Heads-up: this will be closed in 3 days unless there's new activity."
                    }
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sun Jan 11 22:22:58 GMT 2026
    - 1.8K bytes
    - Click Count (0)
  10. 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(
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 12 17:47:10 GMT 2026
    - 16.5K bytes
    - Click Count (0)
Back to Top