public abstract class AbstractBraveInterceptor extends AbstractBraveProvider implements PhaseInterceptor<Message>
Modifier and Type | Class and Description |
---|---|
protected static class |
AbstractBraveInterceptor.ParsedMessage |
AbstractTracingProvider.TraceScopeHolder<T>
brave, LOG, TRACE_SPAN
Modifier | Constructor and Description |
---|---|
protected |
AbstractBraveInterceptor(String phase,
brave.http.HttpTracing brave) |
Modifier and Type | Method and Description |
---|---|
Collection<PhaseInterceptor<? extends Message>> |
getAdditionalInterceptors()
Returns a collection of Interceptors that should be added to the chain
whenever this interceptor is added.
|
Set<String> |
getAfter()
Returns a set containing the IDs of the interceptors that should be
executed before this interceptor.
|
Set<String> |
getBefore()
Returns a set containing the IDs of the interceptors that should be
executed after this interceptor.
|
String |
getId()
Returns the ID of this interceptor.
|
String |
getPhase()
Returns the phase in which this interceptor is excecuted.
|
void |
handleFault(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.
|
isAsyncResponse, startTraceSpan, stopTraceSpan
buildSpanDescription, getSpanIdHeader, getUri
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
handleMessage
protected AbstractBraveInterceptor(String phase, brave.http.HttpTracing brave)
public Set<String> getAfter()
PhaseInterceptor
getAfter
in interface PhaseInterceptor<Message>
public Set<String> getBefore()
PhaseInterceptor
getBefore
in interface PhaseInterceptor<Message>
public String getId()
PhaseInterceptor
getId
in interface PhaseInterceptor<Message>
public String getPhase()
PhaseInterceptor
getPhase
in interface PhaseInterceptor<Message>
public Collection<PhaseInterceptor<? extends Message>> getAdditionalInterceptors()
PhaseInterceptor
getAdditionalInterceptors
in interface PhaseInterceptor<Message>
public void handleFault(Message message)
Interceptor
handleFault
in interface Interceptor<Message>
Apache CXF