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/10/03 14:41:08 UTC

svn commit: r1528829 - /sling/trunk/bundles/api/src/main/java/org/apache/sling/api/servlets/OptingServlet.java

Author: bdelacretaz
Date: Thu Oct  3 12:41:07 2013
New Revision: 1528829

URL: http://svn.apache.org/r1528829
Log:
Add performance note to the OptingServlet's javadoc

Modified:
    sling/trunk/bundles/api/src/main/java/org/apache/sling/api/servlets/OptingServlet.java

Modified: sling/trunk/bundles/api/src/main/java/org/apache/sling/api/servlets/OptingServlet.java
URL: http://svn.apache.org/viewvc/sling/trunk/bundles/api/src/main/java/org/apache/sling/api/servlets/OptingServlet.java?rev=1528829&r1=1528828&r2=1528829&view=diff
==============================================================================
--- sling/trunk/bundles/api/src/main/java/org/apache/sling/api/servlets/OptingServlet.java (original)
+++ sling/trunk/bundles/api/src/main/java/org/apache/sling/api/servlets/OptingServlet.java Thu Oct  3 12:41:07 2013
@@ -29,6 +29,11 @@ import aQute.bnd.annotation.ConsumerType
  * <code>Servlets</code> used by Sling which may choose to not handle all
  * requests for which they would be selected based on their registration
  * properties.
+ *
+ * Note that servlets implementing this interface can have an impact
+ * on system performance, as their resolution cannot be cached: the 
+ * resolver has no insight into which parts of the request cause
+ * {@link #accepts} to return true.
  */
 @ConsumerType
 public interface OptingServlet extends Servlet {