com.idautomation.maxicode
Class IDAutomationServlet
java.lang.Object
javax.servlet.GenericServlet
javax.servlet.http.HttpServlet
com.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
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 |
IDAutomationServlet
public IDAutomationServlet()
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