DO NOT EDIT THE CONTENT OF THIS PAGE DIRECTLY (EXCEPT INSIDE THE DIV BELOW WITH ID=DESCRIPTION), UNLESS YOU KNOW WHAT YOU'RE DOING.
THE STRUCTURE OF THE CONTENT IS VITAL IN BEING ABLE TO AUTO UPDATE THE CONTENT THROUGH THE DOC GENERATOR.



Method Summary
String
getComment()
Returns the cookie comment.
String
getDomain()
Returns the cookie domain.
String
getName()
Returns the cookie name.
String
getPath()
Returns the cookie path.
Boolean
getSecure()
Returns the cookie secure attribute.
String
getValue()
Returns the cookie value.



Method Details

getComment

String
getComment
()
Returns the cookie comment.

Returns

String

Sample

var cookie = client.getCookie('cookieName')
var path = cookie.getComment();
 

getDomain

String
getDomain
()
Returns the cookie domain.

Returns

String

Sample

var cookie = client.getCookie('cookieName')
var domain = cookie.getDomain();
 

getName

String
getName
()
Returns the cookie name.

Returns

String

Sample

var cookie = client.getCookie('cookieName')
var name = cookie.getName();
 

getPath

String
getPath
()
Returns the cookie path.

Returns

String

Sample

var cookie = client.getCookie('cookieName')
var path = cookie.getPath();
 

getSecure

Boolean
getSecure
()
Returns the cookie secure attribute.

Returns

Boolean

Sample

var cookie = client.getCookie('cookieName')
var path = cookie.getSecure();
 

getValue

String
getValue
()
Returns the cookie value.

Returns

String

Sample

var cookie = client.getCookie('cookieName')
var value = cookie.getValue();