WebSocketServer Class

Used to configure a servlet to accept WebSocket connections. This class is typically invoked in the servlet init() method and called within the processRequest() method. See WebSocketListener for more information.

Constructors

WebSocketServer( HttpServlet servlet )

Public Methods

accept( HttpServletRequest request ) returns boolean
Returns true if this class can process a given request.
processRequest( WebSocketAdapter wrapper, HttpServletRequest request, HttpServletResponse response ) returns void
Used to upgrade a HTTP request to a WebSocket connection