Package i2p.susi.webmail
Class WebMail
java.lang.Object
javax.servlet.GenericServlet
javax.servlet.http.HttpServlet
i2p.susi.webmail.WebMail
- All Implemented Interfaces:
Serializable
,Servlet
,ServletConfig
public class WebMail extends HttpServlet
- Author:
- susi23
- See Also:
- Serialized Form
-
Field Summary
Fields Modifier and Type Field Description static String
CONFIG_BACKGROUND_CHECK
static String
CONFIG_CHECK_MINUTES
static String
CONFIG_IDLE_SECONDS
(package private) static String
CONFIG_LEAVE_ON_SERVER
static String
DIR_DRAFTS
(package private) static String
DIR_FOLDER
static String
DIR_SENT
(package private) static String
SORT_DATE
(package private) static String
SORT_DEFAULT
(package private) static String
SORT_ID
(package private) static Folder.SortOrder
SORT_ORDER_DEFAULT
(package private) static String
SORT_SENDER
(package private) static String
SORT_SIZE
(package private) static String
SORT_SUBJECT
-
Constructor Summary
Constructors Constructor Description WebMail()
-
Method Summary
Modifier and Type Method Description void
doGet(HttpServletRequest request, HttpServletResponse response)
void
doPost(HttpServletRequest request, HttpServletResponse response)
(package private) static String
quoteHTML(String line)
prepare line for presentation between html tags Escapes html tagsMethods inherited from class javax.servlet.http.HttpServlet
doDelete, doHead, doOptions, doPut, doTrace, getLastModified, service, service
Methods inherited from class javax.servlet.GenericServlet
destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, init, log, log
-
Field Details
-
SORT_ID
- See Also:
- Constant Field Values
-
SORT_SENDER
- See Also:
- Constant Field Values
-
SORT_SUBJECT
- See Also:
- Constant Field Values
-
SORT_DATE
- See Also:
- Constant Field Values
-
SORT_SIZE
- See Also:
- Constant Field Values
-
SORT_DEFAULT
- See Also:
- Constant Field Values
-
SORT_ORDER_DEFAULT
-
DIR_FOLDER
- See Also:
- Constant Field Values
-
DIR_DRAFTS
-
DIR_SENT
-
CONFIG_LEAVE_ON_SERVER
- See Also:
- Constant Field Values
-
CONFIG_BACKGROUND_CHECK
- See Also:
- Constant Field Values
-
CONFIG_CHECK_MINUTES
- See Also:
- Constant Field Values
-
CONFIG_IDLE_SECONDS
- See Also:
- Constant Field Values
-
-
Constructor Details
-
WebMail
public WebMail()
-
-
Method Details
-
quoteHTML
prepare line for presentation between html tags Escapes html tags- Parameters:
line
- null OK- Returns:
- escaped string or "" for null input
-
doGet
public void doGet(HttpServletRequest request, HttpServletResponse response) throws IOException, ServletException- Overrides:
doGet
in classHttpServlet
- Throws:
IOException
ServletException
-
doPost
public void doPost(HttpServletRequest request, HttpServletResponse response) throws IOException, ServletException- Overrides:
doPost
in classHttpServlet
- Throws:
IOException
ServletException
-