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 StringCONFIG_BACKGROUND_CHECKstatic StringCONFIG_CHECK_MINUTESstatic StringCONFIG_IDLE_SECONDS(package private) static StringCONFIG_LEAVE_ON_SERVERstatic StringDIR_DRAFTS(package private) static StringDIR_FOLDERstatic StringDIR_SENT(package private) static StringSORT_DATE(package private) static StringSORT_DEFAULT(package private) static StringSORT_ID(package private) static Folder.SortOrderSORT_ORDER_DEFAULT(package private) static StringSORT_SENDER(package private) static StringSORT_SIZE(package private) static StringSORT_SUBJECT -
Constructor Summary
Constructors Constructor Description WebMail() -
Method Summary
Modifier and Type Method Description voiddoGet(HttpServletRequest request, HttpServletResponse response)voiddoPost(HttpServletRequest request, HttpServletResponse response)(package private) static StringquoteHTML(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, serviceMethods 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:
doGetin classHttpServlet- Throws:
IOExceptionServletException
-
doPost
public void doPost(HttpServletRequest request, HttpServletResponse response) throws IOException, ServletException- Overrides:
doPostin classHttpServlet- Throws:
IOExceptionServletException
-