程序包 cn.vorbote.net
类 IpUtil
- java.lang.Object
-
- cn.vorbote.net.IpUtil
-
public final class IpUtil extends Object
This Util is made up for get ip address, the ip address will only be used in the log.- 作者:
- TheodoreHills
-
-
方法详细资料
-
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
-
-