Package org.htmlunit.websocket
Class WebSocketCookieStore
- java.lang.Object
-
- org.htmlunit.websocket.WebSocketCookieStore
-
- All Implemented Interfaces:
java.net.CookieStore
class WebSocketCookieStore extends java.lang.Object implements java.net.CookieStoreA helper class forWebSocket.
-
-
Field Summary
Fields Modifier and Type Field Description private WebClientwebClient_
-
Constructor Summary
Constructors Constructor Description WebSocketCookieStore(WebClient webClient)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidadd(java.net.URI uri, java.net.HttpCookie cookie)java.util.List<java.net.HttpCookie>get(java.net.URI uri)java.util.List<java.net.HttpCookie>getCookies()java.util.List<java.net.URI>getURIs()booleanremove(java.net.URI uri, java.net.HttpCookie cookie)booleanremoveAll()
-
-
-
Field Detail
-
webClient_
private final WebClient webClient_
-
-
Constructor Detail
-
WebSocketCookieStore
WebSocketCookieStore(WebClient webClient)
-
-
Method Detail
-
add
public void add(java.net.URI uri, java.net.HttpCookie cookie)- Specified by:
addin interfacejava.net.CookieStore
-
get
public java.util.List<java.net.HttpCookie> get(java.net.URI uri)
- Specified by:
getin interfacejava.net.CookieStore
-
getCookies
public java.util.List<java.net.HttpCookie> getCookies()
- Specified by:
getCookiesin interfacejava.net.CookieStore
-
getURIs
public java.util.List<java.net.URI> getURIs()
- Specified by:
getURIsin interfacejava.net.CookieStore
-
remove
public boolean remove(java.net.URI uri, java.net.HttpCookie cookie)- Specified by:
removein interfacejava.net.CookieStore
-
removeAll
public boolean removeAll()
- Specified by:
removeAllin interfacejava.net.CookieStore
-
-