Package de.sstoehr.harreader.model
Class HarCookie
java.lang.Object
de.sstoehr.harreader.model.HarCookie
public class HarCookie extends Object
Information about a cookie used in request and/or response.
- See Also:
- specification
-
Constructor Summary
Constructors Constructor Description HarCookie() -
Method Summary
Modifier and Type Method Description booleanequals(Object o)StringgetComment()StringgetDomain()DategetExpires()BooleangetHttpOnly()StringgetName()StringgetPath()BooleangetSecure()StringgetValue()inthashCode()voidsetComment(String comment)voidsetDomain(String domain)voidsetExpires(Date expires)voidsetHttpOnly(Boolean httpOnly)voidsetName(String name)voidsetPath(String path)voidsetSecure(Boolean secure)voidsetValue(String value)
-
Constructor Details
-
HarCookie
public HarCookie()
-
-
Method Details
-
getName
- Returns:
- Name of the cookie, null if not present.
-
setName
-
getValue
- Returns:
- Value of the cookie, null if not present.
-
setValue
-
getPath
- Returns:
- The cookie's path, null if not present.
-
setPath
-
getDomain
- Returns:
- The cookie's domain, null if not present.
-
setDomain
-
getExpires
- Returns:
- The cookie's expiration time, null if not present.
-
setExpires
-
getHttpOnly
- Returns:
- Whether the cookie is HTTP only, null if not present.
-
setHttpOnly
-
getSecure
- Returns:
- Whether the cookie was transmitted via SSL, null if not present.
-
setSecure
-
getComment
- Returns:
- Comment provided by the user or application, null if not present.
-
setComment
-
equals
-
hashCode
public int hashCode()
-