Class RequestParameterMapper

java.lang.Object
org.apache.commons.chain.generic.LookupCommand<ServletWebContext>
org.apache.commons.chain.web.javax.servlet.RequestParameterMapper
All Implemented Interfaces:
Command<ServletWebContext>, Filter<ServletWebContext>

Command that uses a specified request parameter to select a Command from the appropriate Catalog, and execute it. To use this command, you would typically map an instance of ChainProcessor to a wildcard pattern like "*.execute" and then arrange that this is the default command to be executed. In such an environment, a request for the context-relative path "/foo.execute?command=bar" would cause the "/bar" command to be loaded and executed.
Author:
Craig R. McClanahan