Deprecate CacheControlServerHttpHeadersWriter.CACHE_CONTRTOL_VALUE
CodeQL Advanced / codeql-analysis-call (push) Waiting to run Details
CI / Build (17, ubuntu-latest) (push) Waiting to run Details
CI / Build (17, windows-latest) (push) Waiting to run Details
CI / Deploy Artifacts (push) Blocked by required conditions Details
CI / Deploy Docs (push) Blocked by required conditions Details
CI / Deploy Schema (push) Blocked by required conditions Details
CI / Perform Release (push) Blocked by required conditions Details
CI / Send Notification (push) Blocked by required conditions Details
Deploy Docs / build (push) Waiting to run Details

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:
Rob Winch 2025-10-16 13:45:45 -05:00
parent f5d33457dc
commit 2eb5da3764
1 changed files with 7 additions and 0 deletions

View File

@ -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
*/