com.caucho.vfs.remote
Class RemoteFilesystemServlet

java.lang.Object
  extended by javax.servlet.GenericServlet
      extended by com.caucho.vfs.remote.RemoteFilesystemServlet
All Implemented Interfaces:
java.io.Serializable, Servlet, ServletConfig

public class RemoteFilesystemServlet
extends GenericServlet

Remote filesystem.

See Also:
Serialized Form

Constructor Summary
RemoteFilesystemServlet()
           
 
Method Summary
 void init()
          Sets the root.
 void service(ServletRequest request, ServletResponse response)
          Handles the request.
 void setRoot(Path root)
          Sets the root.
 
Methods inherited from class javax.servlet.GenericServlet
destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, log, log, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

RemoteFilesystemServlet

public RemoteFilesystemServlet()
Method Detail

setRoot

public void setRoot(Path root)
Sets the root.


init

public void init()
          throws ServletException
Sets the root.

Overrides:
init in class GenericServlet
Throws:
ServletException

service

public void service(ServletRequest request,
                    ServletResponse response)
             throws java.io.IOException,
                    ServletException
Handles the request.

Parameters:
request - request information. Normally servlets will cast this to HttpServletRequest
response - response information. Normally servlets will cast this to HttpServletRequest
Throws:
java.io.IOException
ServletException