HttpAsyncResponseConsumerFactorypublic static class HttpAsyncResponseConsumerFactory.HeapBufferedResponseConsumerFactory extends java.lang.Object implements HttpAsyncResponseConsumerFactory
HttpAsyncResponseConsumer.
Creates one instance of HeapBufferedAsyncResponseConsumer for each request attempt, with a configurable
buffer limit which defaults to 100MB.HttpAsyncResponseConsumerFactory.HeapBufferedResponseConsumerFactoryDEFAULT| Constructor | Description |
|---|---|
HeapBufferedResponseConsumerFactory(int bufferLimitBytes) |
| Modifier and Type | Method | Description |
|---|---|---|
org.apache.http.nio.protocol.HttpAsyncResponseConsumer<org.apache.http.HttpResponse> |
createHttpAsyncResponseConsumer() |
Creates the
HttpAsyncResponseConsumer, called once per request attempt. |
public HeapBufferedResponseConsumerFactory(int bufferLimitBytes)
public org.apache.http.nio.protocol.HttpAsyncResponseConsumer<org.apache.http.HttpResponse> createHttpAsyncResponseConsumer()
HttpAsyncResponseConsumerFactoryHttpAsyncResponseConsumer, called once per request attempt.createHttpAsyncResponseConsumer in interface HttpAsyncResponseConsumerFactory