commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jeri...@apache.org
Subject cvs commit: jakarta-commons/httpclient/src/java/org/apache/commons/httpclient/methods UrlPutMethod.java UrlPostMethod.java UrlOptionsMethod.java UrlHeadMethod.java UrlGetMethod.java UrlDeleteMethod.java
Date Sun, 20 Oct 2002 13:38:34 GMT
jericho     2002/10/20 06:38:34

  Modified:    httpclient/src/java/org/apache/commons/httpclient/methods
                        UrlPutMethod.java UrlPostMethod.java
                        UrlOptionsMethod.java UrlHeadMethod.java
                        UrlGetMethod.java UrlDeleteMethod.java
  Log:
  - Use httpclient.util.URIUtil methods instead of httpclient.URIUtil in UrlXxxMethods...
  
  Revision  Changes    Path
  1.8       +5 -5      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.7
  retrieving revision 1.8
  diff -u -r1.7 -r1.8
  --- UrlPutMethod.java	3 Sep 2002 01:36:26 -0000	1.7
  +++ UrlPutMethod.java	20 Oct 2002 13:38:34 -0000	1.8
  @@ -63,7 +63,7 @@
   package org.apache.commons.httpclient.methods;
   
   import org.apache.commons.httpclient.HttpUrlMethod;
  -import org.apache.commons.httpclient.URIUtil;
  +import org.apache.commons.httpclient.util.URIUtil;
   
   import java.net.MalformedURLException;
   
  @@ -105,7 +105,7 @@
       {
           setPath(URIUtil.getPath(url));
           this.url = url;
  -        String query = URIUtil.getQueryString(url);
  +        String query = URIUtil.getQuery(url);
           if(query != null && query.length() > 0){
               super.setQueryString(query);
           }
  
  
  
  1.7       +5 -5      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.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- UrlPostMethod.java	28 Jul 2002 18:08:59 -0000	1.6
  +++ UrlPostMethod.java	20 Oct 2002 13:38:34 -0000	1.7
  @@ -63,7 +63,7 @@
   package org.apache.commons.httpclient.methods;
   
   import org.apache.commons.httpclient.HttpUrlMethod;
  -import org.apache.commons.httpclient.URIUtil;
  +import org.apache.commons.httpclient.util.URIUtil;
   
   import java.net.MalformedURLException;
   
  @@ -132,7 +132,7 @@
       {
           super.setPath(URIUtil.getPath(url));
           this.url = url;
  -        String query = URIUtil.getQueryString(url);
  +        String query = URIUtil.getQuery(url);
           if(query != null && query.length() > 0){
               super.setQueryString(query);
           }
  
  
  
  1.8       +5 -5      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.7
  retrieving revision 1.8
  diff -u -r1.7 -r1.8
  --- UrlOptionsMethod.java	3 Sep 2002 01:36:26 -0000	1.7
  +++ UrlOptionsMethod.java	20 Oct 2002 13:38:34 -0000	1.8
  @@ -63,7 +63,7 @@
   package org.apache.commons.httpclient.methods;
   
   import org.apache.commons.httpclient.HttpUrlMethod;
  -import org.apache.commons.httpclient.URIUtil;
  +import org.apache.commons.httpclient.util.URIUtil;
   
   import java.net.MalformedURLException;
   
  @@ -106,7 +106,7 @@
       {
           super.setPath(URIUtil.getPath(url));
           this.url = url;
  -        String query = URIUtil.getQueryString(url);
  +        String query = URIUtil.getQuery(url);
           if(query != null && query.length() > 0){
               super.setQueryString(query);
           }
  
  
  
  1.8       +5 -5      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.7
  retrieving revision 1.8
  diff -u -r1.7 -r1.8
  --- UrlHeadMethod.java	3 Sep 2002 01:36:26 -0000	1.7
  +++ UrlHeadMethod.java	20 Oct 2002 13:38:34 -0000	1.8
  @@ -63,7 +63,7 @@
   package org.apache.commons.httpclient.methods;
   
   import org.apache.commons.httpclient.HttpUrlMethod;
  -import org.apache.commons.httpclient.URIUtil;
  +import org.apache.commons.httpclient.util.URIUtil;
   
   import java.net.MalformedURLException;
   
  @@ -106,7 +106,7 @@
       {
           super.setPath(URIUtil.getPath(url));
           this.url = url;
  -        String query = URIUtil.getQueryString(url);
  +        String query = URIUtil.getQuery(url);
           if(query != null && query.length() > 0){
               super.setQueryString(query);
           }
  
  
  
  1.8       +5 -5      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.7
  retrieving revision 1.8
  diff -u -r1.7 -r1.8
  --- UrlGetMethod.java	3 Sep 2002 01:36:26 -0000	1.7
  +++ UrlGetMethod.java	20 Oct 2002 13:38:34 -0000	1.8
  @@ -63,7 +63,7 @@
   package org.apache.commons.httpclient.methods;
   
   import org.apache.commons.httpclient.HttpUrlMethod;
  -import org.apache.commons.httpclient.URIUtil;
  +import org.apache.commons.httpclient.util.URIUtil;
   
   import java.io.File;
   import java.net.MalformedURLException;
  @@ -139,7 +139,7 @@
       {
           super.setPath(URIUtil.getPath(url));
           this.url = url;
  -        String query = URIUtil.getQueryString(url);
  +        String query = URIUtil.getQuery(url);
           if(query != null && query.length() > 0){
               super.setQueryString(query);
           }
  
  
  
  1.8       +5 -5      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.7
  retrieving revision 1.8
  diff -u -r1.7 -r1.8
  --- UrlDeleteMethod.java	3 Sep 2002 01:36:26 -0000	1.7
  +++ UrlDeleteMethod.java	20 Oct 2002 13:38:34 -0000	1.8
  @@ -63,7 +63,7 @@
   package org.apache.commons.httpclient.methods;
   
   import org.apache.commons.httpclient.HttpUrlMethod;
  -import org.apache.commons.httpclient.URIUtil;
  +import org.apache.commons.httpclient.util.URIUtil;
   
   import java.net.MalformedURLException;
   
  @@ -105,7 +105,7 @@
       public void setUrl(String url) throws MalformedURLException {
           setPath(URIUtil.getPath(url));
           this.url = url;
  -        String query = URIUtil.getQueryString(url);
  +        String query = URIUtil.getQuery(url);
           if(query != null && query.length() > 0){
               super.setQueryString(query);
           }
  
  
  

--
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