hc-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ol...@apache.org
Subject svn commit: r179127 - in /jakarta/httpclient/trunk/http-common/src: java/org/apache/http/impl/ java/org/apache/http/impl/entity/ test/org/apache/http/impl/
Date Mon, 30 May 2005 18:38:25 GMT
Author: olegk
Date: Mon May 30 11:38:24 2005
New Revision: 179127

URL: http://svn.apache.org/viewcvs?rev=179127&view=rev
Log:
Reorganized the package structure

Added:
    jakarta/httpclient/trunk/http-common/src/java/org/apache/http/impl/entity/BasicHttpEntity.java
      - copied, changed from r179036, jakarta/httpclient/trunk/http-common/src/java/org/apache/http/impl/BasicHttpEntity.java
    jakarta/httpclient/trunk/http-common/src/java/org/apache/http/impl/entity/DefaultEntityGenerator.java
      - copied, changed from r179036, jakarta/httpclient/trunk/http-common/src/java/org/apache/http/impl/DefaultEntityGenerator.java
    jakarta/httpclient/trunk/http-common/src/java/org/apache/http/impl/entity/DefaultEntityWriter.java
      - copied, changed from r179036, jakarta/httpclient/trunk/http-common/src/java/org/apache/http/impl/DefaultEntityWriter.java
    jakarta/httpclient/trunk/http-common/src/java/org/apache/http/impl/entity/EntityGenerator.java
      - copied, changed from r179036, jakarta/httpclient/trunk/http-common/src/java/org/apache/http/impl/EntityGenerator.java
    jakarta/httpclient/trunk/http-common/src/java/org/apache/http/impl/entity/EntityWriter.java
      - copied, changed from r179036, jakarta/httpclient/trunk/http-common/src/java/org/apache/http/impl/EntityWriter.java
Removed:
    jakarta/httpclient/trunk/http-common/src/java/org/apache/http/impl/BasicHttpEntity.java
    jakarta/httpclient/trunk/http-common/src/java/org/apache/http/impl/DefaultEntityGenerator.java
    jakarta/httpclient/trunk/http-common/src/java/org/apache/http/impl/DefaultEntityWriter.java
    jakarta/httpclient/trunk/http-common/src/java/org/apache/http/impl/EntityGenerator.java
    jakarta/httpclient/trunk/http-common/src/java/org/apache/http/impl/EntityWriter.java
Modified:
    jakarta/httpclient/trunk/http-common/src/java/org/apache/http/impl/DefaultHttpClientConnection.java
    jakarta/httpclient/trunk/http-common/src/java/org/apache/http/impl/DefaultHttpServerConnection.java
    jakarta/httpclient/trunk/http-common/src/test/org/apache/http/impl/TestDefaultConnectionReuseStrategy.java
    jakarta/httpclient/trunk/http-common/src/test/org/apache/http/impl/TestDefaultEntityGenerator.java
    jakarta/httpclient/trunk/http-common/src/test/org/apache/http/impl/TestDefaultResponseConsumedWatcher.java

Modified: jakarta/httpclient/trunk/http-common/src/java/org/apache/http/impl/DefaultHttpClientConnection.java
URL: http://svn.apache.org/viewcvs/jakarta/httpclient/trunk/http-common/src/java/org/apache/http/impl/DefaultHttpClientConnection.java?rev=179127&r1=179126&r2=179127&view=diff
==============================================================================
--- jakarta/httpclient/trunk/http-common/src/java/org/apache/http/impl/DefaultHttpClientConnection.java
(original)
+++ jakarta/httpclient/trunk/http-common/src/java/org/apache/http/impl/DefaultHttpClientConnection.java
Mon May 30 11:38:24 2005
@@ -49,6 +49,10 @@
 import org.apache.http.ProtocolException;
 import org.apache.http.SocketFactory;
 import org.apache.http.StatusLine;
+import org.apache.http.impl.entity.DefaultEntityGenerator;
+import org.apache.http.impl.entity.DefaultEntityWriter;
+import org.apache.http.impl.entity.EntityGenerator;
+import org.apache.http.impl.entity.EntityWriter;
 import org.apache.http.params.HttpParams;
 import org.apache.http.params.HttpProtocolParams;
 import org.apache.http.util.HeadersParser;

Modified: jakarta/httpclient/trunk/http-common/src/java/org/apache/http/impl/DefaultHttpServerConnection.java
URL: http://svn.apache.org/viewcvs/jakarta/httpclient/trunk/http-common/src/java/org/apache/http/impl/DefaultHttpServerConnection.java?rev=179127&r1=179126&r2=179127&view=diff
==============================================================================
--- jakarta/httpclient/trunk/http-common/src/java/org/apache/http/impl/DefaultHttpServerConnection.java
(original)
+++ jakarta/httpclient/trunk/http-common/src/java/org/apache/http/impl/DefaultHttpServerConnection.java
Mon May 30 11:38:24 2005
@@ -44,6 +44,10 @@
 import org.apache.http.HttpStatus;
 import org.apache.http.HttpVersion;
 import org.apache.http.RequestLine;
+import org.apache.http.impl.entity.DefaultEntityGenerator;
+import org.apache.http.impl.entity.DefaultEntityWriter;
+import org.apache.http.impl.entity.EntityGenerator;
+import org.apache.http.impl.entity.EntityWriter;
 import org.apache.http.params.HttpParams;
 import org.apache.http.util.HeadersParser;
 

Copied: jakarta/httpclient/trunk/http-common/src/java/org/apache/http/impl/entity/BasicHttpEntity.java
(from r179036, jakarta/httpclient/trunk/http-common/src/java/org/apache/http/impl/BasicHttpEntity.java)
URL: http://svn.apache.org/viewcvs/jakarta/httpclient/trunk/http-common/src/java/org/apache/http/impl/entity/BasicHttpEntity.java?p2=jakarta/httpclient/trunk/http-common/src/java/org/apache/http/impl/entity/BasicHttpEntity.java&p1=jakarta/httpclient/trunk/http-common/src/java/org/apache/http/impl/BasicHttpEntity.java&r1=179036&r2=179127&rev=179127&view=diff
==============================================================================
--- jakarta/httpclient/trunk/http-common/src/java/org/apache/http/impl/BasicHttpEntity.java
(original)
+++ jakarta/httpclient/trunk/http-common/src/java/org/apache/http/impl/entity/BasicHttpEntity.java
Mon May 30 11:38:24 2005
@@ -27,7 +27,7 @@
  *
  */
 
-package org.apache.http.impl;
+package org.apache.http.impl.entity;
 
 import java.io.IOException;
 import java.io.InputStream;
@@ -52,7 +52,7 @@
     private long length = -1;
     private boolean chunked = false;
     
-    protected BasicHttpEntity() {
+    public BasicHttpEntity() {
         super();
     }
 

Copied: jakarta/httpclient/trunk/http-common/src/java/org/apache/http/impl/entity/DefaultEntityGenerator.java
(from r179036, jakarta/httpclient/trunk/http-common/src/java/org/apache/http/impl/DefaultEntityGenerator.java)
URL: http://svn.apache.org/viewcvs/jakarta/httpclient/trunk/http-common/src/java/org/apache/http/impl/entity/DefaultEntityGenerator.java?p2=jakarta/httpclient/trunk/http-common/src/java/org/apache/http/impl/entity/DefaultEntityGenerator.java&p1=jakarta/httpclient/trunk/http-common/src/java/org/apache/http/impl/DefaultEntityGenerator.java&r1=179036&r2=179127&rev=179127&view=diff
==============================================================================
--- jakarta/httpclient/trunk/http-common/src/java/org/apache/http/impl/DefaultEntityGenerator.java
(original)
+++ jakarta/httpclient/trunk/http-common/src/java/org/apache/http/impl/entity/DefaultEntityGenerator.java
Mon May 30 11:38:24 2005
@@ -27,7 +27,7 @@
  *
  */
 
-package org.apache.http.impl;
+package org.apache.http.impl.entity;
 
 import java.io.IOException;
 import java.io.InputStream;

Copied: jakarta/httpclient/trunk/http-common/src/java/org/apache/http/impl/entity/DefaultEntityWriter.java
(from r179036, jakarta/httpclient/trunk/http-common/src/java/org/apache/http/impl/DefaultEntityWriter.java)
URL: http://svn.apache.org/viewcvs/jakarta/httpclient/trunk/http-common/src/java/org/apache/http/impl/entity/DefaultEntityWriter.java?p2=jakarta/httpclient/trunk/http-common/src/java/org/apache/http/impl/entity/DefaultEntityWriter.java&p1=jakarta/httpclient/trunk/http-common/src/java/org/apache/http/impl/DefaultEntityWriter.java&r1=179036&r2=179127&rev=179127&view=diff
==============================================================================
--- jakarta/httpclient/trunk/http-common/src/java/org/apache/http/impl/DefaultEntityWriter.java
(original)
+++ jakarta/httpclient/trunk/http-common/src/java/org/apache/http/impl/entity/DefaultEntityWriter.java
Mon May 30 11:38:24 2005
@@ -27,7 +27,7 @@
  *
  */
 
-package org.apache.http.impl;
+package org.apache.http.impl.entity;
 
 import java.io.IOException;
 import java.io.OutputStream;

Copied: jakarta/httpclient/trunk/http-common/src/java/org/apache/http/impl/entity/EntityGenerator.java
(from r179036, jakarta/httpclient/trunk/http-common/src/java/org/apache/http/impl/EntityGenerator.java)
URL: http://svn.apache.org/viewcvs/jakarta/httpclient/trunk/http-common/src/java/org/apache/http/impl/entity/EntityGenerator.java?p2=jakarta/httpclient/trunk/http-common/src/java/org/apache/http/impl/entity/EntityGenerator.java&p1=jakarta/httpclient/trunk/http-common/src/java/org/apache/http/impl/EntityGenerator.java&r1=179036&r2=179127&rev=179127&view=diff
==============================================================================
--- jakarta/httpclient/trunk/http-common/src/java/org/apache/http/impl/EntityGenerator.java
(original)
+++ jakarta/httpclient/trunk/http-common/src/java/org/apache/http/impl/entity/EntityGenerator.java
Mon May 30 11:38:24 2005
@@ -27,7 +27,7 @@
  *
  */
 
-package org.apache.http.impl;
+package org.apache.http.impl.entity;
 
 import java.io.IOException;
 

Copied: jakarta/httpclient/trunk/http-common/src/java/org/apache/http/impl/entity/EntityWriter.java
(from r179036, jakarta/httpclient/trunk/http-common/src/java/org/apache/http/impl/EntityWriter.java)
URL: http://svn.apache.org/viewcvs/jakarta/httpclient/trunk/http-common/src/java/org/apache/http/impl/entity/EntityWriter.java?p2=jakarta/httpclient/trunk/http-common/src/java/org/apache/http/impl/entity/EntityWriter.java&p1=jakarta/httpclient/trunk/http-common/src/java/org/apache/http/impl/EntityWriter.java&r1=179036&r2=179127&rev=179127&view=diff
==============================================================================
--- jakarta/httpclient/trunk/http-common/src/java/org/apache/http/impl/EntityWriter.java (original)
+++ jakarta/httpclient/trunk/http-common/src/java/org/apache/http/impl/entity/EntityWriter.java
Mon May 30 11:38:24 2005
@@ -27,7 +27,7 @@
  *
  */
 
-package org.apache.http.impl;
+package org.apache.http.impl.entity;
 
 import java.io.IOException;
 

Modified: jakarta/httpclient/trunk/http-common/src/test/org/apache/http/impl/TestDefaultConnectionReuseStrategy.java
URL: http://svn.apache.org/viewcvs/jakarta/httpclient/trunk/http-common/src/test/org/apache/http/impl/TestDefaultConnectionReuseStrategy.java?rev=179127&r1=179126&r2=179127&view=diff
==============================================================================
--- jakarta/httpclient/trunk/http-common/src/test/org/apache/http/impl/TestDefaultConnectionReuseStrategy.java
(original)
+++ jakarta/httpclient/trunk/http-common/src/test/org/apache/http/impl/TestDefaultConnectionReuseStrategy.java
Mon May 30 11:38:24 2005
@@ -33,6 +33,7 @@
 import org.apache.http.HttpMutableResponse;
 import org.apache.http.HttpVersion;
 import org.apache.http.StatusLine;
+import org.apache.http.impl.entity.BasicHttpEntity;
 
 import junit.framework.Test;
 import junit.framework.TestCase;

Modified: jakarta/httpclient/trunk/http-common/src/test/org/apache/http/impl/TestDefaultEntityGenerator.java
URL: http://svn.apache.org/viewcvs/jakarta/httpclient/trunk/http-common/src/test/org/apache/http/impl/TestDefaultEntityGenerator.java?rev=179127&r1=179126&r2=179127&view=diff
==============================================================================
--- jakarta/httpclient/trunk/http-common/src/test/org/apache/http/impl/TestDefaultEntityGenerator.java
(original)
+++ jakarta/httpclient/trunk/http-common/src/test/org/apache/http/impl/TestDefaultEntityGenerator.java
Mon May 30 11:38:24 2005
@@ -35,6 +35,8 @@
 import org.apache.http.HttpEntity;
 import org.apache.http.HttpMutableMessage;
 import org.apache.http.ProtocolException;
+import org.apache.http.impl.entity.DefaultEntityGenerator;
+import org.apache.http.impl.entity.EntityGenerator;
 import org.apache.http.io.ChunkedInputStream;
 import org.apache.http.io.ContentLengthInputStream;
 import org.apache.http.io.HttpDataInputStream;

Modified: jakarta/httpclient/trunk/http-common/src/test/org/apache/http/impl/TestDefaultResponseConsumedWatcher.java
URL: http://svn.apache.org/viewcvs/jakarta/httpclient/trunk/http-common/src/test/org/apache/http/impl/TestDefaultResponseConsumedWatcher.java?rev=179127&r1=179126&r2=179127&view=diff
==============================================================================
--- jakarta/httpclient/trunk/http-common/src/test/org/apache/http/impl/TestDefaultResponseConsumedWatcher.java
(original)
+++ jakarta/httpclient/trunk/http-common/src/test/org/apache/http/impl/TestDefaultResponseConsumedWatcher.java
Mon May 30 11:38:24 2005
@@ -36,6 +36,7 @@
 import org.apache.http.HttpMutableResponse;
 import org.apache.http.HttpVersion;
 import org.apache.http.StatusLine;
+import org.apache.http.impl.entity.BasicHttpEntity;
 import org.apache.http.mockup.HttpConnectionMockup;
 
 import junit.framework.Test;



Mime
View raw message