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() |
getRaw
public 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.CookieStore
public List<org.apache.hc.client5.http.cookie.Cookie> getCookies()
getCookies
in interface org.apache.hc.client5.http.cookie.CookieStore
public boolean clearExpired(Date date)
clearExpired
in interface org.apache.hc.client5.http.cookie.CookieStore
public void clear()
clear
in interface org.apache.hc.client5.http.cookie.CookieStore
Copyright © 2025. All rights reserved.