Class WrappingStatusSettingResponseHandler<T>

java.lang.Object
io.opentelemetry.javaagent.instrumentation.apachehttpclient.v5_0.WrappingStatusSettingResponseHandler<T>
All Implemented Interfaces:
org.apache.hc.core5.http.io.HttpClientResponseHandler<T>

public class WrappingStatusSettingResponseHandler<T> extends Object implements org.apache.hc.core5.http.io.HttpClientResponseHandler<T>
  • Constructor Details

    • WrappingStatusSettingResponseHandler

      public WrappingStatusSettingResponseHandler(io.opentelemetry.context.Context context, io.opentelemetry.context.Context parentContext, org.apache.hc.core5.http.ClassicHttpRequest request, org.apache.hc.core5.http.io.HttpClientResponseHandler<T> handler)
  • Method Details

    • handleResponse

      public T handleResponse(org.apache.hc.core5.http.ClassicHttpResponse response) throws IOException, org.apache.hc.core5.http.HttpException
      Specified by:
      handleResponse in interface org.apache.hc.core5.http.io.HttpClientResponseHandler<T>
      Throws:
      IOException
      org.apache.hc.core5.http.HttpException