Class HttpCookie
java.lang.Object
org.springframework.http.HttpCookie
- Direct Known Subclasses:
ResponseCookie
Represents an HTTP cookie as a name-value pair consistent with the content of
the "Cookie" request header. The
ResponseCookie
subclass has the
additional attributes expected in the "Set-Cookie" response header.- Since:
- 5.0
- Author:
- Rossen Stoyanchev
- See Also:
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
HttpCookie
-
-
Method Details
-
getName
Return the cookie name. -
getValue
Return the cookie value or an empty string (nevernull
). -
equals
-
hashCode
-
toString
-