Package org.zalando.logbook.httpclient
Class LogbookHttpAsyncResponseConsumer<T>
- java.lang.Object
-
- org.zalando.logbook.httpclient.LogbookHttpAsyncResponseConsumer<T>
-
- All Implemented Interfaces:
Closeable,AutoCloseable,org.apache.http.concurrent.Cancellable,org.apache.http.nio.protocol.HttpAsyncResponseConsumer<T>
@API(status=EXPERIMENTAL) public final class LogbookHttpAsyncResponseConsumer<T> extends Object
-
-
Constructor Summary
Constructors Constructor Description LogbookHttpAsyncResponseConsumer(org.apache.http.nio.protocol.HttpAsyncResponseConsumer<T> consumer)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected org.apache.http.nio.protocol.HttpAsyncResponseConsumer<T>delegate()voidresponseCompleted(org.apache.http.protocol.HttpContext context)voidresponseReceived(org.apache.http.HttpResponse response)
-
-
-
Constructor Detail
-
LogbookHttpAsyncResponseConsumer
public LogbookHttpAsyncResponseConsumer(org.apache.http.nio.protocol.HttpAsyncResponseConsumer<T> consumer)
-
-
Method Detail
-
delegate
protected org.apache.http.nio.protocol.HttpAsyncResponseConsumer<T> delegate()
-
responseReceived
public void responseReceived(org.apache.http.HttpResponse response) throws IOException, org.apache.http.HttpException- Throws:
IOExceptionorg.apache.http.HttpException
-
responseCompleted
public void responseCompleted(org.apache.http.protocol.HttpContext context)
-
-