Class OpenTracingPreInvocationInterceptor

  • All Implemented Interfaces:
    org.glassfish.jersey.client.spi.PreInvocationInterceptor

    public class OpenTracingPreInvocationInterceptor
    extends Object
    implements org.glassfish.jersey.client.spi.PreInvocationInterceptor
    Interceptor to add SpanContext and HTTP HEADER for propagation to JAX-RS Client calls.
    • Constructor Detail

      • OpenTracingPreInvocationInterceptor

        public OpenTracingPreInvocationInterceptor()
    • Method Detail

      • beforeRequest

        public void beforeRequest​(jakarta.ws.rs.client.ClientRequestContext requestContext)
        Specified by:
        beforeRequest in interface org.glassfish.jersey.client.spi.PreInvocationInterceptor