private String getRemoteHostName(HttpServletRequest request) {
public static String getRemoteHostName(HttpServletRequest request) {
    private String getRemoteHostName(HttpServletRequest request) {        String remoteHostName;        try {            remoteHostName = InetAddress.getByName(request.getRemoteAddr()).getHostName();        } catch (UnknownHostException e) {            remoteHostName = request.getRemoteHost();        }        return remoteHostName;    }