hc-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ol...@apache.org
Subject svn commit: r159621 - in jakarta/httpclient/trunk/http-common/src: java/org/apache/http/ java/org/apache/http/impl/ java/org/apache/http/io/ java/org/apache/http/util/ test/org/apache/http/impl/ test/org/apache/http/io/ test/org/apache/http/util/
Date Thu, 31 Mar 2005 18:54:16 GMT
Author: olegk
Date: Thu Mar 31 10:54:14 2005
New Revision: 159621

URL: http://svn.apache.org/viewcvs?view=rev&rev=159621
Log:
Moved HttpDataReceiver and HttpDataTransfer interfaces to the http.io package

Added:
    jakarta/httpclient/trunk/http-common/src/java/org/apache/http/io/HttpDataReceiver.java
      - copied, changed from r159112, jakarta/httpclient/trunk/http-common/src/java/org/apache/http/HttpDataReceiver.java
    jakarta/httpclient/trunk/http-common/src/java/org/apache/http/io/HttpDataTransmitter.java
      - copied, changed from r159112, jakarta/httpclient/trunk/http-common/src/java/org/apache/http/HttpDataTransmitter.java
Removed:
    jakarta/httpclient/trunk/http-common/src/java/org/apache/http/HttpDataReceiver.java
    jakarta/httpclient/trunk/http-common/src/java/org/apache/http/HttpDataTransmitter.java
Modified:
    jakarta/httpclient/trunk/http-common/src/java/org/apache/http/impl/NIOAbstractHttpConnection.java
    jakarta/httpclient/trunk/http-common/src/java/org/apache/http/impl/NIOHttpDataReceiver.java
    jakarta/httpclient/trunk/http-common/src/java/org/apache/http/impl/NIOHttpDataTransmitter.java
    jakarta/httpclient/trunk/http-common/src/java/org/apache/http/io/HttpDataInputStream.java
    jakarta/httpclient/trunk/http-common/src/java/org/apache/http/io/HttpDataOutputStream.java
    jakarta/httpclient/trunk/http-common/src/java/org/apache/http/util/HeadersParser.java
    jakarta/httpclient/trunk/http-common/src/test/org/apache/http/impl/TestNIOHttpTransmitterAndReceiver.java
    jakarta/httpclient/trunk/http-common/src/test/org/apache/http/io/TestHttpDataInputStream.java
    jakarta/httpclient/trunk/http-common/src/test/org/apache/http/util/TestHeadersParser.java

Modified: jakarta/httpclient/trunk/http-common/src/java/org/apache/http/impl/NIOAbstractHttpConnection.java
URL: http://svn.apache.org/viewcvs/jakarta/httpclient/trunk/http-common/src/java/org/apache/http/impl/NIOAbstractHttpConnection.java?view=diff&r1=159620&r2=159621
==============================================================================
--- jakarta/httpclient/trunk/http-common/src/java/org/apache/http/impl/NIOAbstractHttpConnection.java
(original)
+++ jakarta/httpclient/trunk/http-common/src/java/org/apache/http/impl/NIOAbstractHttpConnection.java
Thu Mar 31 10:54:14 2005
@@ -33,8 +33,8 @@
 import java.net.Socket;
 
 import org.apache.http.HttpConnection;
-import org.apache.http.HttpDataReceiver;
-import org.apache.http.HttpDataTransmitter;
+import org.apache.http.io.HttpDataReceiver;
+import org.apache.http.io.HttpDataTransmitter;
 import org.apache.http.params.HttpConnectionParams;
 import org.apache.http.params.HttpParams;
 

Modified: jakarta/httpclient/trunk/http-common/src/java/org/apache/http/impl/NIOHttpDataReceiver.java
URL: http://svn.apache.org/viewcvs/jakarta/httpclient/trunk/http-common/src/java/org/apache/http/impl/NIOHttpDataReceiver.java?view=diff&r1=159620&r2=159621
==============================================================================
--- jakarta/httpclient/trunk/http-common/src/java/org/apache/http/impl/NIOHttpDataReceiver.java
(original)
+++ jakarta/httpclient/trunk/http-common/src/java/org/apache/http/impl/NIOHttpDataReceiver.java
Thu Mar 31 10:54:14 2005
@@ -37,7 +37,7 @@
 import java.nio.charset.CharsetDecoder;
 import java.nio.charset.CodingErrorAction;
 
-import org.apache.http.HttpDataReceiver;
+import org.apache.http.io.HttpDataReceiver;
 import org.apache.http.params.HttpParams;
 import org.apache.http.params.HttpProtocolParams;
 

Modified: jakarta/httpclient/trunk/http-common/src/java/org/apache/http/impl/NIOHttpDataTransmitter.java
URL: http://svn.apache.org/viewcvs/jakarta/httpclient/trunk/http-common/src/java/org/apache/http/impl/NIOHttpDataTransmitter.java?view=diff&r1=159620&r2=159621
==============================================================================
--- jakarta/httpclient/trunk/http-common/src/java/org/apache/http/impl/NIOHttpDataTransmitter.java
(original)
+++ jakarta/httpclient/trunk/http-common/src/java/org/apache/http/impl/NIOHttpDataTransmitter.java
Thu Mar 31 10:54:14 2005
@@ -38,7 +38,7 @@
 import java.nio.charset.CoderResult;
 import java.nio.charset.CodingErrorAction;
 
-import org.apache.http.HttpDataTransmitter;
+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/java/org/apache/http/io/HttpDataInputStream.java
URL: http://svn.apache.org/viewcvs/jakarta/httpclient/trunk/http-common/src/java/org/apache/http/io/HttpDataInputStream.java?view=diff&r1=159620&r2=159621
==============================================================================
--- jakarta/httpclient/trunk/http-common/src/java/org/apache/http/io/HttpDataInputStream.java
(original)
+++ jakarta/httpclient/trunk/http-common/src/java/org/apache/http/io/HttpDataInputStream.java
Thu Mar 31 10:54:14 2005
@@ -32,8 +32,6 @@
 import java.io.IOException;
 import java.io.InputStream;
 
-import org.apache.http.HttpDataReceiver;
-
 /**
  * <p>
  * </p>

Modified: jakarta/httpclient/trunk/http-common/src/java/org/apache/http/io/HttpDataOutputStream.java
URL: http://svn.apache.org/viewcvs/jakarta/httpclient/trunk/http-common/src/java/org/apache/http/io/HttpDataOutputStream.java?view=diff&r1=159620&r2=159621
==============================================================================
--- jakarta/httpclient/trunk/http-common/src/java/org/apache/http/io/HttpDataOutputStream.java
(original)
+++ jakarta/httpclient/trunk/http-common/src/java/org/apache/http/io/HttpDataOutputStream.java
Thu Mar 31 10:54:14 2005
@@ -32,8 +32,6 @@
 import java.io.IOException;
 import java.io.OutputStream;
 
-import org.apache.http.HttpDataTransmitter;
-
 /**
  * <p>
  * </p>

Copied: jakarta/httpclient/trunk/http-common/src/java/org/apache/http/io/HttpDataReceiver.java
(from r159112, jakarta/httpclient/trunk/http-common/src/java/org/apache/http/HttpDataReceiver.java)
URL: http://svn.apache.org/viewcvs/jakarta/httpclient/trunk/http-common/src/java/org/apache/http/io/HttpDataReceiver.java?view=diff&rev=159621&p1=jakarta/httpclient/trunk/http-common/src/java/org/apache/http/HttpDataReceiver.java&r1=159112&p2=jakarta/httpclient/trunk/http-common/src/java/org/apache/http/io/HttpDataReceiver.java&r2=159621
==============================================================================
--- jakarta/httpclient/trunk/http-common/src/java/org/apache/http/HttpDataReceiver.java (original)
+++ jakarta/httpclient/trunk/http-common/src/java/org/apache/http/io/HttpDataReceiver.java
Thu Mar 31 10:54:14 2005
@@ -27,7 +27,7 @@
  *
  */
 
-package org.apache.http;
+package org.apache.http.io;
 
 import java.io.IOException;
 

Copied: jakarta/httpclient/trunk/http-common/src/java/org/apache/http/io/HttpDataTransmitter.java
(from r159112, jakarta/httpclient/trunk/http-common/src/java/org/apache/http/HttpDataTransmitter.java)
URL: http://svn.apache.org/viewcvs/jakarta/httpclient/trunk/http-common/src/java/org/apache/http/io/HttpDataTransmitter.java?view=diff&rev=159621&p1=jakarta/httpclient/trunk/http-common/src/java/org/apache/http/HttpDataTransmitter.java&r1=159112&p2=jakarta/httpclient/trunk/http-common/src/java/org/apache/http/io/HttpDataTransmitter.java&r2=159621
==============================================================================
--- jakarta/httpclient/trunk/http-common/src/java/org/apache/http/HttpDataTransmitter.java
(original)
+++ jakarta/httpclient/trunk/http-common/src/java/org/apache/http/io/HttpDataTransmitter.java
Thu Mar 31 10:54:14 2005
@@ -27,7 +27,7 @@
  *
  */
 
-package org.apache.http;
+package org.apache.http.io;
 
 import java.io.IOException;
 

Modified: jakarta/httpclient/trunk/http-common/src/java/org/apache/http/util/HeadersParser.java
URL: http://svn.apache.org/viewcvs/jakarta/httpclient/trunk/http-common/src/java/org/apache/http/util/HeadersParser.java?view=diff&r1=159620&r2=159621
==============================================================================
--- jakarta/httpclient/trunk/http-common/src/java/org/apache/http/util/HeadersParser.java
(original)
+++ jakarta/httpclient/trunk/http-common/src/java/org/apache/http/util/HeadersParser.java
Thu Mar 31 10:54:14 2005
@@ -33,8 +33,8 @@
 import java.util.ArrayList;
 
 import org.apache.http.Header;
-import org.apache.http.HttpDataReceiver;
 import org.apache.http.HttpException;
+import org.apache.http.io.HttpDataReceiver;
 
 /**
  * A utility class for parsing http header values according to

Modified: jakarta/httpclient/trunk/http-common/src/test/org/apache/http/impl/TestNIOHttpTransmitterAndReceiver.java
URL: http://svn.apache.org/viewcvs/jakarta/httpclient/trunk/http-common/src/test/org/apache/http/impl/TestNIOHttpTransmitterAndReceiver.java?view=diff&r1=159620&r2=159621
==============================================================================
--- jakarta/httpclient/trunk/http-common/src/test/org/apache/http/impl/TestNIOHttpTransmitterAndReceiver.java
(original)
+++ jakarta/httpclient/trunk/http-common/src/test/org/apache/http/impl/TestNIOHttpTransmitterAndReceiver.java
Thu Mar 31 10:54:14 2005
@@ -32,8 +32,8 @@
 import java.io.ByteArrayOutputStream;
 import java.nio.channels.Channels;
 
-import org.apache.http.HttpDataReceiver;
-import org.apache.http.HttpDataTransmitter;
+import org.apache.http.io.HttpDataReceiver;
+import org.apache.http.io.HttpDataTransmitter;
 import org.apache.http.mockup.HttpDataReceiverMockup;
 import org.apache.http.mockup.HttpDataTransmitterMockup;
 import org.apache.http.params.HttpParams;

Modified: jakarta/httpclient/trunk/http-common/src/test/org/apache/http/io/TestHttpDataInputStream.java
URL: http://svn.apache.org/viewcvs/jakarta/httpclient/trunk/http-common/src/test/org/apache/http/io/TestHttpDataInputStream.java?view=diff&r1=159620&r2=159621
==============================================================================
--- jakarta/httpclient/trunk/http-common/src/test/org/apache/http/io/TestHttpDataInputStream.java
(original)
+++ jakarta/httpclient/trunk/http-common/src/test/org/apache/http/io/TestHttpDataInputStream.java
Thu Mar 31 10:54:14 2005
@@ -32,7 +32,6 @@
 import junit.framework.TestCase;
 import junit.framework.TestSuite;
 
-import org.apache.http.HttpDataReceiver;
 import org.apache.http.mockup.HttpDataReceiverMockup;
 
 /**

Modified: jakarta/httpclient/trunk/http-common/src/test/org/apache/http/util/TestHeadersParser.java
URL: http://svn.apache.org/viewcvs/jakarta/httpclient/trunk/http-common/src/test/org/apache/http/util/TestHeadersParser.java?view=diff&r1=159620&r2=159621
==============================================================================
--- jakarta/httpclient/trunk/http-common/src/test/org/apache/http/util/TestHeadersParser.java
(original)
+++ jakarta/httpclient/trunk/http-common/src/test/org/apache/http/util/TestHeadersParser.java
Thu Mar 31 10:54:14 2005
@@ -30,7 +30,7 @@
 package org.apache.http.util;
 
 import org.apache.http.Header;
-import org.apache.http.HttpDataReceiver;
+import org.apache.http.io.HttpDataReceiver;
 import org.apache.http.mockup.HttpDataReceiverMockup;
 
 import junit.framework.Test;



Mime
View raw message