You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sling.apache.org by bd...@apache.org on 2013/04/04 11:28:33 UTC
svn commit: r1464390 -
/sling/site/trunk/content/documentation/the-sling-engine/filters.mdtext
Author: bdelacretaz
Date: Thu Apr 4 09:28:32 2013
New Revision: 1464390
URL: http://svn.apache.org/r1464390
Log:
SLING-2811 - remove commercial product class names
Modified:
sling/site/trunk/content/documentation/the-sling-engine/filters.mdtext
Modified: sling/site/trunk/content/documentation/the-sling-engine/filters.mdtext
URL: http://svn.apache.org/viewvc/sling/site/trunk/content/documentation/the-sling-engine/filters.mdtext?rev=1464390&r1=1464389&r2=1464390&view=diff
==============================================================================
--- sling/site/trunk/content/documentation/the-sling-engine/filters.mdtext (original)
+++ sling/site/trunk/content/documentation/the-sling-engine/filters.mdtext Thu Apr 4 09:28:32 2013
@@ -67,27 +67,21 @@ Apart form the logs which tell you when
### Recent Requests plugin
The request traces provided at `/system/console/requests` contain information about filter execution, as in this example:
-<DIV class="code panel" style="border-style: solid;border-width: 1px;"><DIV class="codeHeader panelHeader" style="border-bottom-width: 1px;border-bottom-style: solid;"><B>Recent Requests plugin info</B></DIV><DIV class="codeContent panelContent">
+<DIV class="code panel" style="border-style: solid;border-width: 1px;"><DIV class="codeHeader panelHeader" style="border-bottom-width: 1px;border-bottom-style: solid;"><B>Config Status plugin info</B></DIV><DIV class="codeContent panelContent">
0 (2010-09-08 15:22:38) TIMER_START{Request Processing}
...
- 0 (2010-09-08 15:22:38) LOG Method=GET, PathInfo=/libs/wcm/core/content/siteadmin.html
+ 0 (2010-09-08 15:22:38) LOG Method=GET, PathInfo=/some/path.html
3 (2010-09-08 15:22:38) LOG Applying request filters
3 (2010-09-08 15:22:38) LOG Calling filter: org.apache.sling.bgservlets.impl.BackgroundServletStarterFilter
3 (2010-09-08 15:22:38) LOG Calling filter: org.apache.sling.portal.container.internal.request.PortalFilter
3 (2010-09-08 15:22:38) LOG Calling filter: org.apache.sling.rewriter.impl.RewriterFilter
- 3 (2010-09-08 15:22:38) LOG Calling filter: com.day.cq.wcm.core.impl.WCMRequestFilter
3 (2010-09-08 15:22:38) LOG Calling filter: org.apache.sling.i18n.impl.I18NFilter
- 3 (2010-09-08 15:22:38) LOG Calling filter: com.day.cq.theme.impl.ThemeResolverFilter
- 3 (2010-09-08 15:22:38) LOG Calling filter: com.day.cq.wcm.foundation.forms.impl.FormsHandlingServlet
3 (2010-09-08 15:22:38) LOG Calling filter: org.apache.sling.engine.impl.debug.RequestProgressTrackerLogFilter
- 3 (2010-09-08 15:22:38) LOG Calling filter: com.day.cq.wcm.mobile.core.impl.redirect.RedirectFilter
- 3 (2010-09-08 15:22:38) LOG RedirectFilter did not redirect (MobileUtil.isMobileResource() returns false)
3 (2010-09-08 15:22:38) LOG Applying inner filters
- 3 (2010-09-08 15:22:38) LOG Calling filter: com.day.cq.wcm.core.impl.WCMComponentFilter
- 3 (2010-09-08 15:22:38) LOG Calling filter: com.day.cq.wcm.core.impl.WCMDebugFilter
- 3 (2010-09-08 15:22:38) TIMER_START{/libs/cq/ui/components/widget/html.jsp#0}
+ 3 (2010-09-08 15:22:38) TIMER_START{/some/script.jsp#0}
...
8 (2010-09-08 15:22:38) TIMER_END{8,Request Processing} Request Processing
+</DIV>
### Config Status plugin
@@ -100,28 +94,20 @@ The configuration status page at `/syste
-2147483648 : class org.apache.sling.bgservlets.impl.BackgroundServletStarterFilter (2547)
-3000 : class org.apache.sling.portal.container.internal.request.PortalFilter (2562)
-2500 : class org.apache.sling.rewriter.impl.RewriterFilter (3365)
- -2000 : class com.day.cq.wcm.core.impl.WCMRequestFilter (2548)
-700 : class org.apache.sling.i18n.impl.I18NFilter (2334)
- -600 : class com.day.cq.theme.impl.ThemeResolverFilter (2244)
- -600 : class com.day.cq.wcm.foundation.forms.impl.FormsHandlingServlet (2268)
0 : class org.apache.sling.engine.impl.debug.RequestProgressTrackerLogFilter (2402)
- 1000 : class com.day.cq.wcm.mobile.core.impl.redirect.RedirectFilter (3363)
Error Filters:
---
Include Filters:
- -200 : class com.day.cq.wcm.core.impl.WCMComponentFilter (2583)
- 1000 : class com.day.cq.wcm.core.impl.WCMDebugFilter (2449)
Forward Filters:
- -200 : class com.day.cq.wcm.core.impl.WCMComponentFilter (2583)
- 1000 : class com.day.cq.wcm.core.impl.WCMDebugFilter (2449)
+ 1000 : class some.package.DebugFilter (2449)
Component Filters:
- -200 : class com.day.cq.wcm.core.impl.WCMComponentFilter (2583)
- 1000 : class com.day.cq.wcm.core.impl.WCMDebugFilter (2449)
-
+ -200 : class some.package.SomeComponentFilter (2583)
+</DIV>
The first numbers on those lines are the filter priorities, and the last number in parentheses is the OSGi service ID.
@@ -132,4 +118,4 @@ Up to and including Sling Engine 2.1.0 s
* Any `javax.servlet.Filter` service is accepted as a filter for Sling unless the `pattern` property used by the [Apache Felix HttpService whiteboard support]({{ refs.http://felix.apache.org/site/apache-felix-http-service.html#ApacheFelixHTTPService-UsingtheWhiteboard.path }}) is set in the service registration properties.
* The `filter.scope` property is optional and supports the case-sensitive values `request` and `component`.
-* Filter ordering is defined by the `filter.order` property whose default value is `Integer.MAX_VALUE` where smaller values have higher priority over higher values.
\ No newline at end of file
+* Filter ordering is defined by the `filter.order` property whose default value is `Integer.MAX_VALUE` where smaller values have higher priority over higher values.