java.lang.Object
org.eclipse.jetty.http.HttpCookie.JavaNetHttpCookie
- All Implemented Interfaces:
- HttpCookie
- Enclosing interface:
- HttpCookie
A HttpCookie that wraps a HttpCookie.
- 
Nested Class SummaryNested classes/interfaces inherited from interface org.eclipse.jetty.http.HttpCookieHttpCookie.Builder, HttpCookie.Immutable, HttpCookie.JavaNetHttpCookie, HttpCookie.SameSite, HttpCookie.Wrapper
- 
Field SummaryFields inherited from interface org.eclipse.jetty.http.HttpCookieCOMMENT_ATTRIBUTE, DOMAIN_ATTRIBUTE, EXPIRES_ATTRIBUTE, HTTP_ONLY_ATTRIBUTE, MAX_AGE_ATTRIBUTE, PATH_ATTRIBUTE, SAME_SITE_ATTRIBUTE, SECURE_ATTRIBUTE
- 
Method SummaryMethods inherited from class java.lang.Objectclone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface org.eclipse.jetty.http.HttpCookiegetExpires, getSameSite, isExpired
- 
Method Details- 
getCommentDescription copied from interface:HttpCookieEquivalent to getAttributes().get(COMMENT_ATTRIBUTE).- Specified by:
- getCommentin interface- HttpCookie
- Returns:
- the value of the Commentattribute
- See Also:
 
- 
getDomainDescription copied from interface:HttpCookieEquivalent to getAttributes().get(DOMAIN_ATTRIBUTE).- Specified by:
- getDomainin interface- HttpCookie
- Returns:
- the value of the Domainattribute
- See Also:
 
- 
getMaxAgepublic long getMaxAge()- Specified by:
- getMaxAgein interface- HttpCookie
- Returns:
- the value of the Max-Ageattribute, in seconds, or-1if not present
- See Also:
 
- 
getPathDescription copied from interface:HttpCookieEquivalent to getAttributes().get(PATH_ATTRIBUTE).- Specified by:
- getPathin interface- HttpCookie
- Returns:
- the value of the Pathattribute
- See Also:
 
- 
isSecurepublic boolean isSecure()- Specified by:
- isSecurein interface- HttpCookie
- Returns:
- whether the Secureattribute is present
- See Also:
 
- 
getName- Specified by:
- getNamein interface- HttpCookie
- Returns:
- the cookie name
 
- 
getValue- Specified by:
- getValuein interface- HttpCookie
- Returns:
- the cookie value
 
- 
getVersionpublic int getVersion()- Specified by:
- getVersionin interface- HttpCookie
- Returns:
- the value of the Versionattribute
 
- 
isHttpOnlypublic boolean isHttpOnly()- Specified by:
- isHttpOnlyin interface- HttpCookie
- Returns:
- whether the HttpOnlyattribute is present
- See Also:
 
- 
getAttributes- Specified by:
- getAttributesin interface- HttpCookie
- Returns:
- the attributes associated with this cookie
 
- 
hashCodepublic int hashCode()- Specified by:
- hashCodein interface- HttpCookie
- Overrides:
- hashCodein class- Object
- Returns:
- the cookie hash code
- See Also:
 
- 
equals- Specified by:
- equalsin interface- HttpCookie
- Overrides:
- equalsin class- Object
- Parameters:
- obj- the object to test for equality
- Returns:
- whether this cookie is equal to the given object
- See Also:
 
- 
toString
 
-