Interface NetServerAttributesGetter<REQUEST,RESPONSE>

All Superinterfaces:
ClientAttributesGetter<REQUEST,RESPONSE>, NetworkAttributesGetter<REQUEST,RESPONSE>, ServerAttributesGetter<REQUEST,RESPONSE>

public interface NetServerAttributesGetter<REQUEST,RESPONSE> extends NetworkAttributesGetter<REQUEST,RESPONSE>, ServerAttributesGetter<REQUEST,RESPONSE>, ClientAttributesGetter<REQUEST,RESPONSE>
An interface for getting server-based network attributes. It adapts an instrumentation-specific request type into the 3 common attributes (transport, sockPeerPort, sockPeerAddr).

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.