Package org.eclipse.jetty.util
Class HttpCookieStore
- java.lang.Object
-
- org.eclipse.jetty.util.HttpCookieStore
-
- All Implemented Interfaces:
java.net.CookieStore
public class HttpCookieStore extends java.lang.Object implements java.net.CookieStore
Implementation ofCookieStore
that delegates to an instance created byCookieManager
viaCookieManager.getCookieStore()
.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
HttpCookieStore.Empty
-
Constructor Summary
Constructors Constructor Description HttpCookieStore()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
add(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()
static java.util.List<java.net.HttpCookie>
matchPath(java.net.URI uri, java.util.List<java.net.HttpCookie> cookies)
boolean
remove(java.net.URI uri, java.net.HttpCookie cookie)
boolean
removeAll()
-
-
-
Method Detail
-
add
public void add(java.net.URI uri, java.net.HttpCookie cookie)
- Specified by:
add
in interfacejava.net.CookieStore
-
get
public java.util.List<java.net.HttpCookie> get(java.net.URI uri)
- Specified by:
get
in interfacejava.net.CookieStore
-
getCookies
public java.util.List<java.net.HttpCookie> getCookies()
- Specified by:
getCookies
in interfacejava.net.CookieStore
-
getURIs
public java.util.List<java.net.URI> getURIs()
- Specified by:
getURIs
in interfacejava.net.CookieStore
-
remove
public boolean remove(java.net.URI uri, java.net.HttpCookie cookie)
- Specified by:
remove
in interfacejava.net.CookieStore
-
removeAll
public boolean removeAll()
- Specified by:
removeAll
in interfacejava.net.CookieStore
-
matchPath
public static java.util.List<java.net.HttpCookie> matchPath(java.net.URI uri, java.util.List<java.net.HttpCookie> cookies)
-
-