Package com.hexagonkt.http.model
Class Cookie
-
- All Implemented Interfaces:
public final class Cookie
-
-
Field Summary
Fields Modifier and Type Field Description private final Booleandeletedprivate final Stringnameprivate final Stringvalueprivate final LongmaxAgeprivate final Booleansecureprivate final Stringpathprivate final BooleanhttpOnlyprivate final Stringdomainprivate final BooleansameSiteprivate final Instantexpires
-
Constructor Summary
Constructors Constructor Description Cookie(String name, String value, Long maxAge, Boolean secure, String path, Boolean httpOnly, String domain, Boolean sameSite, Instant expires)
-
Method Summary
Modifier and Type Method Description final BooleangetDeleted()final StringgetName()final StringgetValue()final LonggetMaxAge()final BooleangetSecure()final StringgetPath()final BooleangetHttpOnly()final StringgetDomain()final BooleangetSameSite()final InstantgetExpires()final Cookiedelete()-
-
Method Detail
-
getDeleted
final Boolean getDeleted()
-
getName
final String getName()
-
getValue
final String getValue()
-
getMaxAge
final Long getMaxAge()
-
getSecure
final Boolean getSecure()
-
getPath
final String getPath()
-
getHttpOnly
final Boolean getHttpOnly()
-
getDomain
final String getDomain()
-
getSameSite
final Boolean getSameSite()
-
getExpires
final Instant getExpires()
-
-
-
-