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 2001/04/03 12:32:59 UTC

cvs commit: jakarta-slide/src/webdav/client/src/org/apache/webdav/lib/methods CopyMethod.java DeleteMethod.java GetMethod.java HeadMethod.java LockMethod.java MkcolMethod.java MoveMethod.java OptionsMethod.java PostMethod.java PropFindMethod.java PropPatchMethod.java PutMethod.java UnlockMethod.java

juergen     01/04/03 03:32:59

  Modified:    src/webdav/client/src/org/apache/webdav/lib/methods
                        CopyMethod.java DeleteMethod.java GetMethod.java
                        HeadMethod.java LockMethod.java MkcolMethod.java
                        MoveMethod.java OptionsMethod.java PostMethod.java
                        PropFindMethod.java PropPatchMethod.java
                        PutMethod.java UnlockMethod.java
  Log:
  nothing changed. prepare coming commit.
  
  Revision  Changes    Path
  1.9       +5 -5      jakarta-slide/src/webdav/client/src/org/apache/webdav/lib/methods/CopyMethod.java
  
  Index: CopyMethod.java
  ===================================================================
  RCS file: /home/cvs/jakarta-slide/src/webdav/client/src/org/apache/webdav/lib/methods/CopyMethod.java,v
  retrieving revision 1.8
  retrieving revision 1.9
  diff -u -r1.8 -r1.9
  --- CopyMethod.java	2001/02/26 06:35:57	1.8
  +++ CopyMethod.java	2001/04/03 10:32:38	1.9
  @@ -1,7 +1,7 @@
   /*
  - * $Header: /home/cvs/jakarta-slide/src/webdav/client/src/org/apache/webdav/lib/methods/CopyMethod.java,v 1.8 2001/02/26 06:35:57 remm Exp $
  - * $Revision: 1.8 $
  - * $Date: 2001/02/26 06:35:57 $
  + * $Header: /home/cvs/jakarta-slide/src/webdav/client/src/org/apache/webdav/lib/methods/CopyMethod.java,v 1.9 2001/04/03 10:32:38 juergen Exp $
  + * $Revision: 1.9 $
  + * $Date: 2001/04/03 10:32:38 $
    *
    * ====================================================================
    *
  @@ -60,7 +60,7 @@
    * [Additional notices, if required by prior licensing conditions]
    *
    */
  -
  + 
   package org.apache.webdav.lib.methods;
   
   import org.apache.webdav.lib.State;
  @@ -198,7 +198,7 @@
   
           super.generateHeaders(host, state);
   
  -        String absoluteDestination = "http://" + host 
  +        String absoluteDestination = "http://" + host
               + state.URLEncode(destination);
   
           setHeader("Destination", absoluteDestination);
  
  
  
  1.5       +4 -4      jakarta-slide/src/webdav/client/src/org/apache/webdav/lib/methods/DeleteMethod.java
  
  Index: DeleteMethod.java
  ===================================================================
  RCS file: /home/cvs/jakarta-slide/src/webdav/client/src/org/apache/webdav/lib/methods/DeleteMethod.java,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- DeleteMethod.java	2001/03/23 05:06:36	1.4
  +++ DeleteMethod.java	2001/04/03 10:32:39	1.5
  @@ -1,7 +1,7 @@
   /*
  - * $Header: /home/cvs/jakarta-slide/src/webdav/client/src/org/apache/webdav/lib/methods/DeleteMethod.java,v 1.4 2001/03/23 05:06:36 remm Exp $
  - * $Revision: 1.4 $
  - * $Date: 2001/03/23 05:06:36 $
  + * $Header: /home/cvs/jakarta-slide/src/webdav/client/src/org/apache/webdav/lib/methods/DeleteMethod.java,v 1.5 2001/04/03 10:32:39 juergen Exp $
  + * $Revision: 1.5 $
  + * $Date: 2001/04/03 10:32:39 $
    *
    * ====================================================================
    *
  @@ -60,7 +60,7 @@
    * [Additional notices, if required by prior licensing conditions]
    *
    */
  -
  + 
   package org.apache.webdav.lib.methods;
   
   import org.apache.util.WebdavStatus;
  
  
  
  1.9       +20 -20    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.8
  retrieving revision 1.9
  diff -u -r1.8 -r1.9
  --- GetMethod.java	2001/03/23 05:06:36	1.8
  +++ GetMethod.java	2001/04/03 10:32:40	1.9
  @@ -1,13 +1,13 @@
   /*
  - * $Header: /home/cvs/jakarta-slide/src/webdav/client/src/org/apache/webdav/lib/methods/GetMethod.java,v 1.8 2001/03/23 05:06:36 remm Exp $
  - * $Revision: 1.8 $
  - * $Date: 2001/03/23 05:06:36 $
  + * $Header: /home/cvs/jakarta-slide/src/webdav/client/src/org/apache/webdav/lib/methods/GetMethod.java,v 1.9 2001/04/03 10:32:40 juergen Exp $
  + * $Revision: 1.9 $
  + * $Date: 2001/04/03 10:32:40 $
    *
    * ====================================================================
    *
    * The Apache Software License, Version 1.1
    *
  - * Copyright (c) 1999 The Apache Software Foundation.  All rights 
  + * Copyright (c) 1999 The Apache Software Foundation.  All rights
    * reserved.
    *
    * Redistribution and use in source and binary forms, with or without
  @@ -15,7 +15,7 @@
    * are met:
    *
    * 1. Redistributions of source code must retain the above copyright
  - *    notice, this list of conditions and the following disclaimer. 
  + *    notice, this list of conditions and the following disclaimer.
    *
    * 2. Redistributions in binary form must reproduce the above copyright
    *    notice, this list of conditions and the following disclaimer in
  @@ -23,15 +23,15 @@
    *    distribution.
    *
    * 3. The end-user documentation included with the redistribution, if
  - *    any, must include the following acknowlegement:  
  - *       "This product includes software developed by the 
  + *    any, must include the following acknowlegement:
  + *       "This product includes software developed by the
    *        Apache Software Foundation (http://www.apache.org/)."
    *    Alternately, this acknowlegement may appear in the software itself,
    *    if and wherever such third-party acknowlegements normally appear.
    *
    * 4. The names "The Jakarta Project", "Tomcat", and "Apache Software
    *    Foundation" must not be used to endorse or promote products derived
  - *    from this software without prior written permission. For written 
  + *    from this software without prior written permission. For written
    *    permission, please contact apache@apache.org.
    *
    * 5. Products derived from this software may not be called "Apache"
  @@ -59,8 +59,8 @@
    *
    * [Additional notices, if required by prior licensing conditions]
    *
  - */ 
  -
  + */
  + 
   package org.apache.webdav.lib.methods;
   
   import java.io.*;
  @@ -73,7 +73,7 @@
   
   /**
    * GET Method.
  - * 
  + *
    * @author <a href="mailto:remm@apache.org">Remy Maucherat</a>
    * @author Sung-Gu Park
    */
  @@ -203,7 +203,7 @@
       
       /**
        * Use disk setter.
  -     * 
  +     *
        * @param useDisk New value of useDisk
        */
       public void setUseDisk(boolean useDisk) {
  @@ -214,7 +214,7 @@
       
       /**
        * Use disk getter.
  -     * 
  +     *
        * @param boolean useDisk value
        */
       public boolean getUseDisk() {
  @@ -224,7 +224,7 @@
       
       /**
        * True if this methods should automatically follow redirects.
  -     * 
  +     *
        * @return boolean True if auto redirect should be used for this method
        */
       public boolean followRedirects() {
  @@ -234,7 +234,7 @@
       
       /**
        * Temporary directory setter.
  -     * 
  +     *
        * @param tempDir New value of tempDir
        */
       public void setTempDir(String tempDir) {
  @@ -345,7 +345,7 @@
       
       /**
        * Generate the query body.
  -     * 
  +     *
        * @return String query
        */
       public String generateQuery() {
  @@ -355,7 +355,7 @@
       
       /**
        * Parse response.
  -     * 
  +     *
        * @param is Input stream
        */
       public void parseResponse(InputStream is)
  @@ -376,10 +376,10 @@
                       String encodedPath = URLEncoder.encode(getPath());
                       int length = encodedPath.length();
                       if (length > 240) {
  -                        encodedPath = 
  +                        encodedPath =
                               encodedPath.substring(length - 200, length);
                       }
  -                    tempFileName = System.currentTimeMillis() + "-" 
  +                    tempFileName = System.currentTimeMillis() + "-"
                           + encodedPath + ".tmp";
                   } else {
                       tempFileName = tempFile;
  @@ -416,7 +416,7 @@
       
       /**
        * Return true if the method needs a content-length header in the request.
  -     * 
  +     *
        * @return true if a content-length header will be expected by the server
        */
       public boolean needContentLength() {
  
  
  
  1.6       +15 -15    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.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- HeadMethod.java	2001/03/23 05:06:37	1.5
  +++ HeadMethod.java	2001/04/03 10:32:41	1.6
  @@ -1,13 +1,13 @@
   /*
  - * $Header: /home/cvs/jakarta-slide/src/webdav/client/src/org/apache/webdav/lib/methods/HeadMethod.java,v 1.5 2001/03/23 05:06:37 remm Exp $
  - * $Revision: 1.5 $
  - * $Date: 2001/03/23 05:06:37 $
  + * $Header: /home/cvs/jakarta-slide/src/webdav/client/src/org/apache/webdav/lib/methods/HeadMethod.java,v 1.6 2001/04/03 10:32:41 juergen Exp $
  + * $Revision: 1.6 $
  + * $Date: 2001/04/03 10:32:41 $
    *
    * ====================================================================
    *
    * The Apache Software License, Version 1.1
    *
  - * Copyright (c) 1999 The Apache Software Foundation.  All rights 
  + * Copyright (c) 1999 The Apache Software Foundation.  All rights
    * reserved.
    *
    * Redistribution and use in source and binary forms, with or without
  @@ -15,7 +15,7 @@
    * are met:
    *
    * 1. Redistributions of source code must retain the above copyright
  - *    notice, this list of conditions and the following disclaimer. 
  + *    notice, this list of conditions and the following disclaimer.
    *
    * 2. Redistributions in binary form must reproduce the above copyright
    *    notice, this list of conditions and the following disclaimer in
  @@ -23,15 +23,15 @@
    *    distribution.
    *
    * 3. The end-user documentation included with the redistribution, if
  - *    any, must include the following acknowlegement:  
  - *       "This product includes software developed by the 
  + *    any, must include the following acknowlegement:
  + *       "This product includes software developed by the
    *        Apache Software Foundation (http://www.apache.org/)."
    *    Alternately, this acknowlegement may appear in the software itself,
    *    if and wherever such third-party acknowlegements normally appear.
    *
    * 4. The names "The Jakarta Project", "Tomcat", and "Apache Software
    *    Foundation" must not be used to endorse or promote products derived
  - *    from this software without prior written permission. For written 
  + *    from this software without prior written permission. For written
    *    permission, please contact apache@apache.org.
    *
    * 5. Products derived from this software may not be called "Apache"
  @@ -59,8 +59,8 @@
    *
    * [Additional notices, if required by prior licensing conditions]
    *
  - */ 
  -
  + */
  + 
   package org.apache.webdav.lib.methods;
   
   import java.io.*;
  @@ -72,7 +72,7 @@
   
   /**
    * HEAD Method.
  - * 
  + *
    * @author <a href="mailto:remm@apache.org">Remy Maucherat</a>
    */
   public class HeadMethod
  @@ -104,7 +104,7 @@
       
       /**
        * True if this methods should automatically follow redirects.
  -     * 
  +     *
        * @return boolean True if auto redirect should be used for this method
        */
       public boolean followRedirects() {
  @@ -117,7 +117,7 @@
       
       /**
        * Generate the query body.
  -     * 
  +     *
        * @return String query
        */
       public String generateQuery() {
  @@ -127,7 +127,7 @@
       
       /**
        * Parse response.
  -     * 
  +     *
        * @param is Input stream
        */
       public void parseResponse(InputStream is)
  @@ -137,7 +137,7 @@
       
       /**
        * Return true if the method needs a content-length header in the request.
  -     * 
  +     *
        * @return true if a content-length header will be expected by the server
        */
       public boolean needContentLength() {
  
  
  
  1.15      +4 -4      jakarta-slide/src/webdav/client/src/org/apache/webdav/lib/methods/LockMethod.java
  
  Index: LockMethod.java
  ===================================================================
  RCS file: /home/cvs/jakarta-slide/src/webdav/client/src/org/apache/webdav/lib/methods/LockMethod.java,v
  retrieving revision 1.14
  retrieving revision 1.15
  diff -u -r1.14 -r1.15
  --- LockMethod.java	2001/03/23 05:06:37	1.14
  +++ LockMethod.java	2001/04/03 10:32:41	1.15
  @@ -1,7 +1,7 @@
   /*
  - * $Header: /home/cvs/jakarta-slide/src/webdav/client/src/org/apache/webdav/lib/methods/LockMethod.java,v 1.14 2001/03/23 05:06:37 remm Exp $
  - * $Revision: 1.14 $
  - * $Date: 2001/03/23 05:06:37 $
  + * $Header: /home/cvs/jakarta-slide/src/webdav/client/src/org/apache/webdav/lib/methods/LockMethod.java,v 1.15 2001/04/03 10:32:41 juergen Exp $
  + * $Revision: 1.15 $
  + * $Date: 2001/04/03 10:32:41 $
    *
    * ====================================================================
    *
  @@ -60,7 +60,7 @@
    * [Additional notices, if required by prior licensing conditions]
    *
    */
  -
  + 
   package org.apache.webdav.lib.methods;
   
   import java.io.InputStream;
  
  
  
  1.4       +27 -27    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.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- MkcolMethod.java	2000/12/11 02:06:01	1.3
  +++ MkcolMethod.java	2001/04/03 10:32:42	1.4
  @@ -1,13 +1,13 @@
   /*
  - * $Header: /home/cvs/jakarta-slide/src/webdav/client/src/org/apache/webdav/lib/methods/MkcolMethod.java,v 1.3 2000/12/11 02:06:01 remm Exp $
  - * $Revision: 1.3 $
  - * $Date: 2000/12/11 02:06:01 $
  + * $Header: /home/cvs/jakarta-slide/src/webdav/client/src/org/apache/webdav/lib/methods/MkcolMethod.java,v 1.4 2001/04/03 10:32:42 juergen Exp $
  + * $Revision: 1.4 $
  + * $Date: 2001/04/03 10:32:42 $
    *
    * ====================================================================
    *
    * The Apache Software License, Version 1.1
    *
  - * Copyright (c) 1999 The Apache Software Foundation.  All rights 
  + * Copyright (c) 1999 The Apache Software Foundation.  All rights
    * reserved.
    *
    * Redistribution and use in source and binary forms, with or without
  @@ -15,7 +15,7 @@
    * are met:
    *
    * 1. Redistributions of source code must retain the above copyright
  - *    notice, this list of conditions and the following disclaimer. 
  + *    notice, this list of conditions and the following disclaimer.
    *
    * 2. Redistributions in binary form must reproduce the above copyright
    *    notice, this list of conditions and the following disclaimer in
  @@ -23,15 +23,15 @@
    *    distribution.
    *
    * 3. The end-user documentation included with the redistribution, if
  - *    any, must include the following acknowlegement:  
  - *       "This product includes software developed by the 
  + *    any, must include the following acknowlegement:
  + *       "This product includes software developed by the
    *        Apache Software Foundation (http://www.apache.org/)."
    *    Alternately, this acknowlegement may appear in the software itself,
    *    if and wherever such third-party acknowlegements normally appear.
    *
    * 4. The names "The Jakarta Project", "Tomcat", and "Apache Software
    *    Foundation" must not be used to endorse or promote products derived
  - *    from this software without prior written permission. For written 
  + *    from this software without prior written permission. For written
    *    permission, please contact apache@apache.org.
    *
    * 5. Products derived from this software may not be called "Apache"
  @@ -59,47 +59,47 @@
    *
    * [Additional notices, if required by prior licensing conditions]
    *
  - */ 
  -
  + */
  + 
   package org.apache.webdav.lib.methods;
   
   import java.io.InputStream;
   import java.io.IOException;
   
   /**
  - * The MKCOL method is used to create a new collection. All DAV compliant 
  - * resources must support the MKCOL method.  Collections are merely 
  - * the HTTP name for structures like directories or folders (and, in 
  + * The MKCOL method is used to create a new collection. All DAV compliant
  + * resources must support the MKCOL method.  Collections are merely
  + * the HTTP name for structures like directories or folders (and, in
    * fact, often map directly to a folder or directory on the web server.
  - * 
  + *
    * <p>   This implementation of a MKCOL client method does not support a
  - * a request body, and the newly created web collection should therefore 
  + * a request body, and the newly created web collection should therefore
    * have no members.
  - * 
  - * <p>   MKCOL creates a new collection resource at the location specified by 
  + *
  + * <p>   MKCOL creates a new collection resource at the location specified by
    * the Request-URI. If the resource identified by the Request-URI already
  - * exists on the server then the MKCOL will fail.  During MKCOL processing, 
  - * a server will make the Request-URI a member of the URI's parent collection 
  - * (unless the Request-URI is "/").  If no parent collection exists, the method 
  - * will fail.  Thus, for example, if a request to create collection 
  - * <code>/a/b/c/d/</code> is made, and neither <code>/a/b/</code> nor 
  + * exists on the server then the MKCOL will fail.  During MKCOL processing,
  + * a server will make the Request-URI a member of the URI's parent collection
  + * (unless the Request-URI is "/").  If no parent collection exists, the method
  + * will fail.  Thus, for example, if a request to create collection
  + * <code>/a/b/c/d/</code> is made, and neither <code>/a/b/</code> nor
    * <code>/a/b/c/</code> exists, the request will fail.
    *
    * <p>   MKCOL is not idempotent (that is to say, each MKCOL request should
    * be handled by the web server, and the results of a MKCOL request should
    * not be cached).
  - * 
  + *
    * <h3>Example Request</h3>
    * <pre>
    * MKCOL /webdisc/xfiles/ HTTP/1.1
    * Host: www.server.org
    * </pre>
  - * 
  + *
    * <h3>Example Response</h3>
    * <pre>
    * HTTP/1.1 201 Created
    * </pre>
  - * 
  + *
    * @author <a href="mailto:remm@apache.org">Remy Maucherat</a>
    */
   public class MkcolMethod
  @@ -130,9 +130,9 @@
       
       
       /**
  -     * Parse the response body.  The MKCOL method does not receive a response 
  +     * Parse the response body.  The MKCOL method does not receive a response
        * body.
  -     * 
  +     *
        * @param is Input stream
        */
       public void parseResponse(InputStream is)
  
  
  
  1.9       +5 -5      jakarta-slide/src/webdav/client/src/org/apache/webdav/lib/methods/MoveMethod.java
  
  Index: MoveMethod.java
  ===================================================================
  RCS file: /home/cvs/jakarta-slide/src/webdav/client/src/org/apache/webdav/lib/methods/MoveMethod.java,v
  retrieving revision 1.8
  retrieving revision 1.9
  diff -u -r1.8 -r1.9
  --- MoveMethod.java	2001/02/26 06:35:57	1.8
  +++ MoveMethod.java	2001/04/03 10:32:43	1.9
  @@ -1,7 +1,7 @@
   /*
  - * $Header: /home/cvs/jakarta-slide/src/webdav/client/src/org/apache/webdav/lib/methods/MoveMethod.java,v 1.8 2001/02/26 06:35:57 remm Exp $
  - * $Revision: 1.8 $
  - * $Date: 2001/02/26 06:35:57 $
  + * $Header: /home/cvs/jakarta-slide/src/webdav/client/src/org/apache/webdav/lib/methods/MoveMethod.java,v 1.9 2001/04/03 10:32:43 juergen Exp $
  + * $Revision: 1.9 $
  + * $Date: 2001/04/03 10:32:43 $
    *
    * ====================================================================
    *
  @@ -60,7 +60,7 @@
    * [Additional notices, if required by prior licensing conditions]
    *
    */
  -
  + 
   package org.apache.webdav.lib.methods;
   
   import org.apache.webdav.lib.State;
  @@ -197,7 +197,7 @@
   
           super.generateHeaders(host, state);
   
  -        String absoluteDestination = "http://" + host 
  +        String absoluteDestination = "http://" + host
               + state.URLEncode(destination);
   
           setHeader("Destination", absoluteDestination);
  
  
  
  1.5       +17 -17    jakarta-slide/src/webdav/client/src/org/apache/webdav/lib/methods/OptionsMethod.java
  
  Index: OptionsMethod.java
  ===================================================================
  RCS file: /home/cvs/jakarta-slide/src/webdav/client/src/org/apache/webdav/lib/methods/OptionsMethod.java,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- OptionsMethod.java	2001/03/23 05:06:37	1.4
  +++ OptionsMethod.java	2001/04/03 10:32:43	1.5
  @@ -1,13 +1,13 @@
   /*
  - * $Header: /home/cvs/jakarta-slide/src/webdav/client/src/org/apache/webdav/lib/methods/OptionsMethod.java,v 1.4 2001/03/23 05:06:37 remm Exp $
  - * $Revision: 1.4 $
  - * $Date: 2001/03/23 05:06:37 $
  + * $Header: /home/cvs/jakarta-slide/src/webdav/client/src/org/apache/webdav/lib/methods/OptionsMethod.java,v 1.5 2001/04/03 10:32:43 juergen Exp $
  + * $Revision: 1.5 $
  + * $Date: 2001/04/03 10:32:43 $
    *
    * ====================================================================
    *
    * The Apache Software License, Version 1.1
    *
  - * Copyright (c) 1999 The Apache Software Foundation.  All rights 
  + * Copyright (c) 1999 The Apache Software Foundation.  All rights
    * reserved.
    *
    * Redistribution and use in source and binary forms, with or without
  @@ -15,7 +15,7 @@
    * are met:
    *
    * 1. Redistributions of source code must retain the above copyright
  - *    notice, this list of conditions and the following disclaimer. 
  + *    notice, this list of conditions and the following disclaimer.
    *
    * 2. Redistributions in binary form must reproduce the above copyright
    *    notice, this list of conditions and the following disclaimer in
  @@ -23,15 +23,15 @@
    *    distribution.
    *
    * 3. The end-user documentation included with the redistribution, if
  - *    any, must include the following acknowlegement:  
  - *       "This product includes software developed by the 
  + *    any, must include the following acknowlegement:
  + *       "This product includes software developed by the
    *        Apache Software Foundation (http://www.apache.org/)."
    *    Alternately, this acknowlegement may appear in the software itself,
    *    if and wherever such third-party acknowlegements normally appear.
    *
    * 4. The names "The Jakarta Project", "Tomcat", and "Apache Software
    *    Foundation" must not be used to endorse or promote products derived
  - *    from this software without prior written permission. For written 
  + *    from this software without prior written permission. For written
    *    permission, please contact apache@apache.org.
    *
    * 5. Products derived from this software may not be called "Apache"
  @@ -59,8 +59,8 @@
    *
    * [Additional notices, if required by prior licensing conditions]
    *
  - */ 
  -
  + */
  + 
   package org.apache.webdav.lib.methods;
   
   import java.io.*;
  @@ -72,7 +72,7 @@
   
   /**
    * OPTIONS Method.
  - * 
  + *
    * @author <a href="mailto:remm@apache.org">Remy Maucherat</a>
    */
   public class OptionsMethod
  @@ -197,7 +197,7 @@
       
       /**
        * Generate the query body.
  -     * 
  +     *
        * @return String query
        */
       public String generateQuery() {
  @@ -207,7 +207,7 @@
       
       /**
        * Parse response.
  -     * 
  +     *
        * @param is Input stream
        */
       public void parseResponse(InputStream is)
  @@ -218,7 +218,7 @@
       /**
        * Process response headers. The contract of this method is that it only
        * parses the response headers.
  -     * 
  +     *
        * @param headers Headers list
        */
       public void processResponseHeaders(Hashtable headers) {
  @@ -226,7 +226,7 @@
           Header davHeader = (Header) headers.get("dav");
           if (davHeader != null) {
               String davHeaderValue = davHeader.getValue();
  -            StringTokenizer tokenizer = 
  +            StringTokenizer tokenizer =
                   new StringTokenizer(davHeaderValue, ",");
               while (tokenizer.hasMoreElements()) {
                   String davCapability = tokenizer.nextToken().trim();
  @@ -237,10 +237,10 @@
           Header allowHeader = (Header) headers.get("allow");
           if (allowHeader != null) {
               String allowHeaderValue = allowHeader.getValue();
  -            StringTokenizer tokenizer = 
  +            StringTokenizer tokenizer =
                   new StringTokenizer(allowHeaderValue, ",");
               while (tokenizer.hasMoreElements()) {
  -                String methodAllowed = 
  +                String methodAllowed =
                       tokenizer.nextToken().trim().toUpperCase();
                   methodsAllowed.addElement(methodAllowed);
               }
  
  
  
  1.5       +13 -13    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.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- PostMethod.java	2001/03/23 05:06:38	1.4
  +++ PostMethod.java	2001/04/03 10:32:44	1.5
  @@ -1,13 +1,13 @@
   /*
  - * $Header: /home/cvs/jakarta-slide/src/webdav/client/src/org/apache/webdav/lib/methods/PostMethod.java,v 1.4 2001/03/23 05:06:38 remm Exp $
  - * $Revision: 1.4 $
  - * $Date: 2001/03/23 05:06:38 $
  + * $Header: /home/cvs/jakarta-slide/src/webdav/client/src/org/apache/webdav/lib/methods/PostMethod.java,v 1.5 2001/04/03 10:32:44 juergen Exp $
  + * $Revision: 1.5 $
  + * $Date: 2001/04/03 10:32:44 $
    *
    * ====================================================================
    *
    * The Apache Software License, Version 1.1
    *
  - * Copyright (c) 1999 The Apache Software Foundation.  All rights 
  + * Copyright (c) 1999 The Apache Software Foundation.  All rights
    * reserved.
    *
    * Redistribution and use in source and binary forms, with or without
  @@ -15,7 +15,7 @@
    * are met:
    *
    * 1. Redistributions of source code must retain the above copyright
  - *    notice, this list of conditions and the following disclaimer. 
  + *    notice, this list of conditions and the following disclaimer.
    *
    * 2. Redistributions in binary form must reproduce the above copyright
    *    notice, this list of conditions and the following disclaimer in
  @@ -23,15 +23,15 @@
    *    distribution.
    *
    * 3. The end-user documentation included with the redistribution, if
  - *    any, must include the following acknowlegement:  
  - *       "This product includes software developed by the 
  + *    any, must include the following acknowlegement:
  + *       "This product includes software developed by the
    *        Apache Software Foundation (http://www.apache.org/)."
    *    Alternately, this acknowlegement may appear in the software itself,
    *    if and wherever such third-party acknowlegements normally appear.
    *
    * 4. The names "The Jakarta Project", "Tomcat", and "Apache Software
    *    Foundation" must not be used to endorse or promote products derived
  - *    from this software without prior written permission. For written 
  + *    from this software without prior written permission. For written
    *    permission, please contact apache@apache.org.
    *
    * 5. Products derived from this software may not be called "Apache"
  @@ -59,8 +59,8 @@
    *
    * [Additional notices, if required by prior licensing conditions]
    *
  - */ 
  -
  + */
  + 
   package org.apache.webdav.lib.methods;
   
   import java.io.*;
  @@ -73,7 +73,7 @@
   
   /**
    * POST Method.
  - * 
  + *
    * @author <a href="mailto:remm@apache.org">Remy Maucherat</a>
    */
   public class PostMethod
  @@ -186,7 +186,7 @@
       
       /**
        * Generate the query body.
  -     * 
  +     *
        * @return String query
        */
       public String generateQuery() {
  @@ -211,7 +211,7 @@
       
       /**
        * Parse response.
  -     * 
  +     *
        * @param is Input stream
        */
       public void parseResponse(InputStream is)
  
  
  
  1.20      +4 -4      jakarta-slide/src/webdav/client/src/org/apache/webdav/lib/methods/PropFindMethod.java
  
  Index: PropFindMethod.java
  ===================================================================
  RCS file: /home/cvs/jakarta-slide/src/webdav/client/src/org/apache/webdav/lib/methods/PropFindMethod.java,v
  retrieving revision 1.19
  retrieving revision 1.20
  diff -u -r1.19 -r1.20
  --- PropFindMethod.java	2001/03/29 03:47:18	1.19
  +++ PropFindMethod.java	2001/04/03 10:32:45	1.20
  @@ -1,7 +1,7 @@
   /*
  - * $Header: /home/cvs/jakarta-slide/src/webdav/client/src/org/apache/webdav/lib/methods/PropFindMethod.java,v 1.19 2001/03/29 03:47:18 remm Exp $
  - * $Revision: 1.19 $
  - * $Date: 2001/03/29 03:47:18 $
  + * $Header: /home/cvs/jakarta-slide/src/webdav/client/src/org/apache/webdav/lib/methods/PropFindMethod.java,v 1.20 2001/04/03 10:32:45 juergen Exp $
  + * $Revision: 1.20 $
  + * $Date: 2001/04/03 10:32:45 $
    *
    * ====================================================================
    *
  @@ -60,7 +60,7 @@
    * [Additional notices, if required by prior licensing conditions]
    *
    */
  -
  + 
   package org.apache.webdav.lib.methods;
   
   import java.io.InputStream;
  
  
  
  1.15      +4 -4      jakarta-slide/src/webdav/client/src/org/apache/webdav/lib/methods/PropPatchMethod.java
  
  Index: PropPatchMethod.java
  ===================================================================
  RCS file: /home/cvs/jakarta-slide/src/webdav/client/src/org/apache/webdav/lib/methods/PropPatchMethod.java,v
  retrieving revision 1.14
  retrieving revision 1.15
  diff -u -r1.14 -r1.15
  --- PropPatchMethod.java	2001/03/23 05:06:38	1.14
  +++ PropPatchMethod.java	2001/04/03 10:32:45	1.15
  @@ -1,7 +1,7 @@
   /*
  - * $Header: /home/cvs/jakarta-slide/src/webdav/client/src/org/apache/webdav/lib/methods/PropPatchMethod.java,v 1.14 2001/03/23 05:06:38 remm Exp $
  - * $Revision: 1.14 $
  - * $Date: 2001/03/23 05:06:38 $
  + * $Header: /home/cvs/jakarta-slide/src/webdav/client/src/org/apache/webdav/lib/methods/PropPatchMethod.java,v 1.15 2001/04/03 10:32:45 juergen Exp $
  + * $Revision: 1.15 $
  + * $Date: 2001/04/03 10:32:45 $
    *
    * ====================================================================
    *
  @@ -60,7 +60,7 @@
    * [Additional notices, if required by prior licensing conditions]
    *
    */
  -
  + 
   package org.apache.webdav.lib.methods;
   
   import java.io.*;
  
  
  
  1.8       +4 -4      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.7
  retrieving revision 1.8
  diff -u -r1.7 -r1.8
  --- PutMethod.java	2001/03/23 05:06:39	1.7
  +++ PutMethod.java	2001/04/03 10:32:46	1.8
  @@ -1,7 +1,7 @@
   /*
  - * $Header: /home/cvs/jakarta-slide/src/webdav/client/src/org/apache/webdav/lib/methods/PutMethod.java,v 1.7 2001/03/23 05:06:39 remm Exp $
  - * $Revision: 1.7 $
  - * $Date: 2001/03/23 05:06:39 $
  + * $Header: /home/cvs/jakarta-slide/src/webdav/client/src/org/apache/webdav/lib/methods/PutMethod.java,v 1.8 2001/04/03 10:32:46 juergen Exp $
  + * $Revision: 1.8 $
  + * $Date: 2001/04/03 10:32:46 $
    *
    * ====================================================================
    *
  @@ -60,7 +60,7 @@
    * [Additional notices, if required by prior licensing conditions]
    *
    */
  -
  + 
   package org.apache.webdav.lib.methods;
   
   import java.io.IOException;
  
  
  
  1.7       +14 -14    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.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- UnlockMethod.java	2001/03/23 05:06:39	1.6
  +++ UnlockMethod.java	2001/04/03 10:32:47	1.7
  @@ -1,13 +1,13 @@
   /*
  - * $Header: /home/cvs/jakarta-slide/src/webdav/client/src/org/apache/webdav/lib/methods/UnlockMethod.java,v 1.6 2001/03/23 05:06:39 remm Exp $
  - * $Revision: 1.6 $
  - * $Date: 2001/03/23 05:06:39 $
  + * $Header: /home/cvs/jakarta-slide/src/webdav/client/src/org/apache/webdav/lib/methods/UnlockMethod.java,v 1.7 2001/04/03 10:32:47 juergen Exp $
  + * $Revision: 1.7 $
  + * $Date: 2001/04/03 10:32:47 $
    *
    * ====================================================================
    *
    * The Apache Software License, Version 1.1
    *
  - * Copyright (c) 1999 The Apache Software Foundation.  All rights 
  + * Copyright (c) 1999 The Apache Software Foundation.  All rights
    * reserved.
    *
    * Redistribution and use in source and binary forms, with or without
  @@ -15,7 +15,7 @@
    * are met:
    *
    * 1. Redistributions of source code must retain the above copyright
  - *    notice, this list of conditions and the following disclaimer. 
  + *    notice, this list of conditions and the following disclaimer.
    *
    * 2. Redistributions in binary form must reproduce the above copyright
    *    notice, this list of conditions and the following disclaimer in
  @@ -23,15 +23,15 @@
    *    distribution.
    *
    * 3. The end-user documentation included with the redistribution, if
  - *    any, must include the following acknowlegement:  
  - *       "This product includes software developed by the 
  + *    any, must include the following acknowlegement:
  + *       "This product includes software developed by the
    *        Apache Software Foundation (http://www.apache.org/)."
    *    Alternately, this acknowlegement may appear in the software itself,
    *    if and wherever such third-party acknowlegements normally appear.
    *
    * 4. The names "The Jakarta Project", "Tomcat", and "Apache Software
    *    Foundation" must not be used to endorse or promote products derived
  - *    from this software without prior written permission. For written 
  + *    from this software without prior written permission. For written
    *    permission, please contact apache@apache.org.
    *
    * 5. Products derived from this software may not be called "Apache"
  @@ -59,8 +59,8 @@
    *
    * [Additional notices, if required by prior licensing conditions]
    *
  - */ 
  -
  + */
  + 
   package org.apache.webdav.lib.methods;
   
   import java.io.InputStream;
  @@ -73,7 +73,7 @@
   
   /**
    * UNLOCK Method.
  - * 
  + *
    * @author <a href="mailto:remm@apache.org">Remy Maucherat</a>
    * @author <a href="mailto:bcholmes@interlog.com">B.C. Holmes</a>
    */
  @@ -124,7 +124,7 @@
       public void setLockToken(String lockToken) {
           checkNotUsed();
           this.lockToken = lockToken;
  -    }    
  +    }
       
       
       // --------------------------------------------------- WebdavMethod Methods
  @@ -132,7 +132,7 @@
       
       /**
        * Generate additional headers needed by the request.
  -     * 
  +     *
        * @param host the host
        * @param state State token
        */
  @@ -148,7 +148,7 @@
   
       /**
        * Parse response.
  -     * 
  +     *
        * @param is Input stream
        */
       public void parseResponse(InputStream is)