|
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.ToggleLEDServlet
public class ToggleLEDServlet
This servlet toggles the CPU status LED on the TINI module.
| Constructor Summary | |
|---|---|
ToggleLEDServlet()
|
|
| Method Summary | |
|---|---|
protected void |
doGet(HttpServletRequest req,
HttpServletResponse resp)
Process a GET request. |
protected void |
doPost(HttpServletRequest req,
HttpServletResponse resp)
Calls the GET handler. |
void |
init()
Access the appropriate bit on the CPU. |
| 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, log, log |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ToggleLEDServlet()
| Method Detail |
|---|
public void init()
throws ServletException
init in class GenericServletServletException - if an unknown CPU is detected.
protected void doPost(HttpServletRequest req,
HttpServletResponse resp)
throws ServletException,
IOException
doPost in class HttpServletServletException
IOException
protected void doGet(HttpServletRequest req,
HttpServletResponse resp)
throws ServletException,
IOException
doGet in class HttpServletServletException
IOException
|
Tynamo™-TINI v1.0.4 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||