Package org.alfresco.util
Class IPUtils
java.lang.Object
org.alfresco.util.IPUtils
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic String
getRealIPAddress
(String ipAddress) Returns the "real" IP address represented by ipAddress.
-
Constructor Details
-
IPUtils
public IPUtils()
-
-
Method Details
-
getRealIPAddress
Returns the "real" IP address represented by ipAddress. If ipAddress is a loopback address it is converted into the host's underlying IP address- Parameters:
ipAddress
- String- Returns:
- String
- Throws:
UnknownHostException
-