com.HybridServerPages
Class Base_AS

java.lang.Object
  extended by com.HybridServerPages.Base_AS

public class Base_AS
extends java.lang.Object

Derive application state class from this class


Field Summary
protected  javax.servlet.http.HttpServletRequest request
           
protected  javax.servlet.http.HttpServletResponse response
           
protected  javax.servlet.http.HttpSession session
           
 
Constructor Summary
protected Base_AS()
           
 
Method Summary
protected  void $handleAS(java.lang.String h1, java.lang.String h2)
          Override this method to process Application Level data.
protected  boolean $setNextPage(java.lang.String pn)
          Sets the next page to be shown.
 
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

response

protected javax.servlet.http.HttpServletResponse response

session

protected javax.servlet.http.HttpSession session
Constructor Detail

Base_AS

protected Base_AS()
Method Detail

$handleAS

protected void $handleAS(java.lang.String h1,
                         java.lang.String h2)
Override this method to process Application Level data. Called by the framework right after $handlePage

Parameters:
h1 - first (name) part (before ':') of HJ_Action HTTP parameter
h2 - second (value) part of HJ_Action HTTP parameter
Using the HJ_Action is optional as HTTP request is always available

$setNextPage

protected final boolean $setNextPage(java.lang.String pn)
Sets the next page to be shown. If called more than once the last call is effective

Parameters:
pn - name of the page a.k.a. full class name of the page
Returns:
false for all calls except the first one