- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for CookieManager (0.07 sec)
-
okhttp/src/test/java/okhttp3/CacheTest.kt
private val handshakeCertificates = platform.localhostHandshakeCertificates() private lateinit var client: OkHttpClient private lateinit var cache: Cache private val cookieManager = CookieManager() @BeforeEach fun setUp( @MockWebServerInstance(name = "1") server: MockWebServer, @MockWebServerInstance(name = "2") server2: MockWebServer, ) { this.server = server
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/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 =
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/URLConnectionTest.kt
import assertk.assertions.isNull import assertk.assertions.isTrue import assertk.fail import java.io.File import java.io.IOException import java.io.InputStream import java.net.ConnectException import java.net.CookieManager import java.net.HttpURLConnection import java.net.InetAddress import java.net.PasswordAuthentication import java.net.ProtocolException import java.net.Proxy import java.net.ProxySelector
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Sat Jan 20 10:30:28 UTC 2024 - 131.7K bytes - Viewed (0)