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, toStringpublic void setRoot(Path root)
public void init()
throws ServletException
init in class GenericServletServletExceptionpublic void service(ServletRequest request, ServletResponse response) throws java.io.IOException, ServletException
request - request information. Normally servlets will cast this
to HttpServletRequestresponse - response information. Normally servlets will cast this
to HttpServletRequestjava.io.IOExceptionServletException