Merge pull request #1318 from apache/feature/WW-5511-javadoc

WW-5511 Adds missing JavaDocs to addCspHeaders method
This commit is contained in:
Lukasz Lenart
2025-09-02 12:15:25 +02:00
committed by GitHub
@@ -44,6 +44,11 @@ public interface CspSettings {
String HTTPS = "https:";
String CSP_REPORT_TYPE = "application/csp-report";
/**
* Adds CSP related headers to response based on request state (e.g., if session has been created)
*
* @since Struts 6.0.3
*/
void addCspHeaders(HttpServletRequest request, HttpServletResponse response);
/**