cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ningji...@apache.org
Subject svn commit: r1102198 - /cxf/trunk/rt/transports/http/src/main/java/org/apache/cxf/transport/http/HTTPConduit.java
Date Thu, 12 May 2011 08:17:09 GMT
Author: ningjiang
Date: Thu May 12 08:17:09 2011
New Revision: 1102198

URL: http://svn.apache.org/viewvc?rev=1102198&view=rev
Log:
CXF-3472 Made extending the HTTPConduit more easier.

Modified:
    cxf/trunk/rt/transports/http/src/main/java/org/apache/cxf/transport/http/HTTPConduit.java

Modified: cxf/trunk/rt/transports/http/src/main/java/org/apache/cxf/transport/http/HTTPConduit.java
URL: http://svn.apache.org/viewvc/cxf/trunk/rt/transports/http/src/main/java/org/apache/cxf/transport/http/HTTPConduit.java?rev=1102198&r1=1102197&r2=1102198&view=diff
==============================================================================
--- cxf/trunk/rt/transports/http/src/main/java/org/apache/cxf/transport/http/HTTPConduit.java
(original)
+++ cxf/trunk/rt/transports/http/src/main/java/org/apache/cxf/transport/http/HTTPConduit.java
Thu May 12 08:17:09 2011
@@ -1239,6 +1239,16 @@ public class HTTPConduit 
             this.conduitName = conduitName;
         }
         
+        // This construction makes extending the HTTPConduit more easier 
+        protected WrappedOutputStream(WrappedOutputStream wos) {
+            super(wos.threshold);
+            this.outMessage = wos.outMessage;
+            this.connection = wos.connection;
+            this.cachingForRetransmission = wos.cachingForRetransmission;
+            this.chunking = wos.chunking;
+            this.conduitName = wos.conduitName;
+        }
+        
         
         @Override
         public void thresholdNotReached() {



Mime
View raw message