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

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

Introduction

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

The text is from its open source code.

Constructor

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

Method

ClassgetClass()
Returns the runtime class of this Object .
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.
voidsetCommentURL(final String commentURL)
voidsetDiscard(final boolean discard)
voidsetDomain(final String domain)
Sets the domain attribute.
voidsetExpiryDate(final Date expiryDate)
Sets expiration date.
voidsetPath(final String path)
Sets the path attribute.
voidsetPorts(final int[] ports)
voidsetSecure(final boolean secure)
Sets the secure attribute of the cookie.
voidsetVersion(final int version)
Sets the version of the cookie specification to which this cookie conforms.