com.atlassian.jira.charts.jfreechart
Class DisplayChartServlet
java.lang.Object
com.atlassian.jira.charts.jfreechart.DisplayChartServlet
- All Implemented Interfaces:
- javax.servlet.Servlet
public class DisplayChartServlet
- extends Object
- implements javax.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:
PathUtils.ensurePathInSecureDir(String, String)
Field Summary |
static org.slf4j.Logger |
log
Logger for DisplayChartServlet. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
log
public static final org.slf4j.Logger log
- Logger for DisplayChartServlet.
DisplayChartServlet
public DisplayChartServlet()
init
public void init(javax.servlet.ServletConfig config)
throws javax.servlet.ServletException
- Specified by:
init
in interface javax.servlet.Servlet
- Throws:
javax.servlet.ServletException
destroy
public void destroy()
- Specified by:
destroy
in interface javax.servlet.Servlet
service
public void service(javax.servlet.ServletRequest request,
javax.servlet.ServletResponse response)
throws javax.servlet.ServletException,
IOException
- Specified by:
service
in interface javax.servlet.Servlet
- Throws:
javax.servlet.ServletException
IOException
getServletConfig
public javax.servlet.ServletConfig getServletConfig()
- Specified by:
getServletConfig
in interface javax.servlet.Servlet
getServletInfo
public String getServletInfo()
- Specified by:
getServletInfo
in interface javax.servlet.Servlet
Copyright © 2002-2013 Atlassian. All Rights Reserved.