|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--javax.servlet.GenericServlet | +--com.caucho.server.http.FileServlet
Serves static files. The cache headers are automatically set on these files.
Constructor Summary | |
FileServlet()
|
Method Summary | |
void |
init(ServletConfig conf)
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 |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public FileServlet()
Method Detail |
public void init(ServletConfig conf) throws ServletException
GenericServlet
init()
instead.init
in class GenericServlet
javax.servlet.GenericServlet
config
- the servlet's configurationpublic void service(ServletRequest request, ServletResponse response) throws ServletException, java.io.IOException
Servlet
service
simultaneously. Normally,
req
and res
will actually be
HttpServletRequest
and HttpServletResponse
classes.javax.servlet.Servlet
req
- request information. Normally servlets will cast this
to HttpServletRequest
res
- response information. Normally servlets will cast this
to HttpServletRequest
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |