Class ShowEmailServlet

java.lang.Object
   |
   +----javax.servlet.GenericServlet
           |
           +----javax.servlet.http.HttpServlet
                   |
                   +----ShowEmailServlet

public class ShowEmailServlet
extends HttpServlet
implements SingleThreadModel

Constructor Index

 o ShowEmailServlet()

Method Index

 o doGet(HttpServletRequest, HttpServletResponse)
 o doPost(HttpServletRequest, HttpServletResponse)
Shows select headers of the email
 o init(ServletConfig)
 o selectEmails(String)

Constructors

 o ShowEmailServlet
 public ShowEmailServlet()

Methods

 o init
 public void init(ServletConfig config) throws ServletException
Overrides:
init in class GenericServlet
 o selectEmails
 public void selectEmails(String condition)
Parameters:
String - condition condition on whose basis the emails from the INBOX are selected
 o doPost
 public void doPost(HttpServletRequest request,
                    HttpServletResponse response) throws ServletException, IOException
Shows select headers of the email

Overrides:
doPost in class HttpServlet
 o doGet
 public void doGet(HttpServletRequest request,
                   HttpServletResponse response) throws ServletException, IOException
Overrides:
doGet in class HttpServlet