| javax.servlet.http.HttpServlet com.quadcap.http.servlets.file.FileServlet
FileServlet | public class FileServlet extends HttpServlet (Code) | | This class implements a generic file-serving servlet
XXX This implementation is not done; it's been checked in as a work in
progress.
author: Stan Bailes |
mimeTypes | Hashtable mimeTypes(Code) | | A table of mime types, indexed by file extension
|
getFileForRequest | public HttpFile getFileForRequest(HttpServletRequest req) throws Exception(Code) | | Return a file object which is suitable for processing the specified
request.
Parameters: req - the http request to service. the file, or null if the file doesn't exist. exception: Exception - may be thrown. |
init | public void init(ServletConfig config) throws ServletException(Code) | | Initialize this servlet
Parameters: config - the servlet configuration object, containing myinitialization parameters exception: ServletException - if I can't initialize for some reason. |
Methods inherited from javax.servlet.http.HttpServlet | protected void doDelete(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException(Code)(Java Doc) protected void doGet(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException(Code)(Java Doc) protected void doHead(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException(Code)(Java Doc) protected void doOptions(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException(Code)(Java Doc) protected void doPost(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException(Code)(Java Doc) protected void doPut(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException(Code)(Java Doc) protected void doTrace(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException(Code)(Java Doc) protected long getLastModified(HttpServletRequest req)(Code)(Java Doc) protected void service(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException(Code)(Java Doc) public void service(ServletRequest req, ServletResponse res) throws ServletException, IOException(Code)(Java Doc)
|
|
|