You are viewing a plain text version of this content. The canonical link for it is here.
Posted to slide-dev@jakarta.apache.org by ju...@apache.org on 2002/08/06 10:54:58 UTC

cvs commit: jakarta-slide/src/webdav/client/src/org/apache/webdav/lib/methods PostMethod.java

juergen     2002/08/06 01:54:58

  Modified:    src/webdav/client/src/org/apache/webdav/lib/methods
                        PostMethod.java
  Log:
  the webdav post may deliver a body and behave very similar to put, so extend put.
  
  Revision  Changes    Path
  1.13      +4 -30     jakarta-slide/src/webdav/client/src/org/apache/webdav/lib/methods/PostMethod.java
  
  Index: PostMethod.java
  ===================================================================
  RCS file: /home/cvs/jakarta-slide/src/webdav/client/src/org/apache/webdav/lib/methods/PostMethod.java,v
  retrieving revision 1.12
  retrieving revision 1.13
  diff -u -r1.12 -r1.13
  --- PostMethod.java	25 Apr 2002 21:27:30 -0000	1.12
  +++ PostMethod.java	6 Aug 2002 08:54:58 -0000	1.13
  @@ -71,8 +71,7 @@
    * @author <a href="mailto:remm@apache.org">Remy Maucherat</a>
    * @author <a href="mailto:bcholmes@interlog.com">B.C. Holmes</a>
    */
  -public class PostMethod
  -    extends org.apache.commons.httpclient.methods.PostMethod {
  +public class PostMethod extends PutMethod {
   
   
       
  @@ -95,31 +94,6 @@
       }
       
       
  -    /**
  -     * Method constructor.
  -     */
  -    public PostMethod(String path, String tempDir) {
  -        super(path, tempDir);
  -    }
  -    
  -    
  -    
  -    
  -    /**
  -     * Method constructor.
  -     */
  -    public PostMethod(String path, boolean useDisk, String tempDir) {
  -        super(path, useDisk, tempDir);
  -    }
  -    
  -    
  -    /**
  -     * Method constructor.
  -     */
  -    public PostMethod(String path, boolean useDisk, String tempDir,
  -                      String tempFile) {
  -        super(path, useDisk, tempDir, tempFile);
  -    }
       
   
   }
  
  
  

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