Class InetAddressUtils


  • public class InetAddressUtils
    extends java.lang.Object
    Since:
    5.0.0
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static java.net.InetAddress getByName​(java.lang.String urlAddr)
      Gets by name.
      static java.lang.String getCasServerHostAddress​(java.lang.String name)
      Gets cas server host address.
      static java.lang.String getCasServerHostName()
      Gets cas server host name.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • InetAddressUtils

        public InetAddressUtils()
    • 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