API Overview API Index Package Overview Direct link to this page
JDK 1.6
  java.net. CookiePolicy View Source
Author(s)
Edward Wang
Since
1.6
Version
%I%, %E%
Serial
Hierarchy
 CookiePolicy
Subinterfaces
Description
public interface CookiePolicy
  CookiePolicy implementations decide which cookies should be accepted and which should be rejected.
See also:   
Methods
Hide/Show inherited methods
public boolean shouldAccept (URI uri, HttpCookie cookie)
  Will be called to see whether or not this cookie should be accepted.
Fields
Hide/Show inherited fields
publicfinalstatic CookiePolicy ACCEPT_ALL
One pre-defined policy which accepts all cookies.
publicfinalstatic CookiePolicy ACCEPT_NONE
One pre-defined policy which accepts no cookies.
publicfinalstatic CookiePolicy ACCEPT_ORIGINAL_SERVER
One pre-defined policy which only accepts cookies from original server.
Generated By: JavaOnTracks Doclet 0.1.4     ©Thibaut Colar