|
||||||||||
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 | +--dtw.webmail.JwmaController
Class extending the HttpServlet to implement the main controller of jwma.
Please see the related documentation for more detailed information on process flow and functionality.
Constructor Summary | |
JwmaController()
|
Method Summary | |
java.lang.String |
getServletInfo()
Returns servlet info as String. |
void |
init(javax.servlet.ServletConfig config)
Initializes the servlet when it is loaded by the servlet engine. |
void |
service(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res)
Handles the incoming requests. |
Methods inherited from class javax.servlet.http.HttpServlet |
doDelete, doGet, doOptions, doPost, doPut, doTrace, getLastModified, service |
Methods inherited from class javax.servlet.GenericServlet |
destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, 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 JwmaController()
Method Detail |
public void init(javax.servlet.ServletConfig config) throws javax.servlet.ServletException
This implementation "boots" jwma by starting up the JwmaKernel.
init
in interface javax.servlet.Servlet
init
in class javax.servlet.GenericServlet
config
- the configuration as ServletConfig
javax.servlet.ServletException
- if initialization fails.JwmaKernel
public void service(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res) throws javax.servlet.ServletException, java.io.IOException
This implementation ensures authenticated session existence, retrieves the acton and todo parameters, and dispatches all valid actions to the target dispatchers.
The flow of the process is described in the related documentation.
Application related errors/exceptions are handled by forwarding the request to an error page, or the actual page in case of an inlined error.
service
in class javax.servlet.http.HttpServlet
req
- a reference to the actual HttpServletRequest
instance.res
- a reference to the actual HttpServletResponse
instance.
javax.servlet.ServletException
- if servlet related operations fail.
java.io.IOException
- if i/o operations fail.public java.lang.String getServletInfo()
getServletInfo
in interface javax.servlet.Servlet
getServletInfo
in class javax.servlet.GenericServlet
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |