Class InetSocketAddressUtil
java.lang.Object
io.opentelemetry.instrumentation.api.semconv.network.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 StringgetIpAddress(InetSocketAddress address) static StringgetNetworkType(InetSocketAddress address, InetSocketAddress otherAddress) static IntegergetPort(InetSocketAddress address)
-
Method Details
-
getNetworkType
@Nullable public static String getNetworkType(@Nullable InetSocketAddress address, @Nullable InetSocketAddress otherAddress) -
getIpAddress
-
getPort
-