tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From billbar...@apache.org
Subject cvs commit: jakarta-tomcat-connectors/http11/src/java/org/apache/coyote/http11 Http11Protocol.java
Date Fri, 13 Jun 2003 05:10:10 GMT
billbarker    2003/06/12 22:10:10

  Modified:    http11/src/java/org/apache/coyote/http11 Http11Protocol.java
  Log:
  Adding a setProperty method, since that is what IntrospectionUtils calls when it can't find
a setter.
  
  In line with the proposal to avoid having every connector know about every setting.
  
  Revision  Changes    Path
  1.28      +14 -0     jakarta-tomcat-connectors/http11/src/java/org/apache/coyote/http11/Http11Protocol.java
  
  Index: Http11Protocol.java
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat-connectors/http11/src/java/org/apache/coyote/http11/Http11Protocol.java,v
  retrieving revision 1.27
  retrieving revision 1.28
  diff -u -r1.27 -r1.28
  --- Http11Protocol.java	5 Jun 2003 16:42:48 -0000	1.27
  +++ Http11Protocol.java	13 Jun 2003 05:10:10 -0000	1.28
  @@ -118,6 +118,20 @@
           return null;
       }
   
  +    /**
  +     * 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 
        */
       public void setAdapter(Adapter adapter) {
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org


Mime
View raw message