tachyon.web
Class WebInterfaceBrowseServlet

java.lang.Object
  extended by javax.servlet.GenericServlet
      extended by javax.servlet.http.HttpServlet
          extended by tachyon.web.WebInterfaceBrowseServlet
All Implemented Interfaces:
Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig

public class WebInterfaceBrowseServlet
extends javax.servlet.http.HttpServlet

Servlet that provides data for browsing the file system.

See Also:
Serialized Form

Nested Class Summary
 class WebInterfaceBrowseServlet.UiFileInfo
          Class to make referencing file objects more intuitive.
 
Constructor Summary
WebInterfaceBrowseServlet(MasterInfo masterInfo)
           
 
Method Summary
protected  void doGet(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
          Populates attribute fields with data from the MasterInfo associated with this servlet.
protected  void doPost(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
           
 
Methods inherited from class javax.servlet.http.HttpServlet
doDelete, doHead, doOptions, doPut, doTrace, getLastModified, service, service
 
Methods inherited from class javax.servlet.GenericServlet
destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, init, log, log
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WebInterfaceBrowseServlet

public WebInterfaceBrowseServlet(MasterInfo masterInfo)
Method Detail

doGet

protected void doGet(javax.servlet.http.HttpServletRequest request,
                     javax.servlet.http.HttpServletResponse response)
              throws javax.servlet.ServletException,
                     IOException,
                     UnknownHostException
Populates attribute fields with data from the MasterInfo associated with this servlet. Errors will be displayed in an error field. Debugging can be enabled to display additional data. Will eventually redirect the request to a jsp.

Overrides:
doGet in class javax.servlet.http.HttpServlet
Parameters:
request - The HttpServletRequest object
response - The HttpServletResponse object
Throws:
javax.servlet.ServletException
IOException
UnknownHostException

doPost

protected void doPost(javax.servlet.http.HttpServletRequest request,
                      javax.servlet.http.HttpServletResponse response)
Overrides:
doPost in class javax.servlet.http.HttpServlet


Copyright © 2013. All Rights Reserved.