You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bi...@apache.org on 2002/04/01 07:53:20 UTC
cvs commit: jakarta-tomcat-connectors/coyote/src/java/org/apache/coyote/tomcat3 CoyoteInterceptor.java
billbarker 02/03/31 21:53:20
Modified: coyote/src/java/org/apache/coyote/tomcat3
CoyoteInterceptor.java
Log:
Allow the Processor to be set by the server.xml.
This is currently useless, since o.a.c.http11.Http11Processor is the only class that qualifies. But it allows for future developement of e.g. Ajp13Processor that can re-use this code (at least for initial testing).
Revision Changes Path
1.7 +6 -0 jakarta-tomcat-connectors/coyote/src/java/org/apache/coyote/tomcat3/CoyoteInterceptor.java
Index: CoyoteInterceptor.java
===================================================================
RCS file: /home/cvs/jakarta-tomcat-connectors/coyote/src/java/org/apache/coyote/tomcat3/CoyoteInterceptor.java,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- CoyoteInterceptor.java 20 Mar 2002 05:35:53 -0000 1.6
+++ CoyoteInterceptor.java 1 Apr 2002 05:53:19 -0000 1.7
@@ -147,6 +147,12 @@
maxKeepAliveRequests = mkar;
}
+ /** Set the class of the processor to use.
+ */
+ public void setProcessorClassName(String pcn) {
+ processorClassName = pcn;
+ }
+
public void setSocketCloseDelay( int d ) {
socketCloseDelay=d;
}
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>