- Add back arbitrary attributes due to SSL socket factory configuration. Unfortunatel...
authorremm <remm@13f79535-47bb-0310-9956-ffa450edef68>
Tue, 28 Aug 2007 10:03:15 +0000 (10:03 +0000)
committerremm <remm@13f79535-47bb-0310-9956-ffa450edef68>
Tue, 28 Aug 2007 10:03:15 +0000 (10:03 +0000)
  can have validation since the set of attributes is fully known.

git-svn-id: https://svn.apache.org/repos/asf/tomcat/tc6.0.x/trunk@570359 13f79535-47bb-0310-9956-ffa450edef68

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

index 064a78e..23f65a9 100644 (file)
@@ -120,6 +120,19 @@ public class Http11Protocol
         return attributes.keySet().iterator();
     }
 
+    /**
+     * 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);
+    }
 
     /**
      * The adapter, used to call the connector.