Package org.apache.http.nio.protocol
Class BasicAsyncResponseConsumer
- java.lang.Object
-
- org.apache.http.nio.protocol.AbstractAsyncResponseConsumer<HttpResponse>
-
- org.apache.http.nio.protocol.BasicAsyncResponseConsumer
-
- All Implemented Interfaces:
java.io.Closeable
,java.lang.AutoCloseable
,Cancellable
,HttpAsyncResponseConsumer<HttpResponse>
public class BasicAsyncResponseConsumer extends AbstractAsyncResponseConsumer<HttpResponse>
Basic implementation ofHttpAsyncResponseConsumer
. Please note that this consumer buffers response content in memory and should be used for relatively small response messages.- Since:
- 4.2
-
-
Constructor Summary
Constructors Constructor Description BasicAsyncResponseConsumer()
-
Method Summary
-
Methods inherited from class org.apache.http.nio.protocol.AbstractAsyncResponseConsumer
cancel, close, consumeContent, failed, getException, getResult, isDone, responseCompleted, responseReceived
-
-