Package 

Interface HttpCodec.Extractor

    • Method Summary

      Modifier and Type Method Description
      abstract <C> TagContext extract(C carrier, AgentPropagation.ContextVisitor<C> getter) Extracts a propagated context from the given carrier using the provided getter.
      void cleanup() Cleans up any thread local resources associated with this extractor.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • extract

         abstract <C> TagContext extract(C carrier, AgentPropagation.ContextVisitor<C> getter)

        Extracts a propagated context from the given carrier using the provided getter.

        Parameters:
        carrier - The carrier containing the propagated context.
        getter - The getter used to extract data from the carrier.
      • cleanup

         void cleanup()

        Cleans up any thread local resources associated with this extractor.

        Implementations should override this method if they need to clean up any resources.

        Currently only used from tests.