Platform Explorer / Nuxeo Platform LTS 2015 7.10

Extension point 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>

Contribution Descriptor

Existing Contributions

  • nuxeo-opencmis-bindings-7.10-HF07.jar /OSGI-INF/json-contrib.xml
    <extension point="filterConfig" target="org.nuxeo.ecm.platform.web.common.requestcontroller.service.RequestControllerService">
        <filterConfig name="cmis-json" transactional="true">
          <pattern>/nuxeo/json/cmis(/.*)?</pattern>
        </filterConfig>
      </extension>
  • nuxeo-automation-server-7.10-HF07.jar /OSGI-INF/batch-upload-filter-contrib.xml
    <extension point="filterConfig" target="org.nuxeo.ecm.platform.web.common.requestcontroller.service.RequestControllerService">
    
        <filterConfig name="batchUpload" synchonize="false" transactional="false">
          <pattern>/nuxeo/site/automation/batch/upload
          </pattern>
        </filterConfig>
    
      </extension>
  • nuxeo-platform-ui-web-7.10-HF07.jar /OSGI-INF/request-controler-contrib.xml
    <extension point="filterConfig" target="org.nuxeo.ecm.platform.web.common.requestcontroller.service.RequestControllerService">
    
        <filterConfig name="SeamRemoting" synchonize="false" transactional="true">
          <pattern>/nuxeo/seam/resource/remoting/execute.*</pattern>
        </filterConfig>
    
        <filterConfig cacheTime="3600" cached="true" name="SeamRemotingInterface">
         <pattern>/nuxeo/seam/resource/remoting/interface.js.*</pattern>
        </filterConfig>
    
        <filterConfig cacheTime="3600" cached="true" name="tinymce">
          <pattern>/nuxeo/tinymce.*</pattern>
        </filterConfig>
    
      </extension>
  • nuxeo-annot-http-7.10.jar /OSGI-INF/annotations-transactional-contrib.xml
    <extension point="filterConfig" target="org.nuxeo.ecm.platform.web.common.requestcontroller.service.RequestControllerService">
        <filterConfig name="AnnotationsTransactional" synchonize="false" transactional="true">
          <pattern>/nuxeo/Annotations.*</pattern>
        </filterConfig>
        <filterConfig name="GWTAnnotationsTransactional" synchonize="false" transactional="true">
          <pattern>/nuxeo/org\.nuxeo\.ecm\.platform\.annotations\.gwt\.AnnotationModule/webConfiguration</pattern>
        </filterConfig>
        <filterConfig name="GWTAnnotationsFrameTransactional" synchonize="false" transactional="true">
          <pattern>/nuxeo/org\.nuxeo\.ecm\.platform\.annotations\.gwt\.AnnotationFrameModule/webConfiguration</pattern>
        </filterConfig>
      </extension>
  • nuxeo-platform-web-common-7.10-HF07.jar /OSGI-INF/web-request-controller-contrib.xml
    <extension point="filterConfig" target="org.nuxeo.ecm.platform.web.common.requestcontroller.service.RequestControllerService">
    
        <filterConfig cached="true" name="nxfile" private="true" synchonize="false" transactional="false">
          <!-- transaction is manually handled in DownloadServlet -->
          <pattern>/nuxeo/nxfile/.*</pattern>
        </filterConfig>
        <filterConfig cached="true" name="BigFileDownloaderRequest" private="true" synchonize="false" transactional="false">
          <!-- transaction is manually handled in DownloadServlet -->
          <pattern>/nuxeo/nxbigfile/.*</pattern>
        </filterConfig>
    
        <filterConfig cached="true" name="BigZipFileDownloaderRequest" private="true" synchonize="true" transactional="true">
          <pattern>/nuxeo/nxbigzipfile/.*</pattern>
        </filterConfig>
    
        <filterConfig cacheTime="3600" cached="true" name="img">
          <pattern>/nuxeo/img.*</pattern>
        </filterConfig>
    
        <filterConfig cacheTime="3600" cached="true" name="icons">
          <pattern>/nuxeo/icons.*</pattern>
        </filterConfig>
    
        <filterConfig cacheTime="3600" cached="true" name="js">
          <pattern>/nuxeo/js.*</pattern>
        </filterConfig>
    
        <filterConfig cacheTime="3600" cached="true" name="scripts">
          <pattern>/nuxeo/scripts.*</pattern>
        </filterConfig>
    
        <filterConfig cacheTime="3600" cached="true" name="waitdialog">
          <pattern>/nuxeo/waitdialog.*</pattern>
        </filterConfig>
    
      </extension>
  • nuxeo-opencmis-bindings-7.10-HF07.jar /OSGI-INF/soap-contrib.xml
    <extension point="filterConfig" target="org.nuxeo.ecm.platform.web.common.requestcontroller.service.RequestControllerService">
        <filterConfig name="cmis-jaxws" transactional="true">
          <pattern>/nuxeo/webservices/cmis/.*
          </pattern>
        </filterConfig>
      </extension>
  • nuxeo-webdav-7.10.jar /OSGI-INF/request-controller-contrib.xml
    <extension point="filterConfig" target="org.nuxeo.ecm.platform.web.common.requestcontroller.service.RequestControllerService">
    
        <filterConfig name="WebDAV" synchonize="false" transactional="true">
          <pattern>/nuxeo/site/dav.*</pattern>
        </filterConfig>
    
      </extension>
  • nuxeo-opencmis-bindings-7.10-HF07.jar /OSGI-INF/atom-contrib.xml
    <extension point="filterConfig" target="org.nuxeo.ecm.platform.web.common.requestcontroller.service.RequestControllerService">
        <filterConfig name="cmis-atom" transactional="true">
          <pattern>/nuxeo/atom/cmis(/.*)?</pattern>
        </filterConfig>
        <filterConfig name="cmis10-atom" transactional="true">
          <pattern>/nuxeo/atom/cmis10(/.*)?</pattern>
        </filterConfig>
      </extension>