Class ShowEmailServlet
java.lang.Object
|
+----javax.servlet.GenericServlet
|
+----javax.servlet.http.HttpServlet
|
+----ShowEmailServlet
- public class ShowEmailServlet
- extends HttpServlet
- implements SingleThreadModel
-
ShowEmailServlet()
-
-
doGet(HttpServletRequest, HttpServletResponse)
-
-
doPost(HttpServletRequest, HttpServletResponse)
- Shows select headers of the email
-
init(ServletConfig)
-
-
selectEmails(String)
-
ShowEmailServlet
public ShowEmailServlet()
init
public void init(ServletConfig config) throws ServletException
- Overrides:
- init in class GenericServlet
selectEmails
public void selectEmails(String condition)
- Parameters:
- String - condition condition on whose basis the emails from the INBOX
are selected
doPost
public void doPost(HttpServletRequest request,
HttpServletResponse response) throws ServletException, IOException
- Shows select headers of the email
- Overrides:
- doPost in class HttpServlet
doGet
public void doGet(HttpServletRequest request,
HttpServletResponse response) throws ServletException, IOException
- Overrides:
- doGet in class HttpServlet