Can I get remote IP address inside @OnOpen
method of @ServletEndpoint
class?
I tried follow this Accessing HttpSession from HttpServletRequest in a Web Socket @SocketEndpoint but as in Websocket - httpSession returns null it doesn't work.
Anyway I only need clients IP address.