amyroh 2003/08/28 19:34:47 Modified: http11/src/java/org/apache/coyote/http11 Http11Protocol.java LocalStrings.properties Log: Implement getAttribute(key). Revision Changes Path 1.34 +3 -1 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.33 retrieving revision 1.34 diff -u -r1.33 -r1.34 --- Http11Protocol.java 11 Aug 2003 21:44:49 -0000 1.33 +++ Http11Protocol.java 29 Aug 2003 02:34:47 -0000 1.34 @@ -115,7 +115,9 @@ } public Object getAttribute( String key ) { - return null; + if( log.isTraceEnabled()) + log.trace(sm.getString("http11protocol.getattribute", key)); + return attributes.get(key); } /** 1.6 +2 -1 jakarta-tomcat-connectors/http11/src/java/org/apache/coyote/http11/LocalStrings.properties Index: LocalStrings.properties =================================================================== RCS file: /home/cvs/jakarta-tomcat-connectors/http11/src/java/org/apache/coyote/http11/LocalStrings.properties,v retrieving revision 1.5 retrieving revision 1.6 diff -u -r1.5 -r1.6 --- LocalStrings.properties 5 Nov 2002 09:37:34 -0000 1.5 +++ LocalStrings.properties 29 Aug 2003 02:34:47 -0000 1.6 @@ -16,6 +16,7 @@ http11protocol.proto.ioexception.info=IOException reading request, ignored http11protocol.proto.socketexception.debug=SocketException reading request http11protocol.proto.socketexception.info=SocketException reading request, ignored +http11protocol.getattribute=Attribute {0} http11protocol.setattribute=Attribute {0}: {1} http11protocol.socketfactory.initerror=Error initializing socket factory http11protocol.start=Starting Coyote HTTP/1.1 on port {0}
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]