public class StaticResourceServlet extends HttpServlet
| Constructor and Description |
|---|
StaticResourceServlet() |
| Modifier and Type | Method and Description |
|---|---|
static String |
constructOurCanonicalVersion(File current,
File stopPoint) |
void |
doGet(HttpServletRequest request,
HttpServletResponse response) |
void |
doPost(HttpServletRequest request,
HttpServletResponse response) |
void |
init(ServletConfig config) |
static boolean |
isDescendant(File parent,
File child,
File commonBase) |
doDelete, doHead, doOptions, doPut, doTrace, getLastModified, service, servicedestroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, log, logpublic void init(ServletConfig config) throws ServletException
init in interface Servletinit in class GenericServletServletExceptionpublic void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException
doPost in class HttpServletServletExceptionIOExceptionpublic void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException
doGet in class HttpServletServletExceptionIOExceptionpublic static boolean isDescendant(File parent, File child, File commonBase) throws IOException
IOExceptionCopyright © 2014. All rights reserved.