public class DisplayChartServlet extends Object implements javax.servlet.Servlet
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.PathUtils.ensurePathInSecureDir(String, String)
Modifier and Type | Field and Description |
---|---|
static org.slf4j.Logger |
log
Logger for DisplayChartServlet.
|
Constructor and Description |
---|
DisplayChartServlet() |
Modifier and Type | Method and Description |
---|---|
void |
destroy() |
javax.servlet.ServletConfig |
getServletConfig() |
String |
getServletInfo() |
void |
init(javax.servlet.ServletConfig config) |
void |
service(javax.servlet.ServletRequest request,
javax.servlet.ServletResponse response) |
public void init(javax.servlet.ServletConfig config) throws javax.servlet.ServletException
init
in interface javax.servlet.Servlet
javax.servlet.ServletException
public void destroy()
destroy
in interface javax.servlet.Servlet
public void service(javax.servlet.ServletRequest request, javax.servlet.ServletResponse response) throws javax.servlet.ServletException, IOException
service
in interface javax.servlet.Servlet
javax.servlet.ServletException
IOException
public javax.servlet.ServletConfig getServletConfig()
getServletConfig
in interface javax.servlet.Servlet
public String getServletInfo()
getServletInfo
in interface javax.servlet.Servlet
Copyright © 2002-2019 Atlassian. All Rights Reserved.