No examples for this method. 
     
 
     
      Frequently called with: [Clear]  
     
 
      
    
 
     
     
     -1 
    
 
     
     
   | java.net.CookiePolicy | 
CookiePolicy has three pre-defined policy. They are ACCEPT_ALL, ACCEPT_NONE and ACCEPT_ORIGINAL_SERVER respectively. They are used to decide which cookies should be accepted and which should not be. See RFC 2965 sections 3.3 and 7 for more detail.
| Fields | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
|  | ACCEPT_ALL | A pre-defined policy, accepts all cookies. | |||||||||
|  | ACCEPT_NONE | A pre-defined policy, accepts no cookies at all. | |||||||||
|  | ACCEPT_ORIGINAL_SERVER | A pre-defined policy, only accepts cookies from original server. | |||||||||
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
|  | 
           This method is used to determine whether or not the specified cookie should be accepted.
           | ||||||||||
A pre-defined policy, accepts all cookies.
A pre-defined policy, accepts no cookies at all.
A pre-defined policy, only accepts cookies from original server.
This method is used to determine whether or not the specified cookie should be accepted.
| uri | the URI to used to determine acceptability | 
|---|---|
| cookie | the HttpCookie to be determined |