Child pages
  • Cookie
Skip to end of metadata
Go to start of metadata



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
String getComment ()
Returns the cookie comment.

Returns

Sample

var cookie = client.getCookie('cookieName')
var path = cookie.getComment();
 
String getDomain ()
Returns the cookie domain.

Returns

Sample

var cookie = client.getCookie('cookieName')
var domain = cookie.getDomain();
 
String getName ()
Returns the cookie name.

Returns

Sample

var cookie = client.getCookie('cookieName')
var name = cookie.getName();
 
String getPath ()
Returns the cookie path.

Returns

Sample

var cookie = client.getCookie('cookieName')
var path = cookie.getPath();
 
Boolean getSecure ()
Returns the cookie secure attribute.

Returns

Sample

var cookie = client.getCookie('cookieName')
var path = cookie.getSecure();
 
String getValue ()
Returns the cookie value.

Returns

Sample

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



  • No labels