commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From marcs...@apache.org
Subject cvs commit: jakarta-commons/httpclient/src/java/org/apache/commons/httpclient/methods UrlDeleteMethod.java UrlGetMethod.java UrlHeadMethod.java UrlOptionsMethod.java UrlPostMethod.java UrlPutMethod.java
Date Mon, 22 Apr 2002 03:13:58 GMT
marcsaeg    02/04/21 20:13:58

  Modified:    httpclient/src/java/org/apache/commons/httpclient/methods
                        UrlDeleteMethod.java UrlGetMethod.java
                        UrlHeadMethod.java UrlOptionsMethod.java
                        UrlPostMethod.java UrlPutMethod.java
  Log:
  Make sure query strings get initialized when URL is specified in the
  constructor.
  
  PR:  8351
  
  Revision  Changes    Path
  1.4       +4 -3      jakarta-commons/httpclient/src/java/org/apache/commons/httpclient/methods/UrlDeleteMethod.java
  
  Index: UrlDeleteMethod.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/httpclient/src/java/org/apache/commons/httpclient/methods/UrlDeleteMethod.java,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- UrlDeleteMethod.java	21 Apr 2002 02:36:26 -0000	1.3
  +++ UrlDeleteMethod.java	22 Apr 2002 03:13:58 -0000	1.4
  @@ -1,7 +1,7 @@
   /*
  - * $Header: /home/cvs/jakarta-commons/httpclient/src/java/org/apache/commons/httpclient/methods/UrlDeleteMethod.java,v
1.3 2002/04/21 02:36:26 marcsaeg Exp $
  - * $Revision: 1.3 $
  - * $Date: 2002/04/21 02:36:26 $
  + * $Header: /home/cvs/jakarta-commons/httpclient/src/java/org/apache/commons/httpclient/methods/UrlDeleteMethod.java,v
1.4 2002/04/22 03:13:58 marcsaeg Exp $
  + * $Revision: 1.4 $
  + * $Date: 2002/04/22 03:13:58 $
    * ====================================================================
    *
    * The Apache Software License, Version 1.1
  @@ -92,6 +92,7 @@
        */
       public UrlDeleteMethod(String url) throws MalformedURLException {
           super(URIUtil.getPath(url));
  +        setUrl(url);
       }
   
       /**
  
  
  
  1.4       +7 -4      jakarta-commons/httpclient/src/java/org/apache/commons/httpclient/methods/UrlGetMethod.java
  
  Index: UrlGetMethod.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/httpclient/src/java/org/apache/commons/httpclient/methods/UrlGetMethod.java,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- UrlGetMethod.java	21 Apr 2002 02:36:26 -0000	1.3
  +++ UrlGetMethod.java	22 Apr 2002 03:13:58 -0000	1.4
  @@ -1,7 +1,7 @@
   /*
  - * $Header: /home/cvs/jakarta-commons/httpclient/src/java/org/apache/commons/httpclient/methods/UrlGetMethod.java,v
1.3 2002/04/21 02:36:26 marcsaeg Exp $
  - * $Revision: 1.3 $
  - * $Date: 2002/04/21 02:36:26 $
  + * $Header: /home/cvs/jakarta-commons/httpclient/src/java/org/apache/commons/httpclient/methods/UrlGetMethod.java,v
1.4 2002/04/22 03:13:58 marcsaeg Exp $
  + * $Revision: 1.4 $
  + * $Date: 2002/04/22 03:13:58 $
    * ====================================================================
    *
    * The Apache Software License, Version 1.1
  @@ -97,12 +97,13 @@
       public UrlGetMethod(String url) throws MalformedURLException
       {
           super(URIUtil.getPath(url));
  -        this.url = url;
  +        setUrl(url);
       }
   
       public UrlGetMethod(String url, String tempDir) throws MalformedURLException
       {
           super(URIUtil.getPath(url), tempDir);
  +        setUrl(url);
       }
   
       /**
  @@ -115,6 +116,7 @@
       public UrlGetMethod(String url, String tempDir, String tempFile) throws MalformedURLException
       {
           super(URIUtil.getPath(url), tempDir, tempFile);
  +        setUrl(url);
       }
   
       /**
  @@ -126,6 +128,7 @@
       public UrlGetMethod(String url, File fileData) throws MalformedURLException
       {
           super(URIUtil.getPath(url), fileData);
  +        setUrl(url);
       }
   
       /**
  
  
  
  1.4       +4 -3      jakarta-commons/httpclient/src/java/org/apache/commons/httpclient/methods/UrlHeadMethod.java
  
  Index: UrlHeadMethod.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/httpclient/src/java/org/apache/commons/httpclient/methods/UrlHeadMethod.java,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- UrlHeadMethod.java	21 Apr 2002 02:36:26 -0000	1.3
  +++ UrlHeadMethod.java	22 Apr 2002 03:13:58 -0000	1.4
  @@ -1,7 +1,7 @@
   /*
  - * $Header: /home/cvs/jakarta-commons/httpclient/src/java/org/apache/commons/httpclient/methods/UrlHeadMethod.java,v
1.3 2002/04/21 02:36:26 marcsaeg Exp $
  - * $Revision: 1.3 $
  - * $Date: 2002/04/21 02:36:26 $
  + * $Header: /home/cvs/jakarta-commons/httpclient/src/java/org/apache/commons/httpclient/methods/UrlHeadMethod.java,v
1.4 2002/04/22 03:13:58 marcsaeg Exp $
  + * $Revision: 1.4 $
  + * $Date: 2002/04/22 03:13:58 $
    * ====================================================================
    *
    * The Apache Software License, Version 1.1
  @@ -93,6 +93,7 @@
       public UrlHeadMethod(String url) throws MalformedURLException
       {
           super(URIUtil.getPath(url));
  +        setUrl(url);
       }
   
       /**
  
  
  
  1.4       +4 -3      jakarta-commons/httpclient/src/java/org/apache/commons/httpclient/methods/UrlOptionsMethod.java
  
  Index: UrlOptionsMethod.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/httpclient/src/java/org/apache/commons/httpclient/methods/UrlOptionsMethod.java,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- UrlOptionsMethod.java	21 Apr 2002 02:36:26 -0000	1.3
  +++ UrlOptionsMethod.java	22 Apr 2002 03:13:58 -0000	1.4
  @@ -1,7 +1,7 @@
   /*
  - * $Header: /home/cvs/jakarta-commons/httpclient/src/java/org/apache/commons/httpclient/methods/UrlOptionsMethod.java,v
1.3 2002/04/21 02:36:26 marcsaeg Exp $
  - * $Revision: 1.3 $
  - * $Date: 2002/04/21 02:36:26 $
  + * $Header: /home/cvs/jakarta-commons/httpclient/src/java/org/apache/commons/httpclient/methods/UrlOptionsMethod.java,v
1.4 2002/04/22 03:13:58 marcsaeg Exp $
  + * $Revision: 1.4 $
  + * $Date: 2002/04/22 03:13:58 $
    * ====================================================================
    *
    * The Apache Software License, Version 1.1
  @@ -93,6 +93,7 @@
       public UrlOptionsMethod(String url) throws MalformedURLException
       {
           super(URIUtil.getPath(url));
  +        setUrl(url);
       }
   
       /**
  
  
  
  1.4       +6 -3      jakarta-commons/httpclient/src/java/org/apache/commons/httpclient/methods/UrlPostMethod.java
  
  Index: UrlPostMethod.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/httpclient/src/java/org/apache/commons/httpclient/methods/UrlPostMethod.java,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- UrlPostMethod.java	21 Apr 2002 02:36:26 -0000	1.3
  +++ UrlPostMethod.java	22 Apr 2002 03:13:58 -0000	1.4
  @@ -1,7 +1,7 @@
   /*
  - * $Header: /home/cvs/jakarta-commons/httpclient/src/java/org/apache/commons/httpclient/methods/UrlPostMethod.java,v
1.3 2002/04/21 02:36:26 marcsaeg Exp $
  - * $Revision: 1.3 $
  - * $Date: 2002/04/21 02:36:26 $
  + * $Header: /home/cvs/jakarta-commons/httpclient/src/java/org/apache/commons/httpclient/methods/UrlPostMethod.java,v
1.4 2002/04/22 03:13:58 marcsaeg Exp $
  + * $Revision: 1.4 $
  + * $Date: 2002/04/22 03:13:58 $
    * ====================================================================
    *
    * The Apache Software License, Version 1.1
  @@ -94,6 +94,7 @@
       public UrlPostMethod(String url) throws MalformedURLException
       {
           super(URIUtil.getPath(url));
  +        setUrl(url);
       }
   
       /**
  @@ -105,6 +106,7 @@
       public UrlPostMethod(String url, String tempDir) throws MalformedURLException
       {
           super(URIUtil.getPath(url), tempDir);
  +        setUrl(url);
       }
   
       /**
  @@ -117,6 +119,7 @@
       public UrlPostMethod(String url, String tempDir, String tempFile) throws MalformedURLException
       {
           super(URIUtil.getPath(url), tempDir, tempFile);
  +        setUrl(url);
       }
   
       /**
  
  
  
  1.4       +4 -3      jakarta-commons/httpclient/src/java/org/apache/commons/httpclient/methods/UrlPutMethod.java
  
  Index: UrlPutMethod.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/httpclient/src/java/org/apache/commons/httpclient/methods/UrlPutMethod.java,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- UrlPutMethod.java	21 Apr 2002 02:36:26 -0000	1.3
  +++ UrlPutMethod.java	22 Apr 2002 03:13:58 -0000	1.4
  @@ -1,7 +1,7 @@
   /*
  - * $Header: /home/cvs/jakarta-commons/httpclient/src/java/org/apache/commons/httpclient/methods/UrlPutMethod.java,v
1.3 2002/04/21 02:36:26 marcsaeg Exp $
  - * $Revision: 1.3 $
  - * $Date: 2002/04/21 02:36:26 $
  + * $Header: /home/cvs/jakarta-commons/httpclient/src/java/org/apache/commons/httpclient/methods/UrlPutMethod.java,v
1.4 2002/04/22 03:13:58 marcsaeg Exp $
  + * $Revision: 1.4 $
  + * $Date: 2002/04/22 03:13:58 $
    * ====================================================================
    *
    * The Apache Software License, Version 1.1
  @@ -92,6 +92,7 @@
        */
       public UrlPutMethod(String url) throws MalformedURLException {
           super(URIUtil.getPath(url));
  +        setUrl(url);
       }
   
       /**
  
  
  

--
To unsubscribe, e-mail:   <mailto:commons-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:commons-dev-help@jakarta.apache.org>


Mime
View raw message