public class DirectoryServlet extends HttpServlet
Constructor and Description |
---|
DirectoryServlet() |
DirectoryServlet(Path context) |
Modifier and Type | Method and Description |
---|---|
void |
doGet(HttpServletRequest req,
HttpServletResponse res)
Process a GET or HEAD request
|
void |
init()
Initialize the servlet.
|
void |
setEnable(boolean enable) |
doDelete, doHead, doOptions, doPost, doPut, doTrace, getLastModified, service, service
destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, log, log, toString
public DirectoryServlet(Path context)
public DirectoryServlet()
public void setEnable(boolean enable)
public void init()
GenericServlet
init
in class GenericServlet
public void doGet(HttpServletRequest req, HttpServletResponse res) throws java.io.IOException
HttpServlet
doGet
in class HttpServlet
req
- the client requestres
- response to the clientjava.io.IOException