|
Tynamo™-TINI v1.0.4 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjavax.servlet.GenericServlet
javax.servlet.http.HttpServlet
com.qindesign.servlet.example.OneWireSensorInclude
com.qindesign.servlet.example.FamilyCode20Include
public class FamilyCode20Include
Provides web access to family code 0x20 1-Wire devices (quad A/D converter).
To speed things up over ADInclude, this takes advantage of some
known things about the container, such as its resolution list.
This is designed to work with the OneWireServlet example.
OneWireServlet,
ADInclude,
Serialized Form| Constructor Summary | |
|---|---|
FamilyCode20Include()
|
|
| Method Summary | |
|---|---|
void |
destroy()
Destroys any resources consumed by the init() method. |
protected void |
doContainerGet(OneWireContainer c,
HttpServletRequest req,
HttpServletResponse resp,
ServletOutputStream out)
Performs the include just after printing the header. |
void |
init()
Initializes the servlet by pre-preparing some common HTML. |
| 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 |
|---|
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 |
|---|
public FamilyCode20Include()
| Method Detail |
|---|
public void init()
throws ServletException
init in class GenericServletServletExceptionpublic void destroy()
init() method.
destroy in interface Servletdestroy in class GenericServlet
protected void doContainerGet(OneWireContainer c,
HttpServletRequest req,
HttpServletResponse resp,
ServletOutputStream out)
throws IOException,
OneWireException
OneWireSensorInclude
doContainerGet in class OneWireSensorIncludeIOException
OneWireException
|
Tynamo™-TINI v1.0.4 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||