类 IpUtil
- java.lang.Object
-
- cn.vorbote.commons.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
-
-
方法详细资料
-
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
-
-