Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for routes (0.03 sec)

  1. docs/recipes.md

        ```kotlin
          private val client = OkHttpClient.Builder()
              .authenticator(object : Authenticator {
                @Throws(IOException::class)
                override fun authenticate(route: Route?, response: Response): Request? {
                  if (response.request.header("Authorization") != null) {
                    return null // Give up, we've already attempted to authenticate.
                  }
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 30 17:01:12 UTC 2025
    - 47.8K bytes
    - Viewed (0)
  2. okhttp-sse/src/test/java/okhttp3/sse/internal/EventSourceHttpTest.kt

          "ResponseBodyEnd",
          "ConnectionReleased",
          "CallEnd",
        )
      }
    
      @Test
      fun sseReauths() {
        client =
          client
            .newBuilder()
            .authenticator { route, response ->
              response.request
                .newBuilder()
                .header("Authorization", "XYZ")
                .build()
            }.build()
        server.enqueue(
          MockResponse(
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 30 11:47:47 UTC 2025
    - 8.1K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/thumbnail/impl/CommandGeneratorTest.java

        public void test_command_string_edge_cases() throws Exception {
            // Test with commands containing special characters
            final List<String> specialCommands = Arrays.asList("echo \"test with quotes\"", "echo 'test with single quotes'",
                    "echo test with spaces", "echo test&with&ampersand", "echo test|with|pipe");
    
            generator.setCommandList(specialCommands);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sun Aug 31 08:19:00 UTC 2025
    - 16.4K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/reflect/TypeTokenTest.java

        class BaseWithTypeVar<T> {}
        class Outer<O> {
          class Sub<X> extends BaseWithTypeVar<List<X>> {}
    
          class Sub2<Y extends Sub2<Y>> extends BaseWithTypeVar<List<Y>> {}
        }
        ParameterizedType subtype =
            (ParameterizedType)
                new TypeToken<BaseWithTypeVar<List<?>>>() {}.getSubtype(Outer.Sub.class).getType();
        assertEquals(Outer.Sub.class, subtype.getRawType());
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Sep 02 17:23:59 UTC 2025
    - 89K bytes
    - Viewed (0)
Back to top