Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for newClientBuilder (0.18 sec)

  1. okhttp/src/test/java/okhttp3/CallTest.kt

      private var listener = RecordingEventListener()
      private val handshakeCertificates = platform.localhostHandshakeCertificates()
      private var client =
        clientTestRule.newClientBuilder()
          .eventListenerFactory(clientTestRule.wrap(listener))
          .build()
      private val callback = RecordingCallback()
      private val cache =
        Cache(
          fileSystem = LoggingFilesystem(fileSystem),
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Wed Apr 10 19:46:48 UTC 2024
    - 142.5K bytes
    - Viewed (0)
  2. okhttp/src/test/java/okhttp3/CacheTest.kt

        platform.assumeNotOpenJSSE()
        server.protocolNegotiationEnabled = false
        fileSystem.emulateUnix()
        cache = Cache(fileSystem, "/cache/".toPath(), Long.MAX_VALUE)
        client =
          clientTestRule.newClientBuilder()
            .cache(cache)
            .cookieJar(JavaNetCookieJar(cookieManager))
            .build()
      }
    
      @AfterEach
      fun tearDown() {
        ResponseCache.setDefault(null)
        cache.delete()
      }
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Wed Apr 10 19:46:48 UTC 2024
    - 108.6K bytes
    - Viewed (0)
Back to top