incubator-sling-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From build...@apache.org
Subject svn commit: r857222 - in /websites/staging/sling/trunk/content: ./ documentation/the-sling-engine/filters.html
Date Thu, 04 Apr 2013 09:28:40 GMT
Author: buildbot
Date: Thu Apr  4 09:28:39 2013
New Revision: 857222

Log:
Staging update by buildbot for sling

Modified:
    websites/staging/sling/trunk/content/   (props changed)
    websites/staging/sling/trunk/content/documentation/the-sling-engine/filters.html

Propchange: websites/staging/sling/trunk/content/
------------------------------------------------------------------------------
--- cms:source-revision (original)
+++ cms:source-revision Thu Apr  4 09:28:39 2013
@@ -1 +1 @@
-1464388
+1464390

Modified: websites/staging/sling/trunk/content/documentation/the-sling-engine/filters.html
==============================================================================
--- websites/staging/sling/trunk/content/documentation/the-sling-engine/filters.html (original)
+++ websites/staging/sling/trunk/content/documentation/the-sling-engine/filters.html Thu Apr
 4 09:28:39 2013
@@ -181,27 +181,21 @@
 <p>Apart form the logs which tell you when filters are executed, two Sling plugins
provide information about filters in the OSGi console.</p>
 <h3 id="recent-requests-plugin">Recent Requests plugin</h3>
 <p>The request traces provided at <code>/system/console/requests</code>
contain information about filter execution, as in this example:</p>
-<p><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">
+<p><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</p>
+    8 (2010-09-08 15:22:38) TIMER_END{8,Request Processing} Request Processing
+</DIV></p>
 <h3 id="config-status-plugin">Config Status plugin</h3>
 <p>The configuration status page at <code>/system/console/config</code>
includes the current list of active filters in its <em>Servlet Filters</em> category,
as in this example:</p>
 <p><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">
@@ -210,30 +204,23 @@
 <span class="o">-</span><span class="mi">2147483648</span> <span
class="p">:</span> <span class="n">class</span> <span class="n">org</span><span
class="o">.</span><span class="n">apache</span><span class="o">.</span><span
class="n">sling</span><span class="o">.</span><span class="n">bgservlets</span><span
class="o">.</span><span class="n">impl</span><span class="o">.</span><span
class="n">BackgroundServletStarterFilter</span> <span class="p">(</span><span
class="mi">2547</span><span class="p">)</span>
 <span class="o">-</span><span class="mi">3000</span> <span class="p">:</span>
<span class="n">class</span> <span class="n">org</span><span class="o">.</span><span
class="n">apache</span><span class="o">.</span><span class="n">sling</span><span
class="o">.</span><span class="n">portal</span><span class="o">.</span><span
class="n">container</span><span class="o">.</span><span class="n">internal</span><span
class="o">.</span><span class="n">request</span><span class="o">.</span><span
class="n">PortalFilter</span> <span class="p">(</span><span class="mi">2562</span><span
class="p">)</span>
 <span class="o">-</span><span class="mi">2500</span> <span class="p">:</span>
<span class="n">class</span> <span class="n">org</span><span class="o">.</span><span
class="n">apache</span><span class="o">.</span><span class="n">sling</span><span
class="o">.</span><span class="n">rewriter</span><span class="o">.</span><span
class="n">impl</span><span class="o">.</span><span class="n">RewriterFilter</span>
<span class="p">(</span><span class="mi">3365</span><span class="p">)</span>
-<span class="o">-</span><span class="mi">2000</span> <span class="p">:</span>
<span class="n">class</span> <span class="n">com</span><span class="o">.</span><span
class="n">day</span><span class="o">.</span><span class="n">cq</span><span
class="o">.</span><span class="n">wcm</span><span class="o">.</span><span
class="n">core</span><span class="o">.</span><span class="n">impl</span><span
class="o">.</span><span class="n">WCMRequestFilter</span> <span class="p">(</span><span
class="mi">2548</span><span class="p">)</span>
 <span class="o">-</span><span class="mi">700</span> <span class="p">:</span>
<span class="n">class</span> <span class="n">org</span><span class="o">.</span><span
class="n">apache</span><span class="o">.</span><span class="n">sling</span><span
class="o">.</span><span class="n">i18n</span><span class="o">.</span><span
class="n">impl</span><span class="o">.</span><span class="n">I18NFilter</span>
<span class="p">(</span><span class="mi">2334</span><span class="p">)</span>
-<span class="o">-</span><span class="mi">600</span> <span class="p">:</span>
<span class="n">class</span> <span class="n">com</span><span class="o">.</span><span
class="n">day</span><span class="o">.</span><span class="n">cq</span><span
class="o">.</span><span class="n">theme</span><span class="o">.</span><span
class="n">impl</span><span class="o">.</span><span class="n">ThemeResolverFilter</span>
<span class="p">(</span><span class="mi">2244</span><span class="p">)</span>
-<span class="o">-</span><span class="mi">600</span> <span class="p">:</span>
<span class="n">class</span> <span class="n">com</span><span class="o">.</span><span
class="n">day</span><span class="o">.</span><span class="n">cq</span><span
class="o">.</span><span class="n">wcm</span><span class="o">.</span><span
class="n">foundation</span><span class="o">.</span><span class="n">forms</span><span
class="o">.</span><span class="n">impl</span><span class="o">.</span><span
class="n">FormsHandlingServlet</span> <span class="p">(</span><span
class="mi">2268</span><span class="p">)</span>
 <span class="mi">0</span> <span class="p">:</span> <span class="n">class</span>
<span class="n">org</span><span class="o">.</span><span class="n">apache</span><span
class="o">.</span><span class="n">sling</span><span class="o">.</span><span
class="n">engine</span><span class="o">.</span><span class="n">impl</span><span
class="o">.</span><span class="n">debug</span><span class="o">.</span><span
class="n">RequestProgressTrackerLogFilter</span> <span class="p">(</span><span
class="mi">2402</span><span class="p">)</span>
-<span class="mi">1000</span> <span class="p">:</span> <span class="n">class</span>
<span class="n">com</span><span class="o">.</span><span class="n">day</span><span
class="o">.</span><span class="n">cq</span><span class="o">.</span><span
class="n">wcm</span><span class="o">.</span><span class="n">mobile</span><span
class="o">.</span><span class="n">core</span><span class="o">.</span><span
class="n">impl</span><span class="o">.</span><span class="n">redirect</span><span
class="o">.</span><span class="n">RedirectFilter</span> <span class="p">(</span><span
class="mi">3363</span><span class="p">)</span>
 
 <span class="n">Error</span> <span class="n">Filters:</span>
 <span class="o">---</span>
 
 <span class="n">Include</span> <span class="n">Filters:</span>
-<span class="o">-</span><span class="mi">200</span> <span class="p">:</span>
<span class="n">class</span> <span class="n">com</span><span class="o">.</span><span
class="n">day</span><span class="o">.</span><span class="n">cq</span><span
class="o">.</span><span class="n">wcm</span><span class="o">.</span><span
class="n">core</span><span class="o">.</span><span class="n">impl</span><span
class="o">.</span><span class="n">WCMComponentFilter</span> <span
class="p">(</span><span class="mi">2583</span><span class="p">)</span>
-<span class="mi">1000</span> <span class="p">:</span> <span class="n">class</span>
<span class="n">com</span><span class="o">.</span><span class="n">day</span><span
class="o">.</span><span class="n">cq</span><span class="o">.</span><span
class="n">wcm</span><span class="o">.</span><span class="n">core</span><span
class="o">.</span><span class="n">impl</span><span class="o">.</span><span
class="n">WCMDebugFilter</span> <span class="p">(</span><span class="mi">2449</span><span
class="p">)</span>
 
 <span class="n">Forward</span> <span class="n">Filters:</span>
-<span class="o">-</span><span class="mi">200</span> <span class="p">:</span>
<span class="n">class</span> <span class="n">com</span><span class="o">.</span><span
class="n">day</span><span class="o">.</span><span class="n">cq</span><span
class="o">.</span><span class="n">wcm</span><span class="o">.</span><span
class="n">core</span><span class="o">.</span><span class="n">impl</span><span
class="o">.</span><span class="n">WCMComponentFilter</span> <span
class="p">(</span><span class="mi">2583</span><span class="p">)</span>
-<span class="mi">1000</span> <span class="p">:</span> <span class="n">class</span>
<span class="n">com</span><span class="o">.</span><span class="n">day</span><span
class="o">.</span><span class="n">cq</span><span class="o">.</span><span
class="n">wcm</span><span class="o">.</span><span class="n">core</span><span
class="o">.</span><span class="n">impl</span><span class="o">.</span><span
class="n">WCMDebugFilter</span> <span class="p">(</span><span class="mi">2449</span><span
class="p">)</span>
+<span class="mi">1000</span> <span class="p">:</span> <span class="n">class</span>
<span class="n">some</span><span class="o">.</span><span class="nb">package</span><span
class="o">.</span><span class="n">DebugFilter</span> <span class="p">(</span><span
class="mi">2449</span><span class="p">)</span>
 
 <span class="n">Component</span> <span class="n">Filters:</span>
-<span class="o">-</span><span class="mi">200</span> <span class="p">:</span>
<span class="n">class</span> <span class="n">com</span><span class="o">.</span><span
class="n">day</span><span class="o">.</span><span class="n">cq</span><span
class="o">.</span><span class="n">wcm</span><span class="o">.</span><span
class="n">core</span><span class="o">.</span><span class="n">impl</span><span
class="o">.</span><span class="n">WCMComponentFilter</span> <span
class="p">(</span><span class="mi">2583</span><span class="p">)</span>
-<span class="mi">1000</span> <span class="p">:</span> <span class="n">class</span>
<span class="n">com</span><span class="o">.</span><span class="n">day</span><span
class="o">.</span><span class="n">cq</span><span class="o">.</span><span
class="n">wcm</span><span class="o">.</span><span class="n">core</span><span
class="o">.</span><span class="n">impl</span><span class="o">.</span><span
class="n">WCMDebugFilter</span> <span class="p">(</span><span class="mi">2449</span><span
class="p">)</span>
+<span class="o">-</span><span class="mi">200</span> <span class="p">:</span>
<span class="n">class</span> <span class="n">some</span><span class="o">.</span><span
class="nb">package</span><span class="o">.</span><span class="n">SomeComponentFilter</span>
<span class="p">(</span><span class="mi">2583</span><span class="p">)</span>
 </pre></div>
 
 
+<p></DIV></p>
 <p>The first numbers on those lines are the filter priorities, and the last number
in parentheses is the OSGi service ID.</p>
 <h2 id="support-in-sling-engine-210">Support in Sling Engine 2.1.0</h2>
 <p>Up to and including Sling Engine 2.1.0 support for Servlet Filters has been as follows:</p>
@@ -243,7 +230,7 @@
 <li>Filter ordering is defined by the <code>filter.order</code> property
whose default value is <code>Integer.MAX_VALUE</code> where smaller values have
higher priority over higher values.</li>
 </ul>
       <div class="timestamp" style="margin-top: 30px; font-size: 80%; text-align: right;">
-        Rev. 1341376 by fmeschbe on Tue, 22 May 2012 09:41:06 +0000
+        Rev. 1464390 by bdelacretaz on Thu, 4 Apr 2013 09:28:32 +0000
       </div>
       <div class="trademarkFooter"> 
         Apache Sling, Sling, Apache, the Apache feather logo, and the Apache Sling project



Mime
View raw message