Interface NetServerAttributesGetter<REQUEST>

  • All Known Implementing Classes:
    InetSocketAddressNetServerAttributesGetter

    public interface NetServerAttributesGetter<REQUEST>
    An interface for getting server-based network attributes. It adapts a vendor-specific request type into the 3 common attributes (transport, peerPort, peerIp).

    Instrumentation authors will create implementations of this interface for their specific server library/framework. It will be used by the NetServerAttributesExtractor to obtain the various network attributes in a type-generic way.