/** * Return the remote IP address making this Request. */ public String getRemoteAddr() { if (remoteAddr == null) { if (socket != null) { InetAddress inet = socket.getInetAddress(); remoteAddr = inet.getHostAddress(); } else { request.action (ActionCode.ACTION_REQ_HOST_ADDR_ATTRIBUTE, request); remoteAddr = request.remoteAddr().toString(); } } return remoteAddr; }
/** * Return the remote IP address making this Request. */ public String getRemoteAddr() { if (remoteAddr == null) { if (socket != null) { InetAddress inet = socket.getInetAddress(); remoteAddr = inet.getHostAddress(); } else { request.action (ActionCode.ACTION_REQ_HOST_ADDR_ATTRIBUTE, request); remoteAddr = request.remoteAddr().toString(); } } return remoteAddr; }
/** * Return the remote IP address making this Request. */ public String getRemoteAddr() { if (remoteAddr == null) { if (socket != null) { InetAddress inet = socket.getInetAddress(); remoteAddr = inet.getHostAddress(); } else { request.action (ActionCode.ACTION_REQ_HOST_ADDR_ATTRIBUTE, request); remoteAddr = request.remoteAddr().toString(); } } return remoteAddr; }
public String getRemoteAddr() { req.action(ActionCode.ACTION_REQ_HOST_ADDR_ATTRIBUTE, null); return req.remoteAddr().toString(); }
public String getRemoteAddr() { req.action(ActionCode.ACTION_REQ_HOST_ADDR_ATTRIBUTE, null); return req.remoteAddr().toString(); }
public String getRemoteAddr() { req.action(ActionCode.ACTION_REQ_HOST_ADDR_ATTRIBUTE, null); return req.remoteAddr().toString(); }
request.remoteAddr().setString(remoteAddr);
request.remoteAddr().setString(remoteAddr);