Please note that the contents of this offline web site may be out of date. To access the most recent documentation visit the online version .
Note that links that point to online resources are green in color and will open in a new window.
We would love it if you could give us feedback about this material by filling this form (You have to be online to fill it)
Android APIs
Added in API level 1
package

org.apache.http.impl.cookie

Classes

AbstractCookieAttributeHandler  
AbstractCookieSpec Abstract cookie specification which can delegate the job of parsing, validation or matching cookie attributes to a number of arbitrary CookieAttributeHandler s. 
BasicClientCookie HTTP "magic-cookie" represents a piece of state information that the HTTP agent and the target server can exchange to maintain a session. 
BasicClientCookie2 HTTP "magic-cookie" represents a piece of state information that the HTTP agent and the target server can exchange to maintain a session as specified by RFC2965. 
BasicCommentHandler  
BasicDomainHandler  
BasicExpiresHandler  
BasicMaxAgeHandler  
BasicPathHandler  
BasicSecureHandler  
BestMatchSpec 'Meta' cookie specification that selects a cookie policy depending on the format of the cookie(s) 
BestMatchSpecFactory  
BrowserCompatSpec Cookie specification that strives to closely mimic (mis)behavior of common web browser applications such as Microsoft Internet Explorer and Mozilla FireFox. 
BrowserCompatSpecFactory  
CookieSpecBase Cookie management functions shared by all specification. 
DateUtils A utility class for parsing and formatting HTTP dates as used in cookies and other headers. 
NetscapeDomainHandler  
NetscapeDraftHeaderParser  
NetscapeDraftSpec Netscape cookie draft compliant cookie policy 
NetscapeDraftSpecFactory  
RFC2109DomainHandler  
RFC2109Spec RFC 2109 compliant cookie policy 
RFC2109SpecFactory  
RFC2109VersionHandler  
RFC2965CommentUrlAttributeHandler "CommantURL" cookie attribute handler for RFC 2965 cookie spec. 
RFC2965DiscardAttributeHandler "Discard" cookie attribute handler for RFC 2965 cookie spec. 
RFC2965DomainAttributeHandler "Domain" cookie attribute handler for RFC 2965 cookie spec. 
RFC2965PortAttributeHandler "Port" cookie attribute handler for RFC 2965 cookie spec. 
RFC2965Spec

RFC 2965 specific cookie management functions. 

RFC2965SpecFactory  
RFC2965VersionAttributeHandler "Version" cookie attribute handler for RFC 2965 cookie spec. 

Exceptions

DateParseException An exception to indicate an error parsing a date string.