hc-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ol...@apache.org
Subject svn commit: r1174901 - /httpcomponents/httpasyncclient/trunk/httpasyncclient/src/examples/org/apache/http/examples/nio/client/AsyncClientHttpExchangeStreaming.java
Date Fri, 23 Sep 2011 17:35:06 GMT
Author: olegk
Date: Fri Sep 23 17:35:06 2011
New Revision: 1174901

URL: http://svn.apache.org/viewvc?rev=1174901&view=rev
Log:
Fixed broken example

Modified:
    httpcomponents/httpasyncclient/trunk/httpasyncclient/src/examples/org/apache/http/examples/nio/client/AsyncClientHttpExchangeStreaming.java

Modified: httpcomponents/httpasyncclient/trunk/httpasyncclient/src/examples/org/apache/http/examples/nio/client/AsyncClientHttpExchangeStreaming.java
URL: http://svn.apache.org/viewvc/httpcomponents/httpasyncclient/trunk/httpasyncclient/src/examples/org/apache/http/examples/nio/client/AsyncClientHttpExchangeStreaming.java?rev=1174901&r1=1174900&r2=1174901&view=diff
==============================================================================
--- httpcomponents/httpasyncclient/trunk/httpasyncclient/src/examples/org/apache/http/examples/nio/client/AsyncClientHttpExchangeStreaming.java
(original)
+++ httpcomponents/httpasyncclient/trunk/httpasyncclient/src/examples/org/apache/http/examples/nio/client/AsyncClientHttpExchangeStreaming.java
Fri Sep 23 17:35:06 2011
@@ -36,6 +36,7 @@ import org.apache.http.nio.IOControl;
 import org.apache.http.nio.client.HttpAsyncClient;
 import org.apache.http.nio.client.methods.AsyncCharConsumer;
 import org.apache.http.nio.client.methods.HttpAsyncMethods;
+import org.apache.http.protocol.HttpContext;
 
 public class AsyncClientHttpExchangeStreaming {
 
@@ -77,7 +78,7 @@ public class AsyncClientHttpExchangeStre
         }
 
         @Override
-        protected Boolean buildResult() {
+        protected Boolean buildResult(final HttpContext context) {
             return Boolean.TRUE;
         }
 



Mime
View raw message