eclipse-ee4j / eclipse-ee4j/jersey
Access client port and IP address from HttpRequestContext
Open
Component: core
Priority: Major
Type: Improvement
- Dominant language
- Java
- Stars
- 730
- Forks
- 382
- PR merge metrics
- No merged PRs in 30d
Description
Currently the only way to obtain the client IP address and port is by injecting
HttpServletRequest.
We need to support a method on HttpRequestContext implementations of which can
defer to Servlet or say the low-level Grizzly API.
Low-level Grizzly request has:
request.remoteAddr().toString();
request.getRemotePort();
#### Environment
Operating System: All
Platform: Macintosh
Contributor guide
Assessment
This issue has not been assessed yet.