com.caucho.quercus.servlet
Class GoogleStaticFileServlet

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

public class GoogleStaticFileServlet
extends GenericServlet

See Also:
Serialized Form

Constructor Summary
GoogleStaticFileServlet()
           
 
Method Summary
protected  Path getPath(HttpServletRequest req)
           
 void init(ServletConfig config)
          Initialize the servlet.
 void service(ServletRequest request, ServletResponse response)
          Service a request.
 
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

GoogleStaticFileServlet

public GoogleStaticFileServlet()
Method Detail

init

public void init(ServletConfig config)
          throws ServletException
Description copied from class: GenericServlet
Initialize the servlet. Most servlets should override the zero parameter init() instead.

Specified by:
init in interface Servlet
Overrides:
init in class GenericServlet
Parameters:
config - the servlet's configuration
Throws:
ServletException

service

public void service(ServletRequest request,
                    ServletResponse response)
             throws java.io.IOException,
                    ServletException
Description copied from interface: Servlet
Service a request. Since the servlet engine is multithreaded, many threads may execute service simultaneously. Normally, req and res will actually be HttpServletRequest and HttpServletResponse classes.

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

getPath

protected Path getPath(HttpServletRequest req)