Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 71 - 80 of 102 for interceptor (0.07 seconds)

  1. okhttp-testing-support/src/main/kotlin/okhttp3/TestValueFactory.kt

          address = address,
          proxy = proxy,
          socketAddress = socketAddress,
        )
    
      fun newChain(call: RealCall): RealInterceptorChain =
        RealInterceptorChain(
          call = call,
          interceptors = listOf(),
          index = 0,
          exchange = null,
          request = call.request(),
        )
    
      fun newRoutePlanner(
        client: OkHttpClient,
        address: Address = newAddress(),
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Sun Jan 11 12:06:21 GMT 2026
    - 6.6K bytes
    - Click Count (0)
  2. okhttp-testing-support/src/main/kotlin/okhttp3/EventRecorder.kt

    import okhttp3.CallEvent.Canceled
    import org.junit.jupiter.api.Assertions.fail
    
    open class EventRecorder(
      /**
       * An override to ignore the normal order that is enforced.
       * EventListeners added by Interceptors will not see all events.
       */
      private val enforceOrder: Boolean = true,
    ) {
      private val eventListenerAdapter =
        EventListenerAdapter()
          .apply {
            listeners += ::logEvent
          }
    
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Jan 27 09:00:39 GMT 2026
    - 4.5K bytes
    - Click Count (0)
  3. 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)
  4. android/guava-testlib/src/com/google/common/testing/TestLogHandler.java

    import java.util.List;
    import java.util.logging.Handler;
    import java.util.logging.LogRecord;
    import org.jspecify.annotations.NullMarked;
    import org.jspecify.annotations.Nullable;
    
    /**
     * Tests may use this to intercept messages that are logged by the code under test. Example:
     *
     * <pre>
     *   TestLogHandler handler;
     *
     *   protected void setUp() throws Exception {
     *     super.setUp();
     *     handler = new TestLogHandler();
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 2.8K bytes
    - Click Count (0)
  5. guava-testlib/src/com/google/common/testing/TestLogHandler.java

    import java.util.List;
    import java.util.logging.Handler;
    import java.util.logging.LogRecord;
    import org.jspecify.annotations.NullMarked;
    import org.jspecify.annotations.Nullable;
    
    /**
     * Tests may use this to intercept messages that are logged by the code under test. Example:
     *
     * <pre>
     *   TestLogHandler handler;
     *
     *   protected void setUp() throws Exception {
     *     super.setUp();
     *     handler = new TestLogHandler();
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 2.8K bytes
    - Click Count (0)
  6. docs/tr/llm-prompt.md

    - Suffixes also changes based on what word comes next in Turkish too, here is an example:
    
    "Server'a gelen request'leri intercept... " or this could have been "request'e", "request'i" etc.
    
    - Some words are tricky like "path'e" can't be used like "path'a" but it could have been "path'i" "path'leri" etc.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Tue Jan 20 20:34:03 GMT 2026
    - 2.7K bytes
    - Click Count (0)
  7. 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)
  8. 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)
  9. docs/fr/docs/tutorial/middleware.md

    Un « middleware » est une fonction qui agit sur chaque **requête** avant qu’elle ne soit traitée par un *chemin d'accès* spécifique. Et aussi sur chaque **réponse** avant son renvoi.
    
    * Il intercepte chaque **requête** qui parvient à votre application.
    * Il peut alors faire quelque chose avec cette **requête** ou exécuter tout code nécessaire.
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:37:13 GMT 2026
    - 4.4K bytes
    - Click Count (0)
  10. src/test/java/jcifs/smb1/smb1/SmbSessionTest.java

        @Mock
        SmbTransport transport;
    
        // static helper that returns the mocked transport. The real class
        // performs several other operations, but for the purpose of the test
        // we intercept the factory call.
        private MockedStatic<SmbTransport> smbtStatic;
    
        @BeforeEach
        void setUp() throws Exception {
            // Create a real NtlmPasswordAuthentication instance
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 5.6K bytes
    - Click Count (0)
Back to Top