mirror of
https://github.com/spring-projects/spring-security.git
synced 2025-10-20 17:28:49 +00:00
Deprecate CacheControlServerHttpHeadersWriter.CACHE_CONTRTOL_VALUE
The member is public, so we need to deprecate it rather than remove it. Issue gh-18035 Closes gh-18058
This commit is contained in:
parent
f5d33457dc
commit
2eb5da3764
@ -51,6 +51,13 @@ public class CacheControlServerHttpHeadersWriter implements ServerHttpHeadersWri
|
||||
*/
|
||||
public static final String CACHE_CONTROL_VALUE = "no-cache, no-store, max-age=0, must-revalidate";
|
||||
|
||||
/**
|
||||
* The value for the cache control value.
|
||||
* @deprecated Please use {@link #CACHE_CONTROL_VALUE}
|
||||
*/
|
||||
@Deprecated(forRemoval = true, since = "7.0")
|
||||
public static final String CACHE_CONTRTOL_VALUE = CACHE_CONTROL_VALUE;
|
||||
|
||||
/**
|
||||
* The delegate to write all the cache control related headers
|
||||
*/
|
||||
|
Loading…
x
Reference in New Issue
Block a user