Cookie

open class Cookie : TBase<T, F> , Serializable, Cloneable, Comparable<T>

Constructors

Link copied to clipboard
constructor()
constructor(name: String, value: String, domain: String, path: String, secure: Boolean, httponly: Boolean, creation: Long, lastAccess: Long)
constructor(other: Cookie)
Performs a deep copy on other.

Types

Link copied to clipboard
enum _Fields : TFieldIdEnum
The set of fields this struct contains, along with convenience methods for finding and manipulating them.

Properties

Link copied to clipboard
open var creation: Long
Link copied to clipboard
open var domain: String
Link copied to clipboard
open var expires: Long
Link copied to clipboard
open var httponly: Boolean
Link copied to clipboard
open var lastAccess: Long
Link copied to clipboard
val metaDataMap: Map<Cookie._Fields, FieldMetaData>
Link copied to clipboard
open var name: String
Link copied to clipboard
open var path: String
Link copied to clipboard
open var secure: Boolean
Link copied to clipboard
open var value: String

Functions

Link copied to clipboard
open fun clear()
Link copied to clipboard
open fun compareTo(other: Cookie): Int
Link copied to clipboard
open fun deepCopy(): Cookie
Link copied to clipboard
open fun equals(that: Cookie): Boolean
open fun equals(that: Any): Boolean
Link copied to clipboard
open fun fieldForId(fieldId: Int): Cookie._Fields
Link copied to clipboard
open fun getCreation(): Long
Link copied to clipboard
open fun getDomain(): String
Link copied to clipboard
open fun getExpires(): Long
Link copied to clipboard
open fun getFieldValue(field: Cookie._Fields): Any
Link copied to clipboard
open fun getLastAccess(): Long
Link copied to clipboard
open fun getName(): String
Link copied to clipboard
open fun getPath(): String
Link copied to clipboard
open fun getValue(): String
Link copied to clipboard
open fun hashCode(): Int
Link copied to clipboard
open fun isHttponly(): Boolean
Link copied to clipboard
open fun isSecure(): Boolean
Link copied to clipboard
open fun isSet(field: Cookie._Fields): Boolean
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise
Link copied to clipboard
Returns true if field creation is set (has been assigned a value) and false otherwise
Link copied to clipboard
open fun isSetDomain(): Boolean
Returns true if field domain is set (has been assigned a value) and false otherwise
Link copied to clipboard
open fun isSetExpires(): Boolean
Returns true if field expires is set (has been assigned a value) and false otherwise
Link copied to clipboard
Returns true if field httponly is set (has been assigned a value) and false otherwise
Link copied to clipboard
Returns true if field lastAccess is set (has been assigned a value) and false otherwise
Link copied to clipboard
open fun isSetName(): Boolean
Returns true if field name is set (has been assigned a value) and false otherwise
Link copied to clipboard
open fun isSetPath(): Boolean
Returns true if field path is set (has been assigned a value) and false otherwise
Link copied to clipboard
open fun isSetSecure(): Boolean
Returns true if field secure is set (has been assigned a value) and false otherwise
Link copied to clipboard
open fun isSetValue(): Boolean
Returns true if field value is set (has been assigned a value) and false otherwise
Link copied to clipboard
open fun read(iprot: TProtocol)
Link copied to clipboard
open fun setCreation(creation: Long): Cookie
Link copied to clipboard
open fun setCreationIsSet(value: Boolean)
Link copied to clipboard
open fun setDomain(domain: String): Cookie
Link copied to clipboard
open fun setDomainIsSet(value: Boolean)
Link copied to clipboard
open fun setExpires(expires: Long): Cookie
Link copied to clipboard
open fun setExpiresIsSet(value: Boolean)
Link copied to clipboard
open fun setFieldValue(field: Cookie._Fields, value: Any)
Link copied to clipboard
open fun setHttponly(httponly: Boolean): Cookie
Link copied to clipboard
open fun setHttponlyIsSet(value: Boolean)
Link copied to clipboard
open fun setLastAccess(lastAccess: Long): Cookie
Link copied to clipboard
open fun setLastAccessIsSet(value: Boolean)
Link copied to clipboard
open fun setName(name: String): Cookie
Link copied to clipboard
open fun setNameIsSet(value: Boolean)
Link copied to clipboard
open fun setPath(path: String): Cookie
Link copied to clipboard
open fun setPathIsSet(value: Boolean)
Link copied to clipboard
open fun setSecure(secure: Boolean): Cookie
Link copied to clipboard
open fun setSecureIsSet(value: Boolean)
Link copied to clipboard
open fun setValue(value: String): Cookie
Link copied to clipboard
open fun setValueIsSet(value: Boolean)
Link copied to clipboard
open fun toString(): String
Link copied to clipboard
open fun unsetCreation()
Link copied to clipboard
open fun unsetDomain()
Link copied to clipboard
open fun unsetExpires()
Link copied to clipboard
open fun unsetHttponly()
Link copied to clipboard
open fun unsetLastAccess()
Link copied to clipboard
open fun unsetName()
Link copied to clipboard
open fun unsetPath()
Link copied to clipboard
open fun unsetSecure()
Link copied to clipboard
open fun unsetValue()
Link copied to clipboard
open fun validate()
Link copied to clipboard
open fun write(oprot: TProtocol)