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


Method Summery
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
String
Sample
var cookie = plugins.http.getHttpClientCookie('clientName', 'cookieName')
var path = cookie.getComment();

String getDomain ()

Returns the cookie domain.
Returns
String
Sample
var cookie = plugins.http.getHttpClientCookie('clientName', 'cookieName')
var domain = cookie.getDomain();

String getName ()

Returns the cookie name.
Returns
String
Sample
var cookie = plugins.http.getHttpClientCookie('clientName', 'cookieName')
var name = cookie.getName();

String getPath ()

Returns the cookie path.
Returns
String
Sample
var cookie = plugins.http.getHttpClientCookie('clientName', 'cookieName')
var path = cookie.getPath();

Boolean getSecure ()

Returns the cookie secure attribute.
Returns
Boolean
Sample
var cookie = plugins.http.getHttpClientCookie('clientName', 'cookieName')
var path = cookie.getSecure();

String getValue ()

Returns the cookie value.
Returns
String
Sample
var cookie = plugins.http.getHttpClientCookie('clientName', 'cookieName')
var value = cookie.getValue();
  • No labels