org.jbind.example.maze
Class MazeServlet
java.lang.Object
HttpServlet
org.jbind.example.maze.MazeServlet
- public class MazeServlet
- extends HttpServlet
- See Also:
- Serialized Form
Method Summary |
void |
destroy()
|
protected void |
doGet(HttpServletRequest request,
HttpServletResponse response)
|
protected void |
doPost(HttpServletRequest request,
HttpServletResponse response)
|
void |
init(ServletConfig aConfig)
|
protected void |
processRequest(HttpServletRequest aRequest,
HttpServletResponse aResponse)
Determines the next room and renders the result. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MazeServlet
public MazeServlet()
init
public void init(ServletConfig aConfig)
throws ServletException
- Throws:
ServletException
destroy
public void destroy()
processRequest
protected void processRequest(HttpServletRequest aRequest,
HttpServletResponse aResponse)
throws ServletException,
java.io.IOException
- Determines the next room and renders the result.
- Parameters:
aRequest
- (required)aResponse
- (required)
- Throws:
ServletException
java.io.IOException
doGet
protected void doGet(HttpServletRequest request,
HttpServletResponse response)
throws ServletException,
java.io.IOException
- Throws:
ServletException
java.io.IOException
doPost
protected void doPost(HttpServletRequest request,
HttpServletResponse response)
throws ServletException,
java.io.IOException
- Throws:
ServletException
java.io.IOException