public class FileSystemServlet
extends javax.servlet.http.HttpServlet
FileSystem.| Constructor and Description |
|---|
FileSystemServlet()
Default constructor.
|
FileSystemServlet(FileSystem fileSystem,
String settingsServletPath)
Constructor that takes a specific file system instance.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
doDelete(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse resp) |
protected void |
doGet(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse resp) |
protected void |
doPut(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse resp) |
doHead, doOptions, doPost, doTrace, getLastModified, service, servicepublic FileSystemServlet()
public FileSystemServlet(FileSystem fileSystem, String settingsServletPath)
fileSystem - the file systen to serve.protected void doGet(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse resp)
throws javax.servlet.ServletException,
IOException
doGet in class javax.servlet.http.HttpServletjavax.servlet.ServletExceptionIOExceptionprotected void doPut(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse resp)
throws javax.servlet.ServletException,
IOException
doPut in class javax.servlet.http.HttpServletjavax.servlet.ServletExceptionIOExceptionprotected void doDelete(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse resp)
throws javax.servlet.ServletException,
IOException
doDelete in class javax.servlet.http.HttpServletjavax.servlet.ServletExceptionIOExceptionCopyright © 2009–2022 MojoHaus. All rights reserved.