Jakarta ee 使用Atmosphere框架访问客户端IP
有一种方法可以使用大气框架的大气资源或WebSocket访问客户端的IP?以下是代码:Jakarta ee 使用Atmosphere框架访问客户端IP,jakarta-ee,websocket,ip,atmosphere,Jakarta Ee,Websocket,Ip,Atmosphere,有一种方法可以使用大气框架的大气资源或WebSocket访问客户端的IP?以下是代码: AtmosphereResource.getRequest().getRemoteAddr()
AtmosphereResource.getRequest().getRemoteAddr()