Class ServletPathMapper

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

Command that uses the "servlet path" 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 an extension pattern like "*.execute" and then arrange that this is the default command to be executed. In such an environment, a request for a context relative URI of "/foo.execute" would cause the "/foo.execute" command to be loaded and executed.
Author:
Craig R. McClanahan