|
|
|||||||||
| 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.JwmaSendMail
Class extending the HttpServlet to implement the SendMail controller of jwma.
Please see the related documentation for more detailed information on process flow and functionality.
| Constructor Summary | |
JwmaSendMail()
|
|
| 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 JwmaSendMail()
| Method Detail |
public void init(javax.servlet.ServletConfig config)
throws javax.servlet.ServletException
This implementation just calls its superclass implementation.
init in interface javax.servlet.Servletinit in class javax.servlet.GenericServletjavax.servlet.ServletException - if initialization fails.
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 and just calls the only supported action (sendmessage).
Note:incoming data should be multipart/form-data encoded.
Application related errors/exceptions are handled internally by forwarding the request to an error page (or maybe inlining error information somewhen).
service in class javax.servlet.http.HttpServletreq - 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.ServletgetServletInfo in class javax.servlet.GenericServlet
|
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||