reintroduced DEFAULT_COOKIE_MAX_AGE in deprecated form (for binary compatibility; SPR-6276)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2399 50f2f4bb-b051-0410-bef5-90022cba6387
This commit is contained in:
parent
d6b5b8dbf4
commit
dd06668d05
|
|
@ -44,6 +44,13 @@ public class CookieGenerator {
|
||||||
*/
|
*/
|
||||||
public static final String DEFAULT_COOKIE_PATH = "/";
|
public static final String DEFAULT_COOKIE_PATH = "/";
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Default maximum age of cookies: maximum integer value, i.e. forever.
|
||||||
|
* @deprecated in favor of setting no max age value at all in such a case
|
||||||
|
*/
|
||||||
|
@Deprecated
|
||||||
|
public static final int DEFAULT_COOKIE_MAX_AGE = Integer.MAX_VALUE;
|
||||||
|
|
||||||
|
|
||||||
protected final Log logger = LogFactory.getLog(getClass());
|
protected final Log logger = LogFactory.getLog(getClass());
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue