Tynamo™-TINI
v1.0.4

com.qindesign.servlet.example
Class OneWireServlet

java.lang.Object
  extended by javax.servlet.GenericServlet
      extended by javax.servlet.http.HttpServlet
          extended by com.qindesign.servlet.example.OneWireServlet
All Implemented Interfaces:
Serializable, Servlet, ServletConfig

public class OneWireServlet
extends HttpServlet

Allows the user to explore 1-Wire devices on a system.

Version:
1.0.4
Author:
Shawn Silverman
See Also:
Serialized Form

Constructor Summary
OneWireServlet()
           
 
Method Summary
 void destroy()
          Destroys any resources consumed by the init() method.
protected  void doGet(HttpServletRequest req, HttpServletResponse resp)
          Process a GET request.
protected  void doPost(HttpServletRequest req, HttpServletResponse resp)
          Process a POST request.
 void init()
          Initializes the servlet.
 
Methods inherited from class javax.servlet.http.HttpServlet
doDelete, doOptions, doPut, doTrace, getLastModified, service, service
 
Methods inherited from class javax.servlet.GenericServlet
getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, log, log
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OneWireServlet

public OneWireServlet()
Method Detail

init

public void init()
          throws ServletException
Initializes the servlet.

Overrides:
init in class GenericServlet
Throws:
ServletException

destroy

public void destroy()
Destroys any resources consumed by the init() method.

Specified by:
destroy in interface Servlet
Overrides:
destroy in class GenericServlet

doPost

protected void doPost(HttpServletRequest req,
                      HttpServletResponse resp)
               throws ServletException,
                      IOException
Process a POST request. This forwards to the GET processing.

Overrides:
doPost in class HttpServlet
Throws:
ServletException
IOException

doGet

protected void doGet(HttpServletRequest req,
                     HttpServletResponse resp)
              throws ServletException,
                     IOException
Process a GET request.

Overrides:
doGet in class HttpServlet
Throws:
ServletException
IOException

Tynamo™-TINI
v1.0.4

© 2001-2007 Shawn Silverman