Home » commons-chain-1.2-src » org.apache.commons » chain » web » servlet »

org.apache.commons.chain.web.servlet

Classes:

ChainProcessor  

Custom subclass of ChainServlet that also dispatches incoming requests to a configurable Command loaded from the specified Catalog .

In addition to the servlet init parameters supported by ChainServlet , this class supports the following additional parameters:

  • org.apache.commons.chain.CATALOG - Name of the catalog from which to acquire commands to be executed. 
code | html
MockHttpServletRequest     code | html
MockHttpServletResponse     code | html
MockHttpSession     code | html
MockServletContext     code | html
PathInfoMapper  

Command that uses the "path info" component of the request URI to select a Command from the appropriate Catalog , and execute it. 

code | html
RequestParameterMapper  

Command that uses a specified request parameter to select a Command from the appropriate Catalog , and execute it. 

code | html
ServletApplicationScopeMap  

Private implementation of Map for servlet context attributes.

 
code | html
ServletCookieMap  

Private implementation of Map for servlet cookies

 
code | html
ServletGetLocaleCommand  

Concrete implementation of AbstractGetLocaleCommand for the Servlet API.

 
code | html
ServletHeaderMap  

Private implementation of Map for servlet request name-value.

 
code | html
ServletHeaderValuesMap  

Private implementation of Map for servlet request name-values[].

 
code | html
ServletInitParamMap  

Private implementation of Map for servlet context init parameters.

 
code | html
ServletParamMap  

Private implementation of Map for servlet parameter name-value.

 
code | html
ServletParamValuesMap  

Private implementation of Map for servlet parameter name-values[].

 
code | html
ServletPathMapper  

Command that uses the "servlet path" component of the request URI to select a Command from the appropriate Catalog , and execute it. 

code | html
ServletRequestScopeMap  

Private implementation of Map for servlet request attributes.

 
code | html
ServletSessionScopeMap  

Private implementation of Map for HTTP session attributes.

 
code | html
ServletSetLocaleCommand  

Concrete implementation of AbstractSetLocaleCommand for the Servlet API.

 
code | html
ServletWebContext  

Concrete implementation of WebContext suitable for use in Servlets and JSP pages. 

code | html

All Test Cases:

ServletGetLocaleCommandTestCase     code | html
ServletSetLocaleCommandTestCase     code | html
ServletWebContextTestCase   Extension of ContextBaseTestCase to validate the extra functionality of this implementation.  code | html