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 2003/01/29 21:57:28 UTC

cvs commit: jakarta-tomcat-connectors/coyote/src/java/org/apache/coyote/tomcat5 CoyoteRequest.java

remm        2003/01/29 12:57:28

  Modified:    coyote/src/java/org/apache/coyote/tomcat5 CoyoteRequest.java
  Log:
  - Add request path field (basically, it's servletPath + pathInfo, which is very
    convinient to have rather than compute it over and over).
  
  Revision  Changes    Path
  1.18      +14 -4     jakarta-tomcat-connectors/coyote/src/java/org/apache/coyote/tomcat5/CoyoteRequest.java
  
  Index: CoyoteRequest.java
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat-connectors/coyote/src/java/org/apache/coyote/tomcat5/CoyoteRequest.java,v
  retrieving revision 1.17
  retrieving revision 1.18
  diff -u -r1.17 -r1.18
  --- CoyoteRequest.java	29 Jan 2003 16:39:11 -0000	1.17
  +++ CoyoteRequest.java	29 Jan 2003 20:57:28 -0000	1.18
  @@ -1824,6 +1824,16 @@
   
   
       /**
  +     * Get the request path.
  +     * 
  +     * @return the request path
  +     */
  +    public MessageBytes getRequestPathMB() {
  +        return (mappingData.requestPath);
  +    }
  +
  +
  +    /**
        * Return the session identifier included in this request, if any.
        */
       public String getRequestedSessionId() {
  
  
  

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