Java org.apache.http.cookie SetCookie fields, constructors, methods, implement or subclass

Example usage for Java org.apache.http.cookie SetCookie fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.apache.http.cookie SetCookie.

The text is from its open source code.

Implementation

org.apache.http.cookie.SetCookie has the following implementations.
Click this link to see all its implementation.

Method

StringgetDomain()
Returns domain attribute of the cookie.
StringgetName()
Returns the name.
StringgetPath()
Returns the path attribute of the cookie.
int[]getPorts()
Get the Port attribute.
StringgetValue()
Returns the value.
booleanisExpired(final Date date)
Returns true if this cookie has expired.
booleanisPersistent()
Returns false if the cookie should be discarded at the end of the "session"; true otherwise.
voidsetComment(String comment)
If a user agent (web browser) presents this cookie to a user, the cookie's purpose will be described using this comment.
voidsetDomain(String domain)
Sets the domain attribute.
voidsetExpiryDate(Date expiryDate)
Sets expiration date.
voidsetPath(String path)
Sets the path attribute.
voidsetSecure(boolean secure)
Sets the secure attribute of the cookie.
voidsetVersion(int version)
Sets the version of the cookie specification to which this cookie conforms.