- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for COOKIE (0.04 sec)
-
okhttp/src/test/java/okhttp3/CallTest.kt
) val cookieManager = CookieManager(null, CookiePolicy.ACCEPT_ORIGINAL_SERVER) val cookie = HttpCookie("c", "cookie") cookie.domain = server.hostName cookie.path = "/" val portList = server.port.toString() cookie.portlist = portList cookieManager.cookieStore.add(server.url("/").toUri(), cookie) client = client.newBuilder() .cookieJar(JavaNetCookieJar(cookieManager))
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Wed Apr 10 19:46:48 UTC 2024 - 142.5K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/CacheTest.kt
server.enqueue( MockResponse.Builder() .addHeader("Set-Cookie: a=FIRST") .addHeader("Last-Modified: " + formatDate(-1, TimeUnit.HOURS)) .addHeader("Cache-Control: max-age=0") .body("A") .build(), ) server.enqueue( MockResponse.Builder() .addHeader("Set-Cookie: a=SECOND") .code(HttpURLConnection.HTTP_NOT_MODIFIED) .build(),
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Wed Apr 10 19:46:48 UTC 2024 - 108.6K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/URLConnectionTest.kt
class DisconnectingCookieJar : CookieJar { override fun saveFromResponse( url: HttpUrl, cookies: List<Cookie>, ) {} override fun loadForRequest(url: HttpUrl): List<Cookie> { callReference.get().cancel() return emptyList() } } client = client.newBuilder()
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Sat Jan 20 10:30:28 UTC 2024 - 131.7K bytes - Viewed (0) -
okhttp-android/src/main/baseline-prof.txt
Lokhttp3/CipherSuite$Companion$ORDER_BY_NAME$1; Lokhttp3/CipherSuite$Companion; Lokhttp3/CipherSuite; Lokhttp3/Connection; Lokhttp3/ConnectionPool; Lokhttp3/ConnectionSpec$Builder; Lokhttp3/ConnectionSpec; Lokhttp3/Cookie; Lokhttp3/CookieJar$Companion$NoCookies; Lokhttp3/CookieJar; Lokhttp3/Dispatcher; Lokhttp3/Dns$Companion$DnsSystem; Lokhttp3/Dns; Lokhttp3/EventListener$Companion$NONE$1; Lokhttp3/EventListener$Factory;
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Mar 21 11:22:00 UTC 2022 - 127.9K bytes - Viewed (0)