Class PathInfoMapper

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

Command that uses the "path info" component of the request URI 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 URI "/execute/foo" would cause the "/foo" command to be loaded and executed.
Author:
Craig R. McClanahan