JavaNetCookieJar

A cookie jar that delegates to a java.net.CookieHandler.

This implementation delegates everything to okhttp3.java.net.cookiejar.JavaNetCookieJar, which conforms to the package-naming limitations of JPMS.

Callers should prefer to use okhttp3.java.net.cookiejar.JavaNetCookieJar directly.

Constructors

Link copied to clipboard
constructor(cookieHandler: CookieHandler)

Functions

Link copied to clipboard
open override fun loadForRequest(url: HttpUrl): List<Cookie>
Link copied to clipboard
open override fun saveFromResponse(url: HttpUrl, cookies: List<Cookie>)