Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for JavaNetCookieJar (0.18 sec)

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

    import java.net.URI
    import mockwebserver3.MockResponse
    import mockwebserver3.MockWebServer
    import okhttp3.Cookie.Companion.parse
    import okhttp3.HttpUrl.Companion.toHttpUrl
    import okhttp3.java.net.cookiejar.JavaNetCookieJar
    import org.junit.jupiter.api.BeforeEach
    import org.junit.jupiter.api.Test
    import org.junit.jupiter.api.Timeout
    import org.junit.jupiter.api.extension.RegisterExtension
    
    /** Derived from Android's CookiesTest.  */
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 13K bytes
    - Viewed (0)
  2. okhttp/src/test/java/okhttp3/KotlinSourceModernTest.kt

        var request: Request? = authenticator.authenticate(factory.newRoute(), response)
        request = authenticator.authenticate(null, response)
      }
    
      @Test
      fun javaNetCookieJar() {
        val cookieJar: JavaNetCookieJar = JavaNetCookieJar(newCookieHandler())
        val httpUrl = "".toHttpUrl()
        val loadForRequest: List<Cookie> = cookieJar.loadForRequest(httpUrl)
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Apr 01 14:21:25 UTC 2024
    - 46.5K bytes
    - Viewed (0)
  3. CHANGELOG.md

     *  Fix: Avoid `InetAddress.getCanonicalHostName()` in MockWebServer. This avoids problems if the
        host machine's IP address has additional DNS registrations.
    
     *  New: Create a JPMS-compatible artifact for `JavaNetCookieJar`. Previously, multiple OkHttp
        artifacts defined classes in the `okhttp3` package, but this is forbidden by the Java module
        system. We've fixed this with a new package (`okhttp3.java.net.cookiejar`) and a new artifact,
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Thu Apr 18 01:31:39 UTC 2024
    - 21.4K bytes
    - Viewed (0)
Back to top