ch3.reorganised
Class HelperBase

java.lang.Object
  extended by ch3.reorganised.HelperBase
Direct Known Subclasses:
ControllerHelper

public class HelperBase
extends java.lang.Object

This class contains member variables and methods that are common to all controllers.


Field Summary
protected  javax.servlet.http.HttpServletRequest request
          Stores the request object that is passes to the contstructor.
protected  javax.servlet.http.HttpServletResponse response
          Stores the response object that is passes to the contstructor.
 
Constructor Summary
HelperBase(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
          The values of the request and response objects must be passed to the constructor.
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

request

protected javax.servlet.http.HttpServletRequest request
Stores the request object that is passes to the contstructor.


response

protected javax.servlet.http.HttpServletResponse response
Stores the response object that is passes to the contstructor.

Constructor Detail

HelperBase

public HelperBase(javax.servlet.http.HttpServletRequest request,
                  javax.servlet.http.HttpServletResponse response)
The values of the request and response objects must be passed to the constructor. There is no default constructor for this class.

Parameters:
request - The object that encapsulates the request information that is needed to communicate with the browser.
response - The object that encapsulates the response information that is needed to communicate with the browser.