tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From r...@apache.org
Subject cvs commit: jakarta-tomcat-connectors/jk/java/org/apache/coyote/ajp AjpAprProtocol.java
Date Thu, 23 Jun 2005 11:45:29 GMT
remm        2005/06/23 04:45:29

  Modified:    jk/java/org/apache/coyote/ajp AjpAprProtocol.java
  Log:
  - Add new attributes.
  
  Revision  Changes    Path
  1.4       +14 -5     jakarta-tomcat-connectors/jk/java/org/apache/coyote/ajp/AjpAprProtocol.java
  
  Index: AjpAprProtocol.java
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat-connectors/jk/java/org/apache/coyote/ajp/AjpAprProtocol.java,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- AjpAprProtocol.java	17 Jun 2005 11:50:01 -0000	1.3
  +++ AjpAprProtocol.java	23 Jun 2005 11:45:29 -0000	1.4
  @@ -308,13 +308,22 @@
           socketBuffer = valueI;
       }
   
  -    public String getCompression() {
  -        return compression;
  +    public int getFirstReadTimeout() {
  +        return ep.getFirstReadTimeout();
       }
   
  -    public void setCompression(String valueS) {
  -        compression = valueS;
  -        setAttribute("compression", valueS);
  +    public void setFirstReadTimeout( int i ) {
  +        ep.setFirstReadTimeout(i);
  +        setAttribute("firstReadTimeout", "" + i);
  +    }
  +
  +    public int getPollTime() {
  +        return ep.getPollTime();
  +    }
  +
  +    public void setPollTime( int i ) {
  +        ep.setPollTime(i);
  +        setAttribute("pollTime", "" + i);
       }
   
       public int getMaxPostSize() {
  
  
  

---------------------------------------------------------------------
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