Class MailUsersServlet

    • Field Detail

      • request

        public static javax.servlet.http.HttpServletRequest request
      • response

        public static javax.servlet.http.HttpServletRequest response
    • Constructor Detail

      • MailUsersServlet

        public MailUsersServlet()
    • Method Detail

      • doGet

        public void doGet​(javax.servlet.http.HttpServletRequest request,
                          javax.servlet.http.HttpServletResponse response)
                   throws javax.servlet.ServletException,
                          IOException
        Description copied from class: VitroHttpServlet
        doGet does nothing.
        Overrides:
        doGet in class VitroHttpServlet
        Throws:
        javax.servlet.ServletException
        IOException
      • doPost

        public void doPost​(javax.servlet.http.HttpServletRequest request,
                           javax.servlet.http.HttpServletResponse response)
                    throws javax.servlet.ServletException,
                           IOException
        Description copied from class: VitroHttpServlet
        doPost does the same thing as the doGet method
        Overrides:
        doPost in class VitroHttpServlet
        Throws:
        javax.servlet.ServletException
        IOException
      • stripProtocol

        public String stripProtocol​(String in)
        Intended to mangle url so it can get through spam filtering http://host/dir/servlet?param=value -> host: dir/servlet?param=value