public class HttpClient5CookieStore extends SimpleWrapper<CookieStoreSpi> implements org.apache.hc.client5.http.cookie.CookieStore
raw| Constructor and Description |
|---|
HttpClient5CookieStore(CookieStoreSpi cookieStore)
构造
|
| Modifier and Type | Method and Description |
|---|---|
void |
addCookie(org.apache.hc.client5.http.cookie.Cookie cookie) |
void |
clear() |
boolean |
clearExpired(Date date) |
List<org.apache.hc.client5.http.cookie.Cookie> |
getCookies() |
getRawpublic HttpClient5CookieStore(CookieStoreSpi cookieStore)
cookieStore - Cookie存储器public void addCookie(org.apache.hc.client5.http.cookie.Cookie cookie)
addCookie in interface org.apache.hc.client5.http.cookie.CookieStorepublic List<org.apache.hc.client5.http.cookie.Cookie> getCookies()
getCookies in interface org.apache.hc.client5.http.cookie.CookieStorepublic boolean clearExpired(Date date)
clearExpired in interface org.apache.hc.client5.http.cookie.CookieStorepublic void clear()
clear in interface org.apache.hc.client5.http.cookie.CookieStoreCopyright © 2025. All rights reserved.