类 HttpCookie
- java.lang.Object
- org.springframework.http.HttpCookie
- 直接已知子类:
ResponseCookie
public class HttpCookie extends Object
Represents an HTTP cookie as a name-value pair consistent with the content of the "Cookie" request header. TheResponseCookie
sub-class has the additional attributes expected in the "Set-Cookie" response header.- 从以下版本开始:
- 5.0
- 作者:
- Rossen Stoyanchev
- 另请参阅:
- RFC 6265
构造器概要
构造器 构造器 说明 HttpCookie(String name, String value)
构造器详细资料
HttpCookie
public HttpCookie(String name, @Nullable String value)