Link

toolkit / com.sas.android.visualanalytics.sdk / OkHttpHandler / WebViewCookieHandler

WebViewCookieHandler

class WebViewCookieHandler : CookieJar

Provides a synchronization point between the WebView cookie store and okhttp3.OkHttpClient cookie store.

Since 8.30

Constructors

<init> WebViewCookieHandler()
Provides a synchronization point between the WebView cookie store and okhttp3.OkHttpClient cookie store.

Functions

loadForRequest fun loadForRequest(url: HttpUrl): List<Cookie>
Load cookies from the jar for an HTTP request to url.
saveFromResponse fun saveFromResponse(url: HttpUrl, cookies: List<Cookie>): Unit
Saves cookies from an HTTP response to this store according to this jar’s policy.