Package com.networknt.info
Class ServerInfoUtil
java.lang.Object
com.networknt.info.ServerInfoUtil
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic StringgetHost()getServerInfo(ServerInfoConfig config) static StringWe can get it from server module but we don't want mutual dependency.updateNormalizeKey(Map<String, Object> moduleRegistry, ServerInfoConfig config)
-
Constructor Details
-
ServerInfoUtil
public ServerInfoUtil()
-
-
Method Details
-
updateNormalizeKey
-
getDeployment
-
getEnvironment
-
getRuntime
-
getSystem
-
getFrameworkVersion
-
getServerTlsFingerPrint
We can get it from server module but we don't want mutual dependency. So get it from config and keystore directly- Returns:
- String TLS server certificate finger print
-
getHost
-
getSecurity
-
getServerInfo
-