|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.webstersmalley.chessweb.web.GameController
public final class GameController
Main controller servlet for the game.
| Constructor Summary | |
|---|---|
GameController()
|
|
| Method Summary | |
|---|---|
Board |
getBoard()
|
org.springframework.web.servlet.ModelAndView |
handleRequest(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Handles the request and forwards onto a model and view. |
void |
setBoard(Board board)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public GameController()
| Method Detail |
|---|
public Board getBoard()
public void setBoard(Board board)
board - The board to set.
public org.springframework.web.servlet.ModelAndView handleRequest(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws javax.servlet.ServletException,
java.io.IOException
handleRequest in interface org.springframework.web.servlet.mvc.Controllerrequest - the requestresponse - the response
javax.servlet.ServletException - when there's servlet problems
java.io.IOException - when there's IO problems
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||