Class Cookie
- java.lang.Object
-
- com.axway.ats.uiengine.elements.html.Cookie
-
public class Cookie extends Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)Two cookies are equal if the name and value matchStringgetDomain()DategetExpiry()StringgetName()StringgetPath()StringgetValue()inthashCode()booleanisSecure()StringtoString()
-
-
-
Constructor Detail
-
Cookie
public Cookie(String name, String value, String domain, String path, Date expiry, boolean isSecure)
- Parameters:
name- the name of the cookie. May not be null or an empty stringvalue- the cookie value. May not be nulldomain- the domain the cookie is visible topath- the path the cookie is visible to. If left blank or set to null, will be set to "/"expiry- the cookie's expiration date. May be null
-
-
Method Detail
-
getName
public String getName()
-
getValue
public String getValue()
-
getDomain
public String getDomain()
-
getPath
public String getPath()
-
getExpiry
public Date getExpiry()
-
isSecure
public boolean isSecure()
-
equals
public boolean equals(Object o)
Two cookies are equal if the name and value match
-
-