hc-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ol...@apache.org
Subject svn commit: r267283 - in /jakarta/httpclient/trunk/http-common/src: java/org/apache/http/impl/io/ java/org/apache/http/io/ test/org/apache/http/impl/ test/org/apache/http/io/ test/org/apache/http/mockup/ test/tests/performance/
Date Fri, 02 Sep 2005 19:54:51 GMT
Author: olegk
Date: Fri Sep  2 12:54:32 2005
New Revision: 267283

URL: http://svn.apache.org/viewcvs?rev=267283&view=rev
Log:
http.io package refactoring

Added:
    jakarta/httpclient/trunk/http-common/src/java/org/apache/http/impl/io/InputStreamHttpDataReceiver.java
      - copied, changed from r267282, jakarta/httpclient/trunk/http-common/src/java/org/apache/http/io/InputStreamHttpDataReceiver.java
    jakarta/httpclient/trunk/http-common/src/java/org/apache/http/impl/io/OutputStreamHttpDataTransmitter.java
      - copied, changed from r267282, jakarta/httpclient/trunk/http-common/src/java/org/apache/http/io/OutputStreamHttpDataTransmitter.java
    jakarta/httpclient/trunk/http-common/src/test/org/apache/http/impl/TestOldIOHttpDataReceiverAndTransmitter.java
      - copied, changed from r267282, jakarta/httpclient/trunk/http-common/src/test/org/apache/http/io/TestOldIOHttpDataReceiverAndTransmitter.java
Removed:
    jakarta/httpclient/trunk/http-common/src/java/org/apache/http/io/InputStreamHttpDataReceiver.java
    jakarta/httpclient/trunk/http-common/src/java/org/apache/http/io/OutputStreamHttpDataTransmitter.java
    jakarta/httpclient/trunk/http-common/src/test/org/apache/http/io/TestOldIOHttpDataReceiverAndTransmitter.java
Modified:
    jakarta/httpclient/trunk/http-common/src/java/org/apache/http/impl/io/OldIOSocketHttpDataReceiver.java
    jakarta/httpclient/trunk/http-common/src/java/org/apache/http/impl/io/OldIOSocketHttpDataTransmitter.java
    jakarta/httpclient/trunk/http-common/src/test/org/apache/http/impl/TestAllImpl.java
    jakarta/httpclient/trunk/http-common/src/test/org/apache/http/impl/TestDefaultEntityGenerator.java
    jakarta/httpclient/trunk/http-common/src/test/org/apache/http/io/TestAllIO.java
    jakarta/httpclient/trunk/http-common/src/test/org/apache/http/mockup/InputStreamHttpDataReceiverMockup.java
    jakarta/httpclient/trunk/http-common/src/test/org/apache/http/mockup/OutputStreamHttpDataTransmitterMockup.java
    jakarta/httpclient/trunk/http-common/src/test/tests/performance/ChunkedIOvsContentLengthDelimIOTest.java

Copied: jakarta/httpclient/trunk/http-common/src/java/org/apache/http/impl/io/InputStreamHttpDataReceiver.java
(from r267282, jakarta/httpclient/trunk/http-common/src/java/org/apache/http/io/InputStreamHttpDataReceiver.java)
URL: http://svn.apache.org/viewcvs/jakarta/httpclient/trunk/http-common/src/java/org/apache/http/impl/io/InputStreamHttpDataReceiver.java?p2=jakarta/httpclient/trunk/http-common/src/java/org/apache/http/impl/io/InputStreamHttpDataReceiver.java&p1=jakarta/httpclient/trunk/http-common/src/java/org/apache/http/io/InputStreamHttpDataReceiver.java&r1=267282&r2=267283&rev=267283&view=diff
==============================================================================
--- jakarta/httpclient/trunk/http-common/src/java/org/apache/http/io/InputStreamHttpDataReceiver.java
(original)
+++ jakarta/httpclient/trunk/http-common/src/java/org/apache/http/impl/io/InputStreamHttpDataReceiver.java
Fri Sep  2 12:54:32 2005
@@ -27,11 +27,12 @@
  *
  */
 
-package org.apache.http.io;
+package org.apache.http.impl.io;
 
 import java.io.IOException;
 import java.io.InputStream;
 
+import org.apache.http.io.HttpDataReceiver;
 import org.apache.http.params.HttpParams;
 import org.apache.http.params.HttpProtocolParams;
 import org.apache.http.util.ByteArrayBuffer;

Modified: jakarta/httpclient/trunk/http-common/src/java/org/apache/http/impl/io/OldIOSocketHttpDataReceiver.java
URL: http://svn.apache.org/viewcvs/jakarta/httpclient/trunk/http-common/src/java/org/apache/http/impl/io/OldIOSocketHttpDataReceiver.java?rev=267283&r1=267282&r2=267283&view=diff
==============================================================================
--- jakarta/httpclient/trunk/http-common/src/java/org/apache/http/impl/io/OldIOSocketHttpDataReceiver.java
(original)
+++ jakarta/httpclient/trunk/http-common/src/java/org/apache/http/impl/io/OldIOSocketHttpDataReceiver.java
Fri Sep  2 12:54:32 2005
@@ -33,7 +33,6 @@
 import java.io.InterruptedIOException;
 import java.net.Socket;
 
-import org.apache.http.io.InputStreamHttpDataReceiver;
 
 /**
  * <p>

Modified: jakarta/httpclient/trunk/http-common/src/java/org/apache/http/impl/io/OldIOSocketHttpDataTransmitter.java
URL: http://svn.apache.org/viewcvs/jakarta/httpclient/trunk/http-common/src/java/org/apache/http/impl/io/OldIOSocketHttpDataTransmitter.java?rev=267283&r1=267282&r2=267283&view=diff
==============================================================================
--- jakarta/httpclient/trunk/http-common/src/java/org/apache/http/impl/io/OldIOSocketHttpDataTransmitter.java
(original)
+++ jakarta/httpclient/trunk/http-common/src/java/org/apache/http/impl/io/OldIOSocketHttpDataTransmitter.java
Fri Sep  2 12:54:32 2005
@@ -32,7 +32,6 @@
 import java.io.IOException;
 import java.net.Socket;
 
-import org.apache.http.io.OutputStreamHttpDataTransmitter;
 
 /**
  * <p>

Copied: jakarta/httpclient/trunk/http-common/src/java/org/apache/http/impl/io/OutputStreamHttpDataTransmitter.java
(from r267282, jakarta/httpclient/trunk/http-common/src/java/org/apache/http/io/OutputStreamHttpDataTransmitter.java)
URL: http://svn.apache.org/viewcvs/jakarta/httpclient/trunk/http-common/src/java/org/apache/http/impl/io/OutputStreamHttpDataTransmitter.java?p2=jakarta/httpclient/trunk/http-common/src/java/org/apache/http/impl/io/OutputStreamHttpDataTransmitter.java&p1=jakarta/httpclient/trunk/http-common/src/java/org/apache/http/io/OutputStreamHttpDataTransmitter.java&r1=267282&r2=267283&rev=267283&view=diff
==============================================================================
--- jakarta/httpclient/trunk/http-common/src/java/org/apache/http/io/OutputStreamHttpDataTransmitter.java
(original)
+++ jakarta/httpclient/trunk/http-common/src/java/org/apache/http/impl/io/OutputStreamHttpDataTransmitter.java
Fri Sep  2 12:54:32 2005
@@ -27,11 +27,12 @@
  *
  */
 
-package org.apache.http.io;
+package org.apache.http.impl.io;
 
 import java.io.IOException;
 import java.io.OutputStream;
 
+import org.apache.http.io.HttpDataTransmitter;
 import org.apache.http.params.HttpParams;
 import org.apache.http.params.HttpProtocolParams;
 

Modified: jakarta/httpclient/trunk/http-common/src/test/org/apache/http/impl/TestAllImpl.java
URL: http://svn.apache.org/viewcvs/jakarta/httpclient/trunk/http-common/src/test/org/apache/http/impl/TestAllImpl.java?rev=267283&r1=267282&r2=267283&view=diff
==============================================================================
--- jakarta/httpclient/trunk/http-common/src/test/org/apache/http/impl/TestAllImpl.java (original)
+++ jakarta/httpclient/trunk/http-common/src/test/org/apache/http/impl/TestAllImpl.java Fri
Sep  2 12:54:32 2005
@@ -40,6 +40,7 @@
         TestSuite suite = new TestSuite();
         suite.addTest(TestHeaderGroup.suite());
         suite.addTest(TestNIOHttpTransmitterAndReceiver.suite());
+        suite.addTest(TestOldIOHttpDataReceiverAndTransmitter.suite());
         suite.addTest(TestAutoCloseInputStream.suite());
         suite.addTest(TestDefaultConnectionReuseStrategy.suite());
         suite.addTest(TestDefaultEntityGenerator.suite());

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=267283&r1=267282&r2=267283&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
Fri Sep  2 12:54:32 2005
@@ -37,11 +37,11 @@
 import org.apache.http.ProtocolException;
 import org.apache.http.impl.entity.DefaultEntityGenerator;
 import org.apache.http.impl.entity.EntityGenerator;
+import org.apache.http.impl.io.InputStreamHttpDataReceiver;
 import org.apache.http.io.ChunkedInputStream;
 import org.apache.http.io.ContentLengthInputStream;
 import org.apache.http.io.HttpDataInputStream;
 import org.apache.http.io.HttpDataReceiver;
-import org.apache.http.io.InputStreamHttpDataReceiver;
 import org.apache.http.mockup.HttpDataReceiverMockup;
 import org.apache.http.params.HttpProtocolParams;
 

Copied: jakarta/httpclient/trunk/http-common/src/test/org/apache/http/impl/TestOldIOHttpDataReceiverAndTransmitter.java
(from r267282, jakarta/httpclient/trunk/http-common/src/test/org/apache/http/io/TestOldIOHttpDataReceiverAndTransmitter.java)
URL: http://svn.apache.org/viewcvs/jakarta/httpclient/trunk/http-common/src/test/org/apache/http/impl/TestOldIOHttpDataReceiverAndTransmitter.java?p2=jakarta/httpclient/trunk/http-common/src/test/org/apache/http/impl/TestOldIOHttpDataReceiverAndTransmitter.java&p1=jakarta/httpclient/trunk/http-common/src/test/org/apache/http/io/TestOldIOHttpDataReceiverAndTransmitter.java&r1=267282&r2=267283&rev=267283&view=diff
==============================================================================
--- jakarta/httpclient/trunk/http-common/src/test/org/apache/http/io/TestOldIOHttpDataReceiverAndTransmitter.java
(original)
+++ jakarta/httpclient/trunk/http-common/src/test/org/apache/http/impl/TestOldIOHttpDataReceiverAndTransmitter.java
Fri Sep  2 12:54:32 2005
@@ -26,7 +26,7 @@
  *
  */
 
-package org.apache.http.io;
+package org.apache.http.impl;
 
 import java.io.ByteArrayInputStream;
 import java.io.ByteArrayOutputStream;

Modified: jakarta/httpclient/trunk/http-common/src/test/org/apache/http/io/TestAllIO.java
URL: http://svn.apache.org/viewcvs/jakarta/httpclient/trunk/http-common/src/test/org/apache/http/io/TestAllIO.java?rev=267283&r1=267282&r2=267283&view=diff
==============================================================================
--- jakarta/httpclient/trunk/http-common/src/test/org/apache/http/io/TestAllIO.java (original)
+++ jakarta/httpclient/trunk/http-common/src/test/org/apache/http/io/TestAllIO.java Fri Sep
 2 12:54:32 2005
@@ -42,7 +42,6 @@
         suite.addTest(TestHttpDataOutputStream.suite());
         suite.addTest(TestChunkCoding.suite());
         suite.addTest(TestContentLengthInputStream.suite());
-        suite.addTest(TestOldIOHttpDataReceiverAndTransmitter.suite());
         return suite;
     }
 

Modified: jakarta/httpclient/trunk/http-common/src/test/org/apache/http/mockup/InputStreamHttpDataReceiverMockup.java
URL: http://svn.apache.org/viewcvs/jakarta/httpclient/trunk/http-common/src/test/org/apache/http/mockup/InputStreamHttpDataReceiverMockup.java?rev=267283&r1=267282&r2=267283&view=diff
==============================================================================
--- jakarta/httpclient/trunk/http-common/src/test/org/apache/http/mockup/InputStreamHttpDataReceiverMockup.java
(original)
+++ jakarta/httpclient/trunk/http-common/src/test/org/apache/http/mockup/InputStreamHttpDataReceiverMockup.java
Fri Sep  2 12:54:32 2005
@@ -4,7 +4,7 @@
 import java.io.InputStream;
 import java.io.UnsupportedEncodingException;
 
-import org.apache.http.io.InputStreamHttpDataReceiver;
+import org.apache.http.impl.io.InputStreamHttpDataReceiver;
 
 /**
  * {@link HttpDataInputStream} mockup implementation.

Modified: jakarta/httpclient/trunk/http-common/src/test/org/apache/http/mockup/OutputStreamHttpDataTransmitterMockup.java
URL: http://svn.apache.org/viewcvs/jakarta/httpclient/trunk/http-common/src/test/org/apache/http/mockup/OutputStreamHttpDataTransmitterMockup.java?rev=267283&r1=267282&r2=267283&view=diff
==============================================================================
--- jakarta/httpclient/trunk/http-common/src/test/org/apache/http/mockup/OutputStreamHttpDataTransmitterMockup.java
(original)
+++ jakarta/httpclient/trunk/http-common/src/test/org/apache/http/mockup/OutputStreamHttpDataTransmitterMockup.java
Fri Sep  2 12:54:32 2005
@@ -3,7 +3,7 @@
 import java.io.ByteArrayOutputStream;
 import java.io.OutputStream;
 
-import org.apache.http.io.OutputStreamHttpDataTransmitter;
+import org.apache.http.impl.io.OutputStreamHttpDataTransmitter;
 
 /**
  * {@link HttpDataTransmitter} mockup implementation.

Modified: jakarta/httpclient/trunk/http-common/src/test/tests/performance/ChunkedIOvsContentLengthDelimIOTest.java
URL: http://svn.apache.org/viewcvs/jakarta/httpclient/trunk/http-common/src/test/tests/performance/ChunkedIOvsContentLengthDelimIOTest.java?rev=267283&r1=267282&r2=267283&view=diff
==============================================================================
--- jakarta/httpclient/trunk/http-common/src/test/tests/performance/ChunkedIOvsContentLengthDelimIOTest.java
(original)
+++ jakarta/httpclient/trunk/http-common/src/test/tests/performance/ChunkedIOvsContentLengthDelimIOTest.java
Fri Sep  2 12:54:32 2005
@@ -35,11 +35,11 @@
 import java.util.Random;
 
 import org.apache.http.impl.io.DefaultHttpDataReceiverFactory;
+import org.apache.http.impl.io.OutputStreamHttpDataTransmitter;
 import org.apache.http.io.ChunkedInputStream;
 import org.apache.http.io.ChunkedOutputStream;
 import org.apache.http.io.ContentLengthInputStream;
 import org.apache.http.io.HttpDataReceiverFactory;
-import org.apache.http.io.OutputStreamHttpDataTransmitter;
 
 public class ChunkedIOvsContentLengthDelimIOTest {
 



Mime
View raw message