Package org.zalando.logbook.httpclient5
Class LogbookHttpResponseInterceptor
java.lang.Object
org.zalando.logbook.httpclient5.LogbookHttpResponseInterceptor
- All Implemented Interfaces:
org.apache.hc.core5.http.HttpResponseInterceptor
@API(status=EXPERIMENTAL)
public final class LogbookHttpResponseInterceptor
extends Object
implements org.apache.hc.core5.http.HttpResponseInterceptor
A response interceptor for synchronous responses. For
HttpAsyncClient support, please use
LogbookHttpAsyncResponseConsumer instead.- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidprocess(org.apache.hc.core5.http.HttpResponse original, org.apache.hc.core5.http.EntityDetails entity, org.apache.hc.core5.http.protocol.HttpContext context)
-
Constructor Details
-
LogbookHttpResponseInterceptor
public LogbookHttpResponseInterceptor()
-
-
Method Details
-
process
public void process(org.apache.hc.core5.http.HttpResponse original, org.apache.hc.core5.http.EntityDetails entity, org.apache.hc.core5.http.protocol.HttpContext context) throws IOException - Specified by:
processin interfaceorg.apache.hc.core5.http.HttpResponseInterceptor- Throws:
IOException
-