You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by kk...@apache.org on 2011/11/10 00:55:14 UTC

svn commit: r1200048 - /tomcat/trunk/java/org/apache/catalina/Globals.java

Author: kkolinko
Date: Wed Nov  9 23:55:13 2011
New Revision: 1200048

URL: http://svn.apache.org/viewvc?rev=1200048&view=rev
Log:
Add constant for the "org.apache.tomcat." attribute name prefix.
Move ASYNC_SUPPORTED_ATTR up to other *_ATTR constants.

Modified:
    tomcat/trunk/java/org/apache/catalina/Globals.java

Modified: tomcat/trunk/java/org/apache/catalina/Globals.java
URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/catalina/Globals.java?rev=1200048&r1=1200047&r2=1200048&view=diff
==============================================================================
--- tomcat/trunk/java/org/apache/catalina/Globals.java (original)
+++ tomcat/trunk/java/org/apache/catalina/Globals.java Wed Nov  9 23:55:13 2011
@@ -156,6 +156,15 @@ public final class Globals {
 
 
     /**
+     * All request attributes which names start with this prefix are used by
+     * connector implementations. They are passed down to coyoteRequest and back
+     * up. See <code>Request.setAttribute(String, Object)</code>.
+     */
+    public static final String TOMCAT_CONNECTOR_ATTR_PREFIX =
+        "org.apache.tomcat.";
+
+
+    /**
      * The request attribute that is set to the value of {@code Boolean.TRUE}
      * if connector processing this request supports Comet API.
      */
@@ -226,6 +235,13 @@ public final class Globals {
 
 
     /**
+     *
+     */
+    public static final String ASYNC_SUPPORTED_ATTR =
+        "org.apache.catalina.ASYNC_SUPPORTED";
+
+
+    /**
      * The request attribute that is set to {@code Boolean.TRUE} if some request
      * parameters have been ignored during request parameters parsing. It can
      * happen, for example, if there is a limit on the total count of parseable
@@ -250,12 +266,6 @@ public final class Globals {
     public static final boolean IS_SECURITY_ENABLED =
         (System.getSecurityManager() != null);
 
-    /**
-     *
-     */
-    public static final String ASYNC_SUPPORTED_ATTR =
-        "org.apache.catalina.ASYNC_SUPPORTED";
-
 
     /**
      * Default domain for MBeans if none can be determined



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org