Modifier and Type | Method and Description |
---|---|
void |
addAction(Action action)
Registers an action.
|
void |
handleWebRequest(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res)
Handles a request from a web client.
|
String |
toString() |
public final void addAction(Action action)
public void handleWebRequest(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res) throws Exception
Various actions expect action-specific parameters via the request object parameter. This parameters can be set programatically or via the web client and optionally, actions can also return results via setting them in the request object. The documentation for each action method should give more detail.
- Param name:act
Param value: A case-insenstive class name of theAction
class that will be invoked (for example: "showdir"). Case is not important but using all lower case names will save a few machine cycles. This should match the name with which a particular action object was constructed.
Exception
- if the action parameter is missing or not understood