mirror of
https://github.com/square/okhttp.git
synced 2025-08-06 01:35:50 +03:00
Put JavaNetCookieJar into the public API (#8337)
This commit is contained in:
@@ -23,7 +23,6 @@ import java.net.HttpCookie
|
||||
import java.util.Collections
|
||||
import okhttp3.Cookie
|
||||
import okhttp3.CookieJar
|
||||
import okhttp3.ExperimentalOkHttpApi
|
||||
import okhttp3.HttpUrl
|
||||
import okhttp3.internal.cookieToString
|
||||
import okhttp3.internal.delimiterOffset
|
||||
@@ -32,7 +31,6 @@ import okhttp3.internal.platform.Platform.Companion.WARN
|
||||
import okhttp3.internal.trimSubstring
|
||||
|
||||
/** A cookie jar that delegates to a [java.net.CookieHandler]. */
|
||||
@ExperimentalOkHttpApi
|
||||
class JavaNetCookieJar(private val cookieHandler: CookieHandler) : CookieJar {
|
||||
override fun saveFromResponse(
|
||||
url: HttpUrl,
|
||||
|
Reference in New Issue
Block a user