Class ResponseConsumer
- java.lang.Object
-
- io.opentelemetry.javaagent.instrumentation.httpclient.ResponseConsumer
-
- All Implemented Interfaces:
BiConsumer<java.net.http.HttpResponse<?>,Throwable>
public class ResponseConsumer extends Object implements BiConsumer<java.net.http.HttpResponse<?>,Throwable>
-
-
Constructor Summary
Constructors Constructor Description ResponseConsumer(io.opentelemetry.context.Context context)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaccept(java.net.http.HttpResponse<?> httpResponse, Throwable throwable)-
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface java.util.function.BiConsumer
andThen
-
-
-
-
Method Detail
-
accept
public void accept(java.net.http.HttpResponse<?> httpResponse, Throwable throwable)- Specified by:
acceptin interfaceBiConsumer<java.net.http.HttpResponse<?>,Throwable>
-
-