|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectse.kmr.scam.client.http.CommandChainImpl
Constructor Summary | |
CommandChainImpl()
|
Method Summary | |
CommandResponse |
execute(HttpServletRequest request,
HttpServletResponse response)
Executes all commands that has been added to this chain. |
String |
getName()
Gets the identifier for this object. |
void |
init(Map args)
Description of the Method |
void |
setName(String name)
Sets the identifier for this object. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public CommandChainImpl()
Method Detail |
public void setName(String name)
setName
in interface CommandChain
name
- The new name valuepublic String getName()
getName
in interface CommandChain
public void init(Map args)
init
in interface CommandChain
args
- Description of the Parameterpublic CommandResponse execute(HttpServletRequest request, HttpServletResponse response) throws HttpException
Note: Important to create new instances of HttpCommand
to make the system thread-safe.
Note: Command.init(Hashtable)
on each of the commands
in the chain should have been performed.
request
- Description of the Parameterresponse
- Description of the Parameter
HttpException
- Description of the Exception
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |