Class AbstractOpenTelemetryClientInterceptor
- java.lang.Object
-
- org.apache.cxf.tracing.AbstractTracingProvider
-
- org.apache.cxf.tracing.opentelemetry.AbstractOpenTelemetryClientProvider
-
- org.apache.cxf.tracing.opentelemetry.AbstractOpenTelemetryClientInterceptor
-
- All Implemented Interfaces:
org.apache.cxf.interceptor.Interceptor<org.apache.cxf.message.Message>,org.apache.cxf.phase.PhaseInterceptor<org.apache.cxf.message.Message>
- Direct Known Subclasses:
OpenTelemetryClientStartInterceptor,OpenTelemetryClientStopInterceptor
public abstract class AbstractOpenTelemetryClientInterceptor extends AbstractOpenTelemetryClientProvider implements org.apache.cxf.phase.PhaseInterceptor<org.apache.cxf.message.Message>
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.apache.cxf.tracing.AbstractTracingProvider
org.apache.cxf.tracing.AbstractTracingProvider.TraceScopeHolder<T extends Object>
-
-
Field Summary
-
Fields inherited from class org.apache.cxf.tracing.opentelemetry.AbstractOpenTelemetryClientProvider
LOG, TRACE_SPAN
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedAbstractOpenTelemetryClientInterceptor(String phase, io.opentelemetry.api.OpenTelemetry openTelemetry, io.opentelemetry.api.trace.Tracer tracer)protectedAbstractOpenTelemetryClientInterceptor(String phase, io.opentelemetry.api.OpenTelemetry openTelemetry, String instrumentationName)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Collection<org.apache.cxf.phase.PhaseInterceptor<? extends org.apache.cxf.message.Message>>getAdditionalInterceptors()Set<String>getAfter()Set<String>getBefore()StringgetId()StringgetPhase()voidhandleFault(org.apache.cxf.message.Message message)-
Methods inherited from class org.apache.cxf.tracing.opentelemetry.AbstractOpenTelemetryClientProvider
startTraceSpan, stopTraceSpan, stopTraceSpan
-
Methods inherited from class org.apache.cxf.tracing.AbstractTracingProvider
buildSpanDescription, getSpanIdHeader, getUri
-
-
-
-
Constructor Detail
-
AbstractOpenTelemetryClientInterceptor
protected AbstractOpenTelemetryClientInterceptor(String phase, io.opentelemetry.api.OpenTelemetry openTelemetry, String instrumentationName)
-
AbstractOpenTelemetryClientInterceptor
protected AbstractOpenTelemetryClientInterceptor(String phase, io.opentelemetry.api.OpenTelemetry openTelemetry, io.opentelemetry.api.trace.Tracer tracer)
-
-
Method Detail
-
getAdditionalInterceptors
public Collection<org.apache.cxf.phase.PhaseInterceptor<? extends org.apache.cxf.message.Message>> getAdditionalInterceptors()
- Specified by:
getAdditionalInterceptorsin interfaceorg.apache.cxf.phase.PhaseInterceptor<org.apache.cxf.message.Message>
-
getAfter
public Set<String> getAfter()
- Specified by:
getAfterin interfaceorg.apache.cxf.phase.PhaseInterceptor<org.apache.cxf.message.Message>
-
getBefore
public Set<String> getBefore()
- Specified by:
getBeforein interfaceorg.apache.cxf.phase.PhaseInterceptor<org.apache.cxf.message.Message>
-
getId
public String getId()
- Specified by:
getIdin interfaceorg.apache.cxf.phase.PhaseInterceptor<org.apache.cxf.message.Message>
-
getPhase
public String getPhase()
- Specified by:
getPhasein interfaceorg.apache.cxf.phase.PhaseInterceptor<org.apache.cxf.message.Message>
-
handleFault
public void handleFault(org.apache.cxf.message.Message message)
- Specified by:
handleFaultin interfaceorg.apache.cxf.interceptor.Interceptor<org.apache.cxf.message.Message>
-
-