hc-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ol...@apache.org
Subject svn commit: r1166285 - /httpcomponents/httpcore/trunk/httpcore-nio/src/main/java/org/apache/http/nio/protocol/HttpAsyncRequestConsumer.java
Date Wed, 07 Sep 2011 18:10:46 GMT
Author: olegk
Date: Wed Sep  7 18:10:46 2011
New Revision: 1166285

URL: http://svn.apache.org/viewvc?rev=1166285&view=rev
Log:
Throw HttpException and IOException from HttpAsyncRequestConsumer#requestReceived

Modified:
    httpcomponents/httpcore/trunk/httpcore-nio/src/main/java/org/apache/http/nio/protocol/HttpAsyncRequestConsumer.java

Modified: httpcomponents/httpcore/trunk/httpcore-nio/src/main/java/org/apache/http/nio/protocol/HttpAsyncRequestConsumer.java
URL: http://svn.apache.org/viewvc/httpcomponents/httpcore/trunk/httpcore-nio/src/main/java/org/apache/http/nio/protocol/HttpAsyncRequestConsumer.java?rev=1166285&r1=1166284&r2=1166285&view=diff
==============================================================================
--- httpcomponents/httpcore/trunk/httpcore-nio/src/main/java/org/apache/http/nio/protocol/HttpAsyncRequestConsumer.java
(original)
+++ httpcomponents/httpcore/trunk/httpcore-nio/src/main/java/org/apache/http/nio/protocol/HttpAsyncRequestConsumer.java
Wed Sep  7 18:10:46 2011
@@ -29,6 +29,7 @@ package org.apache.http.nio.protocol;
 import java.io.Closeable;
 import java.io.IOException;
 
+import org.apache.http.HttpException;
 import org.apache.http.HttpRequest;
 import org.apache.http.nio.ContentDecoder;
 import org.apache.http.nio.IOControl;
@@ -39,7 +40,7 @@ import org.apache.http.protocol.HttpCont
  */
 public interface HttpAsyncRequestConsumer<T> extends Closeable {
 
-    void requestReceived(HttpRequest request);
+    void requestReceived(HttpRequest request) throws HttpException, IOException;
 
     void consumeContent(ContentDecoder decoder, IOControl ioctrl) throws IOException;
 



Mime
View raw message