Class TagSettingAsyncListener<REQUEST,RESPONSE>
- java.lang.Object
-
- io.opentelemetry.instrumentation.servlet.TagSettingAsyncListener<REQUEST,RESPONSE>
-
- All Implemented Interfaces:
ServletAsyncListener<RESPONSE>
public class TagSettingAsyncListener<REQUEST,RESPONSE> extends Object implements ServletAsyncListener<RESPONSE>
-
-
Constructor Summary
Constructors Constructor Description TagSettingAsyncListener(ServletHttpServerTracer<REQUEST,RESPONSE> tracer, AtomicBoolean responseHandled, io.opentelemetry.context.Context context)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidonComplete(RESPONSE response)voidonError(Throwable throwable, RESPONSE response)voidonTimeout(long timeout)
-
-
-
Constructor Detail
-
TagSettingAsyncListener
public TagSettingAsyncListener(ServletHttpServerTracer<REQUEST,RESPONSE> tracer, AtomicBoolean responseHandled, io.opentelemetry.context.Context context)
-
-
Method Detail
-
onComplete
public void onComplete(RESPONSE response)
- Specified by:
onCompletein interfaceServletAsyncListener<REQUEST>
-
onTimeout
public void onTimeout(long timeout)
- Specified by:
onTimeoutin interfaceServletAsyncListener<REQUEST>
-
onError
public void onError(Throwable throwable, RESPONSE response)
- Specified by:
onErrorin interfaceServletAsyncListener<REQUEST>
-
-