Class ContentSecurityPolicyReportServlet
java.lang.Object
javax.servlet.GenericServlet
javax.servlet.http.HttpServlet
net.sf.basedb.clients.web.servlet.ContentSecurityPolicyReportServlet
- All Implemented Interfaces:
Serializable
,Servlet
,ServletConfig
This is a servlet for posting reports from "Content-Security-Policy" violations.
- Since:
- 3.3
- Author:
- Nicklas
- See Also:
- Last modified
- $Date$
-
Field Summary
Modifier and TypeFieldDescriptionprivate static final Logger
private static final int
private static final long
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
doPost
(HttpServletRequest request, HttpServletResponse response) Methods inherited from class javax.servlet.http.HttpServlet
doDelete, doGet, doHead, doOptions, doPut, doTrace, getLastModified, service, service
Methods inherited from class javax.servlet.GenericServlet
destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, init, log, log
-
Field Details
-
serialVersionUID
private static final long serialVersionUID- See Also:
-
MAX_REPORT_LENGTH
private static final int MAX_REPORT_LENGTH- See Also:
-
log
-
-
Constructor Details
-
ContentSecurityPolicyReportServlet
public ContentSecurityPolicyReportServlet()
-
-
Method Details
-
doPost
protected void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException - Overrides:
doPost
in classHttpServlet
- Throws:
ServletException
IOException
-