com.idautomation.maxicode
Class IDAutomationServlet

java.lang.Object
  extended byjavax.servlet.GenericServlet
      extended byjavax.servlet.http.HttpServlet
          extended bycom.idautomation.maxicode.IDAutomationServlet
All Implemented Interfaces:
java.io.Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig

public class IDAutomationServlet
extends javax.servlet.http.HttpServlet

This is the MaxiCode servlet that creates a barcode from the MaxiCode class.

See Also:
Serialized Form

Constructor Summary
IDAutomationServlet()
           
 
Method Summary
 java.awt.Color convertColor(java.lang.String c)
           
 void doGet(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
           
 void doPost(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
           
 MaxiCode getBarcode(javax.servlet.http.HttpServletRequest request)
           
 void init()
          Handle the HTTP POST method by sending an e-mail
 
Methods inherited from class javax.servlet.http.HttpServlet
service
 
Methods inherited from class javax.servlet.GenericServlet
destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, log, log
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IDAutomationServlet

public IDAutomationServlet()
Method Detail

init

public void init()
          throws javax.servlet.ServletException
Handle the HTTP POST method by sending an e-mail

Throws:
javax.servlet.ServletException

getBarcode

public MaxiCode getBarcode(javax.servlet.http.HttpServletRequest request)

convertColor

public java.awt.Color convertColor(java.lang.String c)

doGet

public void doGet(javax.servlet.http.HttpServletRequest request,
                  javax.servlet.http.HttpServletResponse response)
           throws javax.servlet.ServletException,
                  java.io.IOException
Throws:
javax.servlet.ServletException
java.io.IOException

doPost

public void doPost(javax.servlet.http.HttpServletRequest request,
                   javax.servlet.http.HttpServletResponse response)
            throws javax.servlet.ServletException
Throws:
javax.servlet.ServletException