You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by re...@apache.org on 2002/11/25 22:02:22 UTC

cvs commit: jakarta-tomcat-catalina/catalina/src/share/org/apache/catalina Request.java

remm        2002/11/25 13:02:21

  Modified:    catalina/src/share/org/apache/catalina Request.java
  Log:
  - Add methods to optimize valves and filters processing (more optimization of
    the filter part coming).
  
  Revision  Changes    Path
  1.2       +33 -4     jakarta-tomcat-catalina/catalina/src/share/org/apache/catalina/Request.java
  
  Index: Request.java
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat-catalina/catalina/src/share/org/apache/catalina/Request.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- Request.java	18 Jul 2002 16:47:36 -0000	1.1
  +++ Request.java	25 Nov 2002 21:02:21 -0000	1.2
  @@ -69,6 +69,7 @@
   import java.io.IOException;
   import java.net.Socket;
   import java.util.Iterator;
  +import javax.servlet.FilterChain;
   import javax.servlet.ServletException;
   import javax.servlet.ServletInputStream;
   import javax.servlet.ServletRequest;
  @@ -135,6 +136,20 @@
   
   
       /**
  +     * Get filter chain associated with the request.
  +     */
  +    public FilterChain getFilterChain();
  +
  +
  +    /**
  +     * Set filter chain associated with the request.
  +     * 
  +     * @param filterChain new filter chain
  +     */
  +    public void setFilterChain(FilterChain filterChain);
  +
  +
  +    /**
        * Return descriptive information about this Request implementation and
        * the corresponding version number, in the format
        * <code>&lt;description&gt;/&lt;version&gt;</code>.
  @@ -192,6 +207,20 @@
        * @param stream The new input stream
        */
       public void setStream(InputStream stream);
  +
  +
  +    /**
  +     * Get valve context.
  +     */
  +    public ValveContext getValveContext();
  +
  +
  +    /**
  +     * Set valve context.
  +     * 
  +     * @param valveContext New valve context object
  +     */
  +    public void setValveContext(ValveContext valveContext);
   
   
       /**
  
  
  

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>