Class InetSocketAddressNetServerAttributesGetter<REQUEST>

java.lang.Object
io.opentelemetry.instrumentation.api.instrumenter.net.InetSocketAddressNetServerAttributesGetter<REQUEST>
All Implemented Interfaces:
NetServerAttributesGetter<REQUEST>

public abstract class InetSocketAddressNetServerAttributesGetter<REQUEST> extends Object implements NetServerAttributesGetter<REQUEST>
Extractor of Network attributes from a InetSocketAddress. Most network libraries will provide access to a InetSocketAddress so this is a convenient alternative to NetServerAttributesExtractor. There is no meaning to implement both in the same instrumentation.