Tynamo™-SNAP
v1.0.4

com.qindesign.servlet.example
Class SwitchInclude

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

public class SwitchInclude
extends OneWireSensorInclude

Provides web access to SwitchContainer 1-Wire devices. This is designed to work with the OneWireServlet example.

Version:
1.0.4
Author:
Shawn Silverman
See Also:
OneWireServlet

Constructor Summary
SwitchInclude()
           
 
Method Summary
protected  void doContainerGet(OneWireContainer c, HttpServletRequest req, HttpServletResponse resp, ServletOutputStream out)
          Performs the include just after printing the header.
 
Methods inherited from class com.qindesign.servlet.example.OneWireSensorInclude
doGet, doPost
 
Methods inherited from class javax.servlet.http.HttpServlet
doDelete, 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
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SwitchInclude

public SwitchInclude()
Method Detail

doContainerGet

protected void doContainerGet(OneWireContainer c,
                              HttpServletRequest req,
                              HttpServletResponse resp,
                              ServletOutputStream out)
                       throws IOException,
                              OneWireException
Description copied from class: OneWireSensorInclude
Performs the include just after printing the header. This is the method that subclasses need to implement in order to processes a request.

Specified by:
doContainerGet in class OneWireSensorInclude
Throws:
IOException
OneWireException

Tynamo™-SNAP
v1.0.4

© 2001-2007 Shawn Silverman