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