We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f595b67 commit 9d59db7Copy full SHA for 9d59db7
org.springframework.web/src/main/java/org/springframework/web/util/CookieGenerator.java
@@ -44,6 +44,13 @@ public class CookieGenerator {
44
*/
45
public static final String DEFAULT_COOKIE_PATH = "/";
46
47
+ /**
48
+ * Default maximum age of cookies: maximum integer value, i.e. forever.
49
+ * @deprecated in favor of setting no max age value at all in such a case
50
+ */
51
+ @Deprecated
52
+ public static final int DEFAULT_COOKIE_MAX_AGE = Integer.MAX_VALUE;
53
+
54
55
protected final Log logger = LogFactory.getLog(getClass());
56
0 commit comments