- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 10 for cookiejar (0.33 sec)
-
okhttp-java-net-cookiejar/src/main/kotlin/okhttp3/java/net/cookiejar/JavaNetCookieJar.kt
* limitations under the License. */ @file:Suppress("INVISIBLE_MEMBER", "INVISIBLE_REFERENCE") package okhttp3.java.net.cookiejar import java.io.IOException import java.net.CookieHandler import java.net.HttpCookie import java.util.Collections import okhttp3.Cookie import okhttp3.CookieJar import okhttp3.HttpUrl import okhttp3.internal.cookieToString import okhttp3.internal.delimiterOffset
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Sat Apr 06 04:10:43 GMT 2024 - 3.8K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/OkHttpClient.kt
* outgoing HTTP requests. * * If unset, [no cookies][CookieJar.NO_COOKIES] will be accepted nor provided. */ fun cookieJar(cookieJar: CookieJar) = apply { this.cookieJar = cookieJar } /** Sets the response cache to be used to read and write cached responses. */ fun cache(cache: Cache?) = apply {
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Sat Apr 06 04:21:33 GMT 2024 - 52K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/KotlinSourceModernTest.kt
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Apr 01 14:21:25 GMT 2024 - 46.5K bytes - Viewed (4) -
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")
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Sun Apr 14 14:24:05 GMT 2024 - 2.6K 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 { }
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Apr 15 13:41:01 GMT 2024 - 70.2K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/CallTest.kt
), ), ) val cookieJar = RecordingCookieJar() client = client.newBuilder() .cookieJar(cookieJar) .build() executeSynchronously("/").assertCode(200) val responseCookies = cookieJar.takeResponseCookies() assertThat(responseCookies.size).isEqualTo(2) assertThat(responseCookies[0].toString())
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Wed Apr 10 19:46:48 GMT 2024 - 142.5K 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())
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Thu Apr 11 22:09:35 GMT 2024 - 75.3K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/CacheTest.kt
assertThat(response2.body.string()).isEqualTo("A") } @Test fun cachePlusCookies() { val cookieJar = RecordingCookieJar() client = client.newBuilder() .cookieJar(cookieJar) .build() server.enqueue( MockResponse.Builder() .addHeader("Set-Cookie: a=FIRST")
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Wed Apr 10 19:46:48 GMT 2024 - 108.6K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/connection/RealCall.kt
val interceptors = mutableListOf<Interceptor>() interceptors += client.interceptors interceptors += RetryAndFollowUpInterceptor(client) interceptors += BridgeInterceptor(client.cookieJar) interceptors += CacheInterceptor(client.cache) interceptors += ConnectInterceptor if (!forWebSocket) { interceptors += client.networkInterceptors }
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Sat Apr 20 17:03:43 GMT 2024 - 17.9K bytes - Viewed (2) -
CHANGELOG.md
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, `com.squareup.okhttp3:okhttp-java-net-cookiehandler`. (The original artifact now delegates to this new one.) ```kotlin
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Thu Apr 18 01:31:39 GMT 2024 - 21.4K bytes - Viewed (0)