com.sun.faban.harness.webclient
Class ContentReader

java.lang.Object
  extended by javax.servlet.GenericServlet
      extended by javax.servlet.http.HttpServlet
          extended by com.sun.faban.harness.webclient.ContentReader
All Implemented Interfaces:
Serializable, Servlet, ServletConfig

public class ContentReader
extends HttpServlet

The content reader reads requests for output files from the actual file location which is not a subpath of the context and sends it back to the requestor.

Author:
Akara Sucharitakul
See Also:
Serialized Form

Constructor Summary
ContentReader()
           
 
Method Summary
 void doGet(HttpServletRequest request, HttpServletResponse response)
           
 
Methods inherited from class javax.servlet.http.HttpServlet
doDelete, doHead, doOptions, doPost, 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

ContentReader

public ContentReader()
Method Detail

doGet

public void doGet(HttpServletRequest request,
                  HttpServletResponse response)
           throws ServletException,
                  IOException
Overrides:
doGet in class HttpServlet
Throws:
ServletException
IOException