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

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

Introduction

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

The text is from its open source code.

Subclass

org.apache.http.impl.cookie.BasicClientCookie has subclasses.
Click this link to see all its subclasses.

Field

booleanisSecure
My secure flag.

Constructor

BasicClientCookie(final String name, final String value)
Default Constructor taking a name and a value.

Method

StringgetAttribute(final String name)
ClassgetClass()
Returns the runtime class of this Object .
StringgetDomain()
Returns domain attribute of the cookie.
DategetExpiryDate()
Returns the expiration Date of the cookie, or null if none exists.
StringgetName()
Returns the name.
StringgetPath()
Returns the path attribute of the cookie
StringgetValue()
Returns the value.
booleanisExpired(final Date date)
Returns true if this cookie has expired.
voidsetAttribute(final String name, final String value)
voidsetComment(final 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(final String domain)
Sets the domain attribute.
voidsetExpiryDate(final Date expiryDate)
Sets expiration date.
voidsetPath(final String path)
Sets the path attribute.
voidsetSecure(final boolean secure)
Sets the secure attribute of the cookie.
voidsetValue(final String value)
Sets the value
voidsetVersion(final int version)
Sets the version of the cookie specification to which this cookie conforms.
StringtoString()