public interface RequestHandler
Modifier and Type | Field and Description |
---|---|
static String |
ACTION_SHOW_SCREEN
Identifier for show screen action
|
Modifier and Type | Method and Description |
---|---|
CommandResponse |
actionShowScreen(CommandRequest req)
This method is called by the controller servlet when a screen display is requested
|
CommandResponse |
afterInvokeAction(CommandRequest req,
CommandResponse action)
This method is called after invoking the actionXXXX method, which returned a
CommandAction object (or null).
|
CommandResponse |
beforeInvokeAction(CommandRequest req)
This method is called before invoking the actionXXXX method.
|
CommandResponse |
execute(CommandRequest req)
This method is called to execute the command requested.
|
boolean |
isShowScreenAction(CommandRequest req)
Returns true if current action must handle the show screen command
|
static final String ACTION_SHOW_SCREEN
CommandResponse actionShowScreen(CommandRequest req) throws Exception
req
- CommandRequest request object just processed.Exception
CommandResponse afterInvokeAction(CommandRequest req, CommandResponse action)
req
- CommandRequest request object just processed.action
- CommandResponse action action returned by command.CommandResponse beforeInvokeAction(CommandRequest req)
req
- CommandRequest request object just processed.CommandResponse execute(CommandRequest req) throws Exception
req
- CommandRequest request to be executed.Exception
boolean isShowScreenAction(CommandRequest req)
req
- Copyright © 2012-2014 JBoss by Red Hat. All Rights Reserved.