Class InetSocketAddressUtil
java.lang.Object
io.opentelemetry.instrumentation.api.instrumenter.net.internal.InetSocketAddressUtil
This class is internal and is hence not for public use. Its APIs are unstable and can change at
any time.
-
Method Summary
Modifier and TypeMethodDescriptionstatic StringgetDomainName(InetSocketAddress address) static StringgetIpAddress(InetSocketAddress address) static StringgetNetworkType(InetSocketAddress address, InetSocketAddress otherAddress) static IntegergetPort(InetSocketAddress address) static StringgetSockFamily(InetSocketAddress address, InetSocketAddress otherAddress)
-
Method Details
-
getSockFamily
@Nullable public static String getSockFamily(@Nullable InetSocketAddress address, @Nullable InetSocketAddress otherAddress) -
getNetworkType
@Nullable public static String getNetworkType(@Nullable InetSocketAddress address, @Nullable InetSocketAddress otherAddress) -
getDomainName
-
getIpAddress
-
getPort
-