keith       01/08/08 10:19:16

  Modified:    src/share/org/apache/tomcat/core Request.java
  Log:
  Maintain compatibility with TC 3.2 modules.
  
  Revision  Changes    Path
  1.107     +21 -1     jakarta-tomcat/src/share/org/apache/tomcat/core/Request.java
  
  Index: Request.java
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat/src/share/org/apache/tomcat/core/Request.java,v
  retrieving revision 1.106
  retrieving revision 1.107
  diff -u -r1.106 -r1.107
  --- Request.java      2001/08/06 15:45:25     1.106
  +++ Request.java      2001/08/08 17:19:16     1.107
  @@ -309,9 +309,29 @@
       public MessageBytes method() {
        return methodMB;
       }
  -    
  +
  +    /** @deprecated After Tomcat 3.2, use {@link #method()} instead */
  +    public String getMethod() {
  +     return methodMB.toString();
  +    }
  +
  +    /** @deprecated After Tomcat 3.2, use {@link #method()} instead */
  +    public void setMethod(String method) {
  +     methodMB.setString(method);
  +    }
  +
       public MessageBytes requestURI() {
        return uriMB;
  +    }
  +
  +    /** @deprecated After Tomcat 3.2, use {@link #requestURI()} instead */
  +    public String getRequestURI() {
  +     return uriMB.toString();
  +    }
  +
  +    /** @deprecated After Tomcat 3.2, use {@link #requestURI()} instead */
  +    public void setRequestURI(String r) {
  +     uriMB.setString(r);
       }
   
       public MessageBytes unparsedURI() {
  
  
  

Reply via email to