Modifier and Type | Method | Description |
---|---|---|
Cookie |
Cookie.Builder.build() |
|
static Cookie |
Cookie.parse(HttpUrl url,
String setCookie) |
Attempt to parse a
Set-Cookie HTTP header value setCookie as a cookie. |
Modifier and Type | Method | Description |
---|---|---|
List<Cookie> |
CookieJar.loadForRequest(HttpUrl url) |
Load cookies from the jar for an HTTP request to
url . |
static List<Cookie> |
Cookie.parseAll(HttpUrl url,
Headers headers) |
Returns all of the cookies from a set of HTTP response headers.
|
Modifier and Type | Method | Description |
---|---|---|
void |
CookieJar.saveFromResponse(HttpUrl url,
List<Cookie> cookies) |
Saves
cookies from an HTTP response to this store according to this jar's policy. |
Copyright © 2020. All rights reserved.