juergen     2003/08/04 04:08:51

  Modified:    src/webdav/client/src/org/apache/webdav/lib/methods
                        GetMethod.java HeadMethod.java
                        HttpRequestBodyMethodBase.java MkcolMethod.java
                        PutMethod.java UnlockMethod.java
  Log:
  undo the changes in setPath: all urls are now expected to be url encoded by the 
application.
  
  Revision  Changes    Path
  1.20      +3 -33     
jakarta-slide/src/webdav/client/src/org/apache/webdav/lib/methods/GetMethod.java
  
  Index: GetMethod.java
  ===================================================================
  RCS file: 
/home/cvs/jakarta-slide/src/webdav/client/src/org/apache/webdav/lib/methods/GetMethod.java,v
  retrieving revision 1.19
  retrieving revision 1.20
  diff -u -r1.19 -r1.20
  --- GetMethod.java    31 Jul 2003 16:15:19 -0000      1.19
  +++ GetMethod.java    4 Aug 2003 11:08:50 -0000       1.20
  @@ -101,35 +101,5 @@
   
   
   
  -    /**
  -     * Set the path part of my request.
  -     * It is responsibility of the caller to ensure that the path is
  -     * properly encoded (URL safe).
  -     *
  -     * @param path the path to request. The path is expected
  -     *        to be NOT URL-encoded
  -     */
  -    public void setPath(String path ) {
  -        setPath(path, null);
  -    }
  -
  -
  -    /**
  -     * Set the path part of my request.
  -     * It is responsibility of the caller to ensure that the path is
  -     * properly encoded (URL safe).
  -     *
  -     * @param path the path to request. The path is expected
  -     *        to be NOT URL-encoded
  -     * @param enc the encoding used to encode the path. UTF-8 is the default.
  -     */
  -    public void setPath(String path, String enc ) {
  -        if (enc == null) enc = "UTF-8";
  -        super.setPath(URLUtil.URLEncode(path, enc));
  -    }
  -
  -
  -
  -
   }
   
  
  
  
  1.15      +3 -33     
jakarta-slide/src/webdav/client/src/org/apache/webdav/lib/methods/HeadMethod.java
  
  Index: HeadMethod.java
  ===================================================================
  RCS file: 
/home/cvs/jakarta-slide/src/webdav/client/src/org/apache/webdav/lib/methods/HeadMethod.java,v
  retrieving revision 1.14
  retrieving revision 1.15
  diff -u -r1.14 -r1.15
  --- HeadMethod.java   31 Jul 2003 16:15:19 -0000      1.14
  +++ HeadMethod.java   4 Aug 2003 11:08:50 -0000       1.15
  @@ -101,35 +101,5 @@
       }
   
   
  -    /**
  -     * Set the path part of my request.
  -     * It is responsibility of the caller to ensure that the path is
  -     * properly encoded (URL safe).
  -     *
  -     * @param path the path to request. The path is expected
  -     *        to be NOT URL-encoded
  -     */
  -    public void setPath(String path ) {
  -        setPath(path, null);
  -    }
  -
  -
  -    /**
  -     * Set the path part of my request.
  -     * It is responsibility of the caller to ensure that the path is
  -     * properly encoded (URL safe).
  -     *
  -     * @param path the path to request. The path is expected
  -     *        to be NOT URL-encoded
  -     * @param enc the encoding used to encode the path. UTF-8 is the default.
  -     */
  -    public void setPath(String path, String enc ) {
  -        if (enc == null) enc = "UTF-8";
  -        super.setPath(URLUtil.URLEncode(path, enc));
  -    }
  -
  -
  -
  -
   }
   
  
  
  
  1.10      +3 -33     
jakarta-slide/src/webdav/client/src/org/apache/webdav/lib/methods/HttpRequestBodyMethodBase.java
  
  Index: HttpRequestBodyMethodBase.java
  ===================================================================
  RCS file: 
/home/cvs/jakarta-slide/src/webdav/client/src/org/apache/webdav/lib/methods/HttpRequestBodyMethodBase.java,v
  retrieving revision 1.9
  retrieving revision 1.10
  diff -u -r1.9 -r1.10
  --- HttpRequestBodyMethodBase.java    31 Jul 2003 16:15:19 -0000      1.9
  +++ HttpRequestBodyMethodBase.java    4 Aug 2003 11:08:50 -0000       1.10
  @@ -299,35 +299,5 @@
           url = null;
           file = null;
       }
  -
  -
  -    /**
  -     * Set the path part of my request.
  -     * It is responsibility of the caller to ensure that the path is
  -     * properly encoded (URL safe).
  -     *
  -     * @param path the path to request. The path is expected
  -     *        to be NOT URL-encoded
  -     */
  -    public void setPath(String path ) {
  -        setPath(path, null);
  -    }
  -
  -
  -    /**
  -     * Set the path part of my request.
  -     * It is responsibility of the caller to ensure that the path is
  -     * properly encoded (URL safe).
  -     *
  -     * @param path the path to request. The path is expected
  -     *        to be NOT URL-encoded
  -     * @param enc the encoding used to encode the path. UTF-8 is the default.
  -     */
  -    public void setPath(String path, String enc ) {
  -        if (enc == null) enc = "UTF-8";
  -        super.setPath(URLUtil.URLEncode(path, enc));
  -    }
  -
  -
   }
   
  
  
  
  1.12      +3 -32     
jakarta-slide/src/webdav/client/src/org/apache/webdav/lib/methods/MkcolMethod.java
  
  Index: MkcolMethod.java
  ===================================================================
  RCS file: 
/home/cvs/jakarta-slide/src/webdav/client/src/org/apache/webdav/lib/methods/MkcolMethod.java,v
  retrieving revision 1.11
  retrieving revision 1.12
  diff -u -r1.11 -r1.12
  --- MkcolMethod.java  31 Jul 2003 16:15:19 -0000      1.11
  +++ MkcolMethod.java  4 Aug 2003 11:08:50 -0000       1.12
  @@ -144,33 +144,4 @@
       }
   
   
  -    /**
  -     * Set the path part of my request.
  -     * It is responsibility of the caller to ensure that the path is
  -     * properly encoded (URL safe).
  -     *
  -     * @param path the path to request. The path is expected
  -     *        to be NOT URL-encoded
  -     */
  -    public void setPath(String path ) {
  -        setPath(path, null);
  -    }
  -
  -
  -    /**
  -     * Set the path part of my request.
  -     * It is responsibility of the caller to ensure that the path is
  -     * properly encoded (URL safe).
  -     *
  -     * @param path the path to request. The path is expected
  -     *        to be NOT URL-encoded
  -     * @param enc the encoding used to encode the path. UTF-8 is the default.
  -     */
  -    public void setPath(String path, String enc ) {
  -        if (enc == null) enc = "UTF-8";
  -        super.setPath(URLUtil.URLEncode(path, enc));
  -    }
  -
  -
  -
   }
  
  
  
  1.18      +3 -32     
jakarta-slide/src/webdav/client/src/org/apache/webdav/lib/methods/PutMethod.java
  
  Index: PutMethod.java
  ===================================================================
  RCS file: 
/home/cvs/jakarta-slide/src/webdav/client/src/org/apache/webdav/lib/methods/PutMethod.java,v
  retrieving revision 1.17
  retrieving revision 1.18
  diff -u -r1.17 -r1.18
  --- PutMethod.java    31 Jul 2003 16:15:19 -0000      1.17
  +++ PutMethod.java    4 Aug 2003 11:08:50 -0000       1.18
  @@ -101,35 +101,6 @@
       }
   
   
  -    /**
  -     * Set the path part of my request.
  -     * It is responsibility of the caller to ensure that the path is
  -     * properly encoded (URL safe).
  -     *
  -     * @param path the path to request. The path is expected
  -     *        to be NOT URL-encoded
  -     */
  -    public void setPath(String path ) {
  -        setPath(path, null);
  -    }
  -
  -
  -    /**
  -     * Set the path part of my request.
  -     * It is responsibility of the caller to ensure that the path is
  -     * properly encoded (URL safe).
  -     *
  -     * @param path the path to request. The path is expected
  -     *        to be NOT URL-encoded
  -     * @param enc the encoding used to encode the path. UTF-8 is the default.
  -     */
  -    public void setPath(String path, String enc ) {
  -        if (enc == null) enc = "UTF-8";
  -        super.setPath(URLUtil.URLEncode(path, enc));
  -    }
  -
  -
  -
   
   }
   
  
  
  
  1.19      +3 -31     
jakarta-slide/src/webdav/client/src/org/apache/webdav/lib/methods/UnlockMethod.java
  
  Index: UnlockMethod.java
  ===================================================================
  RCS file: 
/home/cvs/jakarta-slide/src/webdav/client/src/org/apache/webdav/lib/methods/UnlockMethod.java,v
  retrieving revision 1.18
  retrieving revision 1.19
  diff -u -r1.18 -r1.19
  --- UnlockMethod.java 31 Jul 2003 16:15:19 -0000      1.18
  +++ UnlockMethod.java 4 Aug 2003 11:08:50 -0000       1.19
  @@ -172,33 +172,5 @@
       }
   
   
  -    /**
  -     * Set the path part of my request.
  -     * It is responsibility of the caller to ensure that the path is
  -     * properly encoded (URL safe).
  -     *
  -     * @param path the path to request. The path is expected
  -     *        to be NOT URL-encoded
  -     */
  -    public void setPath(String path ) {
  -        setPath(path, null);
  -    }
  -
  -
  -    /**
  -     * Set the path part of my request.
  -     * It is responsibility of the caller to ensure that the path is
  -     * properly encoded (URL safe).
  -     *
  -     * @param path the path to request. The path is expected
  -     *        to be NOT URL-encoded
  -     * @param enc the encoding used to encode the path. UTF-8 is the default.
  -     */
  -    public void setPath(String path, String enc ) {
  -        if (enc == null) enc = "UTF-8";
  -        super.setPath(URLUtil.URLEncode(path, enc));
  -    }
  -
  -
   
   }
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to