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 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:
      process in interface org.apache.hc.core5.http.HttpResponseInterceptor
      Throws:
      IOException