Package tigase.http.util
Class StaticFileServlet
java.lang.Object
javax.servlet.GenericServlet
javax.servlet.http.HttpServlet
tigase.http.util.StaticFileServlet
- All Implemented Interfaces:
Serializable
,javax.servlet.Servlet
,javax.servlet.ServletConfig
public class StaticFileServlet
extends javax.servlet.http.HttpServlet
- Author:
- andrzej
- See Also:
-
Field Summary
-
Constructor Summary
-
Method Summary
Methods inherited from class javax.servlet.http.HttpServlet
doDelete, doHead, doOptions, doPost, doPut, doTrace, getLastModified, service, service
Methods inherited from class javax.servlet.GenericServlet
destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, log, log
-
Field Details
-
ALLOWED_PATTERN_KEY
- See Also:
-
DIRECTORY_KEY
- See Also:
-
INDEX_KEY
- See Also:
-
-
Constructor Details
-
StaticFileServlet
public StaticFileServlet()
-
-
Method Details
-
init
public void init() throws javax.servlet.ServletException- Overrides:
init
in classjavax.servlet.GenericServlet
- Throws:
javax.servlet.ServletException
-
doGet
protected void doGet(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp) throws javax.servlet.ServletException, IOException - Overrides:
doGet
in classjavax.servlet.http.HttpServlet
- Throws:
javax.servlet.ServletException
IOException
-