From: remm Date: Tue, 28 Aug 2007 10:03:15 +0000 (+0000) Subject: - Add back arbitrary attributes due to SSL socket factory configuration. Unfortunatel... X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=dd5bb09bb172d621d5451a83ac04b53f850fa4f5;p=tomcat7.0 - Add back arbitrary attributes due to SSL socket factory configuration. Unfortunately, it seems only the APR connector 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 --- diff --git a/java/org/apache/coyote/http11/Http11Protocol.java b/java/org/apache/coyote/http11/Http11Protocol.java index 064a78e1e..23f65a9e9 100644 --- a/java/org/apache/coyote/http11/Http11Protocol.java +++ b/java/org/apache/coyote/http11/Http11Protocol.java @@ -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.