- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 31 for cookieMap (0.26 sec)
-
okhttp-urlconnection/README.md
OkHttp URLConnection ==================== This module integrates OkHttp with `Authenticator` and `CookieHandler` from `java.net`. This module is obsolete; prefer `okhttp-java-net-cookiejar`. ### Download ```kotlin testImplementation("com.squareup.okhttp3:okhttp-urlconnection:4.12.0")
Registered: Sun Jun 16 04:42:17 UTC 2024 - Last Modified: Sun Dec 17 15:34:10 UTC 2023 - 293 bytes - Viewed (0) -
src/net/http/cookiejar/jar.go
// Copyright 2012 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. // Package cookiejar implements an in-memory RFC 6265-compliant http.CookieJar. package cookiejar import ( "cmp" "errors" "fmt" "net" "net/http" "net/http/internal/ascii" "net/url" "slices" "strings" "sync" "time" )
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 15K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/http/HttpHeaders.kt
if (tokenSize == -1L) tokenSize = size return when { tokenSize != 0L -> readUtf8(tokenSize) else -> null } } fun CookieJar.receiveHeaders( url: HttpUrl, headers: Headers, ) { if (this === CookieJar.NO_COOKIES) return val cookies = Cookie.parseAll(url, headers) if (cookies.isEmpty()) return saveFromResponse(url, cookies) } /**
Registered: Sun Jun 16 04:42:17 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 7.2K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/CacheCorruptionTest.kt
import javax.net.ssl.SSLSession import mockwebserver3.MockResponse import mockwebserver3.MockWebServer import okhttp3.Headers.Companion.headersOf import okhttp3.internal.buildCache import okhttp3.java.net.cookiejar.JavaNetCookieJar import okhttp3.okio.LoggingFilesystem import okhttp3.testing.PlatformRule import okio.Path.Companion.toPath import okio.fakefilesystem.FakeFileSystem import org.junit.jupiter.api.AfterEach
Registered: Sun Jun 16 04:42:17 UTC 2024 - Last Modified: Sat Jan 20 10:30:28 UTC 2024 - 6K bytes - Viewed (0) -
okhttp-testing-support/src/main/kotlin/okhttp3/RecordingCookieJar.kt
* limitations under the License. */ package okhttp3 import assertk.assertThat import assertk.assertions.containsExactly import java.util.ArrayDeque import java.util.Deque class RecordingCookieJar : CookieJar { private val requestCookies: Deque<List<Cookie>> = ArrayDeque() private val responseCookies: Deque<List<Cookie>> = ArrayDeque() fun enqueueRequestCookies(vararg cookies: Cookie) {
Registered: Sun Jun 16 04:42:17 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 1.5K bytes - Viewed (0) -
settings.gradle.kts
include(":okhttp") include(":okhttp-bom") include(":okhttp-brotli") include(":okhttp-coroutines") include(":okhttp-dnsoverhttps") include(":okhttp-hpacktests") include(":okhttp-idna-mapping-table") include(":okhttp-java-net-cookiejar") include(":okhttp-logging-interceptor") include(":okhttp-sse") include(":okhttp-testing-support") include(":okhttp-tls") include(":okhttp-urlconnection") include(":samples:compare") include(":samples:crawler")
Registered: Sun Jun 16 04:42:17 UTC 2024 - Last Modified: Sun Apr 14 14:24:05 UTC 2024 - 2.6K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/KotlinDeprecationErrorTest.kt
val eventListenerFactory: EventListener.Factory = client.eventListenerFactory() val proxySelector: ProxySelector = client.proxySelector() val cookieJar: CookieJar = client.cookieJar() val cache: Cache? = client.cache() val socketFactory: SocketFactory = client.socketFactory() val sslSocketFactory: SSLSocketFactory = client.sslSocketFactory()
Registered: Sun Jun 16 04:42:17 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 13.3K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/CookieTest.kt
val cookieA = parseCookie(0, url, stringA!!) for (stringB in cookieStrings) { val cookieB = parseCookie(0, url, stringB!!) if (stringA == stringB) { assertThat(cookieB.hashCode()).isEqualTo(cookieA.hashCode()) assertThat(cookieB).isEqualTo(cookieA) } else { assertThat(cookieB.hashCode()).isNotEqualTo(cookieA.hashCode().toLong())
Registered: Sun Jun 16 04:42:17 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 24.3K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/internal/http2/HttpOverHttp2Test.kt
) { setUp(protocol, mockWebServer) val cookieJar = RecordingCookieJar() val requestCookie = Cookie.Builder() .name("a") .value("b") .domain(server.hostName) .build() cookieJar.enqueueRequestCookies(requestCookie) client = client.newBuilder() .cookieJar(cookieJar) .build() server.enqueue(MockResponse())
Registered: Sun Jun 16 04:42:17 UTC 2024 - Last Modified: Thu Apr 11 22:09:35 UTC 2024 - 75.3K bytes - Viewed (0) -
okhttp/api/okhttp.api
} public abstract interface class okhttp3/CookieJar { public static final field Companion Lokhttp3/CookieJar$Companion; public static final field NO_COOKIES Lokhttp3/CookieJar; public abstract fun loadForRequest (Lokhttp3/HttpUrl;)Ljava/util/List; public abstract fun saveFromResponse (Lokhttp3/HttpUrl;Ljava/util/List;)V } public final class okhttp3/CookieJar$Companion { }
Registered: Sun Jun 16 04:42:17 UTC 2024 - Last Modified: Mon Apr 15 13:41:01 UTC 2024 - 70.2K bytes - Viewed (0)