- get/setProperty are used by IntrospectionUtils. Oops.
authorremm <remm@13f79535-47bb-0310-9956-ffa450edef68>
Wed, 19 Jul 2006 07:05:45 +0000 (07:05 +0000)
committerremm <remm@13f79535-47bb-0310-9956-ffa450edef68>
Wed, 19 Jul 2006 07:05:45 +0000 (07:05 +0000)
git-svn-id: https://svn.apache.org/repos/asf/tomcat/tc6.0.x/trunk@423388 13f79535-47bb-0310-9956-ffa450edef68

java/org/apache/coyote/http11/Http11Protocol.java

index 84b45cd..a1a92ab 100644 (file)
@@ -100,6 +100,20 @@ public class Http11Protocol
 
     
     /**
+     * Set a property.
+     */
+    public void setProperty(String name, String value) {
+        setAttribute(name, value);
+    }
+
+    /**
+     * Get a property
+     */
+    public String getProperty(String name) {
+        return (String)getAttribute(name);
+    }
+
+    /**
      * Pass config info
      */
     public void setAttribute(String name, Object value) {