com.mebigfatguy.tomailer
Class ToMailer

java.lang.Object
  extended by javax.servlet.GenericServlet
      extended by javax.servlet.http.HttpServlet
          extended by com.mebigfatguy.tomailer.ToMailer
All Implemented Interfaces:
java.io.Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig

public class ToMailer
extends javax.servlet.http.HttpServlet

the basic servlet that handles requests to convert web page html to email html

See Also:
Serialized Form

Constructor Summary
ToMailer()
           
 
Method Summary
 void doGet(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
          a handler for get requests, that just forwards to a Post handler.
 void doPost(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
          the main servlet processing method for converting web page html to email html
 
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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ToMailer

public ToMailer()
Method Detail

doGet

public void doGet(javax.servlet.http.HttpServletRequest request,
                  javax.servlet.http.HttpServletResponse response)
           throws java.io.IOException,
                  javax.servlet.ServletException
a handler for get requests, that just forwards to a Post handler. This shouldn't be used, but is here for completeness.

Overrides:
doGet in class javax.servlet.http.HttpServlet
Parameters:
request - the http request
response - the http response
Throws:
java.io.IOException
javax.servlet.ServletException

doPost

public void doPost(javax.servlet.http.HttpServletRequest request,
                   javax.servlet.http.HttpServletResponse response)
            throws java.io.IOException,
                   javax.servlet.ServletException
the main servlet processing method for converting web page html to email html

Overrides:
doPost in class javax.servlet.http.HttpServlet
Parameters:
request - the http request
response - the http response
Throws:
java.io.IOException
javax.servlet.ServletException


Copyright © 2009 MeBigFatGuy.com. All Rights Reserved.