|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jahia.utils.ActionHandler
public class ActionHandler
Class ActionHandler: determines the method to invoke for an Application (typically a Web Application), given an action.
| Constructor Summary | |
|---|---|
ActionHandler(java.lang.String propsFile,
java.lang.String theClass)
Class constructor: builds the hashtable by reading a flat file. |
|
| Method Summary | |
|---|---|
java.lang.Object |
call(java.lang.Object instanceOfClass,
java.lang.String action,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Calls the appropriate method given the action. |
java.lang.Object |
call(java.lang.String action,
javax.servlet.http.HttpServletRequest request)
Calls the appropriate method given the action. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ActionHandler(java.lang.String propsFile,
java.lang.String theClass)
propsFile - the full path to the file containing pairs of
"action - method name"theClass - the name of the Class on which to call the methods| Method Detail |
|---|
public java.lang.Object call(java.lang.String action,
javax.servlet.http.HttpServletRequest request)
throws java.lang.NullPointerException
action - the action that triggers the method to callrequest - the request parameter for the method
java.lang.NullPointerException
public java.lang.Object call(java.lang.Object instanceOfClass,
java.lang.String action,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws java.lang.NullPointerException
action - the action that triggers the method to callrequest - the request parameter for the methodresponse - the response parameter for the method
java.lang.NullPointerException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||