Class OpenTracingClientStartInterceptor
- java.lang.Object
-
- org.apache.cxf.tracing.AbstractTracingProvider
-
- org.apache.cxf.tracing.opentracing.AbstractOpenTracingClientProvider
-
- org.apache.cxf.tracing.opentracing.AbstractOpenTracingClientInterceptor
-
- org.apache.cxf.tracing.opentracing.OpenTracingClientStartInterceptor
-
- All Implemented Interfaces:
Interceptor<Message>,PhaseInterceptor<Message>
public class OpenTracingClientStartInterceptor extends AbstractOpenTracingClientInterceptor
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.apache.cxf.tracing.AbstractTracingProvider
AbstractTracingProvider.TraceScopeHolder<T>
-
-
Field Summary
-
Fields inherited from class org.apache.cxf.tracing.opentracing.AbstractOpenTracingClientProvider
LOG, TRACE_SPAN
-
-
Constructor Summary
Constructors Constructor Description OpenTracingClientStartInterceptor(io.opentracing.Tracer tracer)OpenTracingClientStartInterceptor(String phase, io.opentracing.Tracer tracer)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidhandleFault(Message message)Called for all interceptors (in reverse order) on which handleMessage had been successfully invoked, when normal execution of the chain was aborted for some reason.voidhandleMessage(Message message)Intercepts a message.-
Methods inherited from class org.apache.cxf.tracing.opentracing.AbstractOpenTracingClientInterceptor
getAdditionalInterceptors, getAfter, getBefore, getId, getPhase
-
Methods inherited from class org.apache.cxf.tracing.opentracing.AbstractOpenTracingClientProvider
startTraceSpan, stopTraceSpan, stopTraceSpan
-
Methods inherited from class org.apache.cxf.tracing.AbstractTracingProvider
buildSpanDescription, getSpanIdHeader, getUri
-
-
-
-
Constructor Detail
-
OpenTracingClientStartInterceptor
public OpenTracingClientStartInterceptor(io.opentracing.Tracer tracer)
-
OpenTracingClientStartInterceptor
public OpenTracingClientStartInterceptor(String phase, io.opentracing.Tracer tracer)
-
-
Method Detail
-
handleMessage
public void handleMessage(Message message) throws Fault
Description copied from interface:InterceptorIntercepts a message. Interceptors should NOT invoke handleMessage or handleFault on the next interceptor - the interceptor chain will take care of this.- Throws:
Fault
-
handleFault
public void handleFault(Message message)
Description copied from interface:InterceptorCalled for all interceptors (in reverse order) on which handleMessage had been successfully invoked, when normal execution of the chain was aborted for some reason.- Specified by:
handleFaultin interfaceInterceptor<Message>- Overrides:
handleFaultin classAbstractOpenTracingClientInterceptor
-
-