|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object javax.servlet.GenericServlet javax.servlet.http.HttpServlet org.apache.avalon.fortress.examples.servlet.servlet
Servlet based Fortress container example.
Constructor Summary | |
servlet()
|
Method Summary | |
void |
destroy()
Disposes of container manager and container instance. |
void |
init()
Initializes Servlet and creates a ServletContainer instance |
void |
service(javax.servlet.ServletRequest request,
javax.servlet.ServletResponse response)
Pass all servlet requests through to container to be handled. |
Methods inherited from class javax.servlet.http.HttpServlet |
doDelete, doGet, doHead, doOptions, doPost, doPut, doTrace, getLastModified, service |
Methods inherited from class javax.servlet.GenericServlet |
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 servlet()
Method Detail |
public void init() throws javax.servlet.ServletException
ServletContainer
instance
javax.servlet.ServletException
- if an error occurspublic void service(javax.servlet.ServletRequest request, javax.servlet.ServletResponse response) throws java.io.IOException, javax.servlet.ServletException
request
- a ServletRequest
instanceresponse
- a ServletResponse
instance
java.io.IOException
- if an IO error occurs
javax.servlet.ServletException
- if a servlet error occurspublic void destroy()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |