|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.davesag.generica.controller.AbstractController
The AbstractController is the root class for all controllers.
| Field Summary | |
protected ActionForm |
theForm
the ActionForm |
protected HttpServletRequest |
theRequest
the request |
protected HttpServletResponse |
theResponse
the request |
protected HttpSession |
theSession
the session |
| Constructor Summary | |
AbstractController()
Creates a new AbstractController object. |
|
| Method Summary | |
ServletContext |
getApplication()
get the web application. |
ActionForm |
getForm()
get the form bean. |
Locale |
getLocale()
get the current active locale. |
HttpServletRequest |
getRequest()
get the Request. |
HttpServletResponse |
getResponse()
get the response. |
HttpSession |
getSession()
get the http session. |
void |
setForm(ActionForm form)
Sets the struts action form. |
void |
setRequest(HttpServletRequest request)
Sets the servlet request. |
void |
setResponse(HttpServletResponse response)
Sets the servlet response. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
protected HttpServletRequest theRequest
protected HttpServletResponse theResponse
protected HttpSession theSession
protected ActionForm theForm
| Constructor Detail |
public AbstractController()
| Method Detail |
public void setRequest(HttpServletRequest request)
setRequest in interface Controllerrequest - The incoming request.public void setResponse(HttpServletResponse response)
setResponse in interface Controllerresponse - The incoming request.public void setForm(ActionForm form)
setForm in interface Controllerform - The form.public HttpServletRequest getRequest()
public HttpServletResponse getResponse()
public HttpSession getSession()
public ActionForm getForm()
public ServletContext getApplication()
public Locale getLocale()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||