java.lang.String getRemoteAddr()
Forwarded,
X-Forwarded-For and X-Real-IP and if any is present, then return its first IP address, else just return
HttpServletRequest#getRemoteAddr() unmodified.
The client controls these request headers, unless a trusted proxy overwrites them. Do not use this method for security decisions such as rate limiting or
access control; use HttpServletRequest#getRemoteAddr() instead, with the servlet container configured to resolve the client IP address from the
proxy headers of trusted proxies only.
This is also available in EL as #{faces.remoteAddr}.
| Info | Value |
|---|---|
| Function Class | org.omnifaces.util.Faces |
| Function Signature | java.lang.String getRemoteAddr() |
| Display Name | None |
Output generated by Vdldoc View Declaration Language Documentation Generator.