public class RemoteFilesystemServlet extends GenericServlet
Constructor and Description |
---|
RemoteFilesystemServlet() |
Modifier and Type | Method and Description |
---|---|
void |
init()
Sets the root.
|
void |
service(ServletRequest request,
ServletResponse response)
Handles the request.
|
void |
setRoot(Path root)
Sets the root.
|
destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, log, log, toString
public void setRoot(Path root)
public void init() throws ServletException
init
in class GenericServlet
ServletException
public void service(ServletRequest request, ServletResponse response) throws java.io.IOException, ServletException
request
- request information. Normally servlets will cast this
to HttpServletRequest
response
- response information. Normally servlets will cast this
to HttpServletRequest
java.io.IOException
ServletException