[jbossweb-commits] JBossWeb SVN: r242 - branches/2.0.x/src/share/classes/org/apache/coyote/http11.
jbossweb-commits at lists.jboss.org
jbossweb-commits at lists.jboss.org
Tue Aug 28 05:59:32 EDT 2007
Author: remy.maucherat at jboss.com
Date: 2007-08-28 05:59:31 -0400 (Tue, 28 Aug 2007)
New Revision: 242
Modified:
branches/2.0.x/src/share/classes/org/apache/coyote/http11/Http11Protocol.java
Log:
- Restore arbitrary attributes for java.io connector (SSL factories really need them in the end).
Modified: branches/2.0.x/src/share/classes/org/apache/coyote/http11/Http11Protocol.java
===================================================================
--- branches/2.0.x/src/share/classes/org/apache/coyote/http11/Http11Protocol.java 2007-08-28 09:58:46 UTC (rev 241)
+++ branches/2.0.x/src/share/classes/org/apache/coyote/http11/Http11Protocol.java 2007-08-28 09:59:31 UTC (rev 242)
@@ -120,8 +120,21 @@
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.
*/
protected Adapter adapter;
More information about the jbossweb-commits
mailing list