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 Summary
ConstructorsConstructorDescriptionWrappingStatusSettingResponseHandler(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 Summary
Modifier and TypeMethodDescriptionhandleResponse(org.apache.hc.core5.http.ClassicHttpResponse response)
-
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:
handleResponsein interfaceorg.apache.hc.core5.http.io.HttpClientResponseHandler<T>- Throws:
IOExceptionorg.apache.hc.core5.http.HttpException
-