mirror of
https://github.com/apache/struts.git
synced 2026-08-05 14:47:09 +00:00
Merge pull request #1318 from apache/feature/WW-5511-javadoc
WW-5511 Adds missing JavaDocs to addCspHeaders method
This commit is contained in:
@@ -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);
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user