Nuxeo 5

Nuxeo 5 Component
org.nuxeo.ecm.platform.web.common.requestcontroller.service.RequestControllerService

Individual Documentation Coverage

done proportion
100.0 %


The Request Controller service provides an extension point to apply specific configuration
to httpRequest mapping a defined URL pattern. It's possible to handle synchronization, transaction or cache
configuration.



Author: Thierry Delprat ([email protected])

Version: missing

Location: nuxeo-services/nuxeo-platform-web-common/src/main/resources/OSGI-INF/web-request-controller-framework.xml

Require

No requirements

Required by

Not required

Implementation


Extension Points:

filterConfig


Define a new filterConfig.

-filterConfig
- name: name of the Filter.
- transactional: use transaction.
- synchonize: is synchronized
- cached: if true, add cache-control to header
- cacheTime: cache duration.
- private: if true, cache is private, public if false.

-pattern: url pattern to match

Example of a filterConfig Registration:

                    <filterConfig cached="true" cachetime="3600" name="filterName" private="true" synchonize="true" transactional="true">
                      <pattern>/nuxeo/urlPattern/.*</pattern>
                    </filterConfig>



Author: Thierry Delprat ([email protected])


Has contribution from:

Last generation: 18:17:20 CEST 25/08/2009