API Overview API Index Package Overview Direct link to this page
JDK 1.6
  java.net. CookieStore View Source
Author(s)
Edward Wang
Since
1.6
Version
1.3, 05/11/17
Serial
Hierarchy
 CookieStore
Subinterfaces
Description
public interface CookieStore
  A CookieStore object represents a storage for cookie.
See also:   
Methods
Hide/Show inherited methods
public void add (URI uri, HttpCookie cookie)
  Adds one HTTP cookie to the store.
public List<HttpCookie> get (URI uri)
  Retrieve cookies associated with given URI, or whose domain matches the given URI.
public List<HttpCookie> getCookies ()
  Get all not-expired cookies in cookie store.
public List<URI> getURIs ()
  Get all URIs which identify the cookies in this cookie store.
public boolean remove (URI uri, HttpCookie cookie)
  Remove a cookie from store.
public boolean removeAll ()
  Remove all cookies in this cookie store.
Fields
Hide/Show inherited fields
Generated By: JavaOnTracks Doclet 0.1.4     ©Thibaut Colar