Class DisplayChartServlet
java.lang.Object
com.atlassian.jira.charts.jfreechart.DisplayChartServlet
- All Implemented Interfaces:
jakarta.servlet.Servlet
Display chart servlet that delegates processing to
DisplayChart
, after a few additional checks have been done
on the filename
request parameter. If there is an attempted path traversal, it is logged and a 404 is
returned.- Since:
- v4.4.5
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final org.slf4j.Logger
Logger for DisplayChartServlet. -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
log
public static final org.slf4j.Logger logLogger for DisplayChartServlet.
-
-
Constructor Details
-
DisplayChartServlet
public DisplayChartServlet()
-
-
Method Details
-
init
public void init(jakarta.servlet.ServletConfig config) throws jakarta.servlet.ServletException - Specified by:
init
in interfacejakarta.servlet.Servlet
- Throws:
jakarta.servlet.ServletException
-
destroy
public void destroy()- Specified by:
destroy
in interfacejakarta.servlet.Servlet
-
service
public void service(jakarta.servlet.ServletRequest request, jakarta.servlet.ServletResponse response) throws jakarta.servlet.ServletException, IOException - Specified by:
service
in interfacejakarta.servlet.Servlet
- Throws:
jakarta.servlet.ServletException
IOException
-
getServletConfig
public jakarta.servlet.ServletConfig getServletConfig()- Specified by:
getServletConfig
in interfacejakarta.servlet.Servlet
-
getServletInfo
- Specified by:
getServletInfo
in interfacejakarta.servlet.Servlet
-