Class ResponseConsumer
java.lang.Object
io.opentelemetry.instrumentation.javahttpclient.internal.ResponseConsumer
- All Implemented Interfaces:
BiConsumer<HttpResponse<?>,Throwable>
This class is internal and is hence not for public use. Its APIs are unstable and can change at
any time.
-
Constructor Summary
ConstructorsConstructorDescriptionResponseConsumer(io.opentelemetry.instrumentation.api.instrumenter.Instrumenter<HttpRequest, HttpResponse<?>> instrumenter, io.opentelemetry.context.Context context, HttpRequest httpRequest) -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.util.function.BiConsumer
andThen
-
Constructor Details
-
ResponseConsumer
public ResponseConsumer(io.opentelemetry.instrumentation.api.instrumenter.Instrumenter<HttpRequest, HttpResponse<?>> instrumenter, io.opentelemetry.context.Context context, HttpRequest httpRequest)
-
-
Method Details
-
accept
- Specified by:
acceptin interfaceBiConsumer<HttpResponse<?>,Throwable>
-