com.qindesign.servlet.example
Class NetBootInclude
java.lang.Object
javax.servlet.GenericServlet
javax.servlet.http.HttpServlet
com.qindesign.servlet.example.OneWireSensorInclude
com.qindesign.servlet.example.NetBootInclude
- All Implemented Interfaces:
- Serializable, Servlet, ServletConfig
public class NetBootInclude
- extends OneWireSensorInclude
Provides web access to NetBoot devices. This is designed to work with the
OneWireServlet example.
- Version:
- 1.0.4
- Author:
- Shawn Silverman
- See Also:
OneWireServlet,
Serialized Form
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NetBootInclude
public NetBootInclude()
init
public void init()
throws ServletException
- Initialize the servlet. This creates and fills a byte array with
0xff's, to be used when reading from the device.
- Overrides:
init in class GenericServlet
- Throws:
ServletException
destroy
public void destroy()
- Performs some cleanup.
- Specified by:
destroy in interface Servlet- Overrides:
destroy in class GenericServlet
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
© 2001-2007 Shawn Silverman