Package org.apereo.cas.util
Class InetAddressUtils
- java.lang.Object
-
- org.apereo.cas.util.InetAddressUtils
-
public class InetAddressUtils extends java.lang.ObjectThis isInetAddressUtils.- Since:
- 5.0.0
-
-
Constructor Summary
Constructors Constructor Description InetAddressUtils()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static java.net.InetAddressgetByName(java.lang.String urlAddr)Gets by name.static java.lang.StringgetCasServerHostAddress(java.lang.String name)Gets cas server host address.static java.lang.StringgetCasServerHostName()Gets cas server host name.
-
-
-
Method Detail
-
getByName
public static java.net.InetAddress getByName(java.lang.String urlAddr)
Gets by name.- Parameters:
urlAddr- the host- Returns:
- the by name
-
getCasServerHostName
public static java.lang.String getCasServerHostName()
Gets cas server host name.- Returns:
- the cas server host name
-
getCasServerHostAddress
public static java.lang.String getCasServerHostAddress(java.lang.String name)
Gets cas server host address.- Parameters:
name- the name- Returns:
- the cas server host address
-
-