| org.apache.http.cookie.Cookie | 
        
          
        
        Known Indirect Subclasses
        
        | 
      
HTTP "magic-cookie" represents a piece of state information that the HTTP agent and the target server can exchange to maintain a session.
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| 
          | 
        
          
          Returns the comment describing the purpose of this cookie, or
          
           null
          
          if no such comment has been defined.
          
         | 
       ||||||||||
| 
          | 
        
          
          If a user agent (web browser) presents this cookie to a user, the
 cookie's purpose will be described by the information at this URL.
          
         | 
       ||||||||||
| 
          | 
        
          
          Returns domain attribute of the cookie.
          
         | 
       ||||||||||
| 
          | 
        
          
          Returns the expiration
           
        
           
            Date
           
          
          of the cookie, or
          
           null
          
          if none exists.
          | 
       ||||||||||
| 
          | 
        
          
          Returns the name.
          
         | 
       ||||||||||
| 
          | 
        
          
          Returns the path attribute of the cookie
          
         | 
       ||||||||||
| 
          | 
        
          
          Get the Port attribute.
          
         | 
       ||||||||||
| 
          | 
        
          
          Returns the value.
          
         | 
       ||||||||||
| 
          | 
        
          
          Returns the version of the cookie specification to which this
 cookie conforms.
          
         | 
       ||||||||||
| 
          | 
        
          
          Returns true if this cookie has expired.
          
         | 
       ||||||||||
| 
          | 
        
          
          Returns
          
           false
          
          if the cookie should be discarded at the end
 of the "session";
          
           true
          
          otherwise.
          
         | 
       ||||||||||
| 
          | 
        
          
          Indicates whether this cookie requires a secure connection.
          
         | 
       ||||||||||
Returns the comment describing the purpose of this cookie, or null if no such comment has been defined.
If a user agent (web browser) presents this cookie to a user, the cookie's purpose will be described by the information at this URL.
Returns domain attribute of the cookie.
Returns the name.
Returns the path attribute of the cookie
Get the Port attribute. It restricts the ports to which a cookie may be returned in a Cookie request header.
Returns the value.
Returns the version of the cookie specification to which this cookie conforms.
Returns true if this cookie has expired.
| date | Current time | 
|---|
Returns false if the cookie should be discarded at the end of the "session"; true otherwise.
Indicates whether this cookie requires a secure connection.
           true
          
          if this cookie should only be sent
          over secure connections,
          
           false
          
          otherwise.