Class MailerServlet

    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected org.apache.commons.validator.routines.EmailValidator emailValidator  
      protected String redirectSuccess  
      protected static String[] REQUIRED_FIELDS
      Constant REQUIRED_FIELDS="new String[] { sendto, subject, usernam"{trunked}
    • Constructor Summary

      Constructors 
      Constructor Description
      MailerServlet()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void doPost​(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
      void init()
      init
      • Methods inherited from class javax.servlet.http.HttpServlet

        doDelete, doGet, doHead, doOptions, doPut, doTrace, getLastModified, service, service
      • Methods inherited from class javax.servlet.GenericServlet

        destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, log, log
    • Field Detail

      • REQUIRED_FIELDS

        protected static final String[] REQUIRED_FIELDS
        Constant REQUIRED_FIELDS="new String[] { sendto, subject, usernam"{trunked}
      • redirectSuccess

        protected String redirectSuccess
      • emailValidator

        protected org.apache.commons.validator.routines.EmailValidator emailValidator
    • Constructor Detail

      • MailerServlet

        public MailerServlet()
    • Method Detail

      • init

        public void init()
                  throws javax.servlet.ServletException

        init

        Overrides:
        init in class javax.servlet.GenericServlet
        Throws:
        javax.servlet.ServletException - if any.
      • doPost

        public void doPost​(javax.servlet.http.HttpServletRequest request,
                           javax.servlet.http.HttpServletResponse response)
                    throws javax.servlet.ServletException,
                           IOException
        Overrides:
        doPost in class javax.servlet.http.HttpServlet
        Throws:
        javax.servlet.ServletException
        IOException