@Provider public class OpenTracingProvider extends AbstractOpenTracingProvider implements javax.ws.rs.container.ContainerRequestFilter, javax.ws.rs.container.ContainerResponseFilter
AbstractTracingProvider.TraceScopeHolder<T>
LOG, TRACE_SPAN, tracer
Constructor and Description |
---|
OpenTracingProvider(io.opentracing.Tracer tracer) |
Modifier and Type | Method and Description |
---|---|
void |
filter(javax.ws.rs.container.ContainerRequestContext requestContext) |
void |
filter(javax.ws.rs.container.ContainerRequestContext requestContext,
javax.ws.rs.container.ContainerResponseContext responseContext) |
protected boolean |
isAsyncResponse() |
startTraceSpan, stopTraceSpan
buildSpanDescription, getSpanIdHeader, getUri
public void filter(javax.ws.rs.container.ContainerRequestContext requestContext) throws IOException
filter
in interface javax.ws.rs.container.ContainerRequestFilter
IOException
public void filter(javax.ws.rs.container.ContainerRequestContext requestContext, javax.ws.rs.container.ContainerResponseContext responseContext) throws IOException
filter
in interface javax.ws.rs.container.ContainerResponseFilter
IOException
protected boolean isAsyncResponse()
isAsyncResponse
in class AbstractOpenTracingProvider
Apache CXF