public class CookieCreateOptions extends CookieOptions<CookieCreateOptions>
domain, path| Modifier and Type | Method and Description |
|---|---|
Long |
getMaxAge()
Returns the max time which this cookie should live
|
String |
inSeleniumRepresentation()
Returns Selenium's string representation of this object
|
CookieCreateOptions |
maxAge(long maxAge)
Specifies max time to live in seconds.
|
append, clone, copy, domain, forCreation, forDeletion, getDomain, getPath, pathpublic CookieCreateOptions maxAge(long maxAge)
maxAge - max time to live in secondspublic Long getMaxAge()
public String inSeleniumRepresentation()
SeleniumRepresentableinSeleniumRepresentation in interface SeleniumRepresentableinSeleniumRepresentation in class CookieOptions<CookieCreateOptions>Copyright © 2013 JBoss by Red Hat. All Rights Reserved.