|
Tynamo™-SNAP 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
public abstract class OneWireSensorInclude
The purpose of this class is to provide a base-point for handling specific
1-Wire containers that extend from OneWireSensor.
This does a few basic things:
OneWireContainer being passed by the request.
This is designed to work with the OneWireServlet example.
OneWireServlet| Constructor Summary | |
|---|---|
OneWireSensorInclude()
|
|
| Method Summary | |
|---|---|
protected abstract void |
doContainerGet(OneWireContainer c,
HttpServletRequest req,
HttpServletResponse resp,
ServletOutputStream out)
Performs the include just after printing the header. |
protected void |
doGet(HttpServletRequest req,
HttpServletResponse resp)
Processes a GET request. |
protected void |
doPost(HttpServletRequest req,
HttpServletResponse resp)
Processes a POST request. |
| 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 |
|---|
public OneWireSensorInclude()
| Method Detail |
|---|
protected final void doPost(HttpServletRequest req,
HttpServletResponse resp)
throws ServletException,
IOException
doGet.
doPost in class HttpServletServletException
IOException
protected final void doGet(HttpServletRequest req,
HttpServletResponse resp)
throws ServletException,
IOException
doContainerGet method to process a request.
doGet in class HttpServletServletException
IOExceptiondoContainerGet(OneWireContainer, HttpServletRequest, HttpServletResponse, ServletOutputStream)
protected abstract void doContainerGet(OneWireContainer c,
HttpServletRequest req,
HttpServletResponse resp,
ServletOutputStream out)
throws IOException,
OneWireException
IOException
OneWireException
|
Tynamo™-SNAP v1.0.4 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||