Class ResponseConsumer
java.lang.Object
io.opentelemetry.instrumentation.httpclient.internal.ResponseConsumer
- All Implemented Interfaces:
BiConsumer<java.net.http.HttpResponse<?>,Throwable>
public class ResponseConsumer
extends Object
implements BiConsumer<java.net.http.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<java.net.http.HttpRequest, java.net.http.HttpResponse<?>> instrumenter, io.opentelemetry.context.Context context, java.net.http.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<java.net.http.HttpRequest, java.net.http.HttpResponse<?>> instrumenter, io.opentelemetry.context.Context context, java.net.http.HttpRequest httpRequest)
-
-
Method Details
-
accept
- Specified by:
acceptin interfaceBiConsumer<java.net.http.HttpResponse<?>,Throwable>
-