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
All Methods Static Methods Instance Methods Concrete Methods 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 tags-
Methods 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 Detail
-
SORT_ID
static final String SORT_ID
- See Also:
- Constant Field Values
-
SORT_SENDER
static final String SORT_SENDER
- See Also:
- Constant Field Values
-
SORT_SUBJECT
static final String SORT_SUBJECT
- See Also:
- Constant Field Values
-
SORT_DATE
static final String SORT_DATE
- See Also:
- Constant Field Values
-
SORT_SIZE
static final String SORT_SIZE
- See Also:
- Constant Field Values
-
SORT_DEFAULT
static final String SORT_DEFAULT
- See Also:
- Constant Field Values
-
SORT_ORDER_DEFAULT
static final Folder.SortOrder SORT_ORDER_DEFAULT
-
DIR_FOLDER
static final String DIR_FOLDER
- See Also:
- Constant Field Values
-
DIR_DRAFTS
public static final String DIR_DRAFTS
-
DIR_SENT
public static final String DIR_SENT
-
CONFIG_LEAVE_ON_SERVER
static final String CONFIG_LEAVE_ON_SERVER
- See Also:
- Constant Field Values
-
CONFIG_BACKGROUND_CHECK
public static final String CONFIG_BACKGROUND_CHECK
- See Also:
- Constant Field Values
-
CONFIG_CHECK_MINUTES
public static final String CONFIG_CHECK_MINUTES
- See Also:
- Constant Field Values
-
CONFIG_IDLE_SECONDS
public static final String CONFIG_IDLE_SECONDS
- See Also:
- Constant Field Values
-
-
Method Detail
-
quoteHTML
static String quoteHTML(String line)
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
-
-