类 IpUtil


  • public class IpUtil
    extends Object
    This Util is made up for get ip address, the ip address will only be used in the log.
    从以下版本开始:
    1.1.1.RC
    作者:
    vorbote
    • 构造器详细资料

      • IpUtil

        public IpUtil()
    • 方法详细资料

      • GetAddress

        public static String GetAddress​(javax.servlet.http.HttpServletRequest request)
        Get the IP address from request
        参数:
        request - The HTTP Request
        返回:
        IP address from the Request, or "" when an error occurred