From dd5bb09bb172d621d5451a83ac04b53f850fa4f5 Mon Sep 17 00:00:00 2001 From: remm Date: Tue, 28 Aug 2007 10:03:15 +0000 Subject: [PATCH] - 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 --- java/org/apache/coyote/http11/Http11Protocol.java | 13 +++++++++++++ 1 file changed, 13 insertions(+) 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. -- 2.11.0