Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 3 of 3 for Interceptors (0.06 seconds)

  1. src/test/java/org/codelibs/fess/mylasta/creator/PagerCreatorTest.java

            @Override
            public String getValidatorPackageName() {
                return "validator";
            }
    
            @Override
            public String getInterceptorPackageName() {
                return "interceptor";
            }
    
            @Override
            public String getHelperPackageName() {
                return "helper";
            }
    
            @Override
            public String getRepositoryPackageName() {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 13.7K bytes
    - Click Count (0)
  2. okhttp/src/jvmTest/kotlin/okhttp3/CallTest.kt

        // Capture the protocol as it is observed by the interceptor.
        val protocolRef = AtomicReference<Protocol?>()
        val interceptor =
          Interceptor { chain: Interceptor.Chain ->
            protocolRef.set(chain.connection()!!.protocol())
            chain.proceed(chain.request())
          }
        client =
          client
            .newBuilder()
            .addNetworkInterceptor(interceptor)
            .build()
    
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Sun Mar 15 09:02:18 GMT 2026
    - 146.5K bytes
    - Click Count (0)
  3. okhttp/src/jvmTest/kotlin/okhttp3/CacheTest.kt

        // Seed the cache.
        val url = server.url("/")
        assertThat(get(url).body.string()).isEqualTo("A")
    
        // Confirm the interceptor isn't exercised.
        client =
          client
            .newBuilder()
            .addNetworkInterceptor(Interceptor { chain: Interceptor.Chain? -> throw AssertionError() })
            .build()
        assertThat(get(url).body.string()).isEqualTo("A")
      }
    
      @Test
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Fri Mar 20 09:13:37 GMT 2026
    - 121K bytes
    - Click Count (0)
Back to Top