public class GoogleStaticFileServlet extends GenericServlet
Constructor and Description |
---|
GoogleStaticFileServlet() |
Modifier and Type | Method and Description |
---|---|
protected Path |
getPath(QuercusHttpServletRequest req) |
void |
init(ServletConfig config)
Initialize the servlet.
|
void |
service(ServletRequest request,
ServletResponse response)
Service a request.
|
destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, log, log, toString
public void init(ServletConfig config) throws ServletException
GenericServlet
init()
instead.init
in interface Servlet
init
in class GenericServlet
config
- the servlet's configurationServletException
public void service(ServletRequest request, ServletResponse response) throws java.io.IOException, ServletException
Servlet
service
simultaneously. Normally,
req
and res
will actually be
HttpServletRequest
and HttpServletResponse
classes.request
- request information. Normally servlets will cast this
to HttpServletRequest
response
- response information. Normally servlets will cast this
to HttpServletRequest
java.io.IOException
ServletException
protected Path getPath(QuercusHttpServletRequest req)