Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 2 of 2 for NewRoute (0.07 seconds)

  1. okhttp/src/jvmTest/kotlin/okhttp3/KotlinSourceModernTest.kt

      }
    
      @Test
      fun javaNetAuthenticator() {
        val authenticator = JavaNetAuthenticator()
        val response = Response.Builder().build()
        var request: Request? = authenticator.authenticate(factory.newRoute(), response)
        request = authenticator.authenticate(null, response)
      }
    
      @Test
      fun javaNetCookieJar() {
        val cookieJar: JavaNetCookieJar = JavaNetCookieJar(newCookieHandler())
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Mar 10 21:47:20 GMT 2026
    - 49.7K bytes
    - Click Count (0)
  2. okhttp/src/jvmTest/kotlin/okhttp3/EventListenerTest.kt

       * parameter.
       */
      private fun sampleValuesMap(): Map<Class<*>, Any> {
        TestValueFactory().use { factory ->
          val address = factory.newAddress("a")
          val route = factory.newRoute(address)
          val pool = factory.newConnectionPool()
          val url = "https://example.com/".toHttpUrl()
          val request = Request(url = url)
          val response =
            Response
              .Builder()
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Feb 03 22:17:59 GMT 2026
    - 70.7K bytes
    - Click Count (0)
Back to Top