public class NetworkUtils extends Object
| Modifier and Type | Method and Description |
|---|---|
static SSLContext |
getDisabledSSLContext() |
static String |
getLocalIp() |
static URI |
getUri(String url) |
static URL |
getUrl(String url) |
public static String getLocalIp()
null
if none is available.public static URI getUri(String url)
url - The URL string to parse.URI object representing the input URL.public static URL getUrl(String url)
url - The URL string to parse.URL object representing the input URL.public static SSLContext getDisabledSSLContext() throws NoSuchAlgorithmException, KeyManagementException
Copyright © 2023. All rights reserved.