The WebSocket module consists of the following components:
Request Dispatcher Servlet – handles all incoming HTTP requests and dispatches HTTP upgrade requests to WebSocket Dispatcher Servlet, all other requests are dispatched to Http Service Servlet.
Http Service Servlet – dispatches regular HTTP requests to Servlets registered in HttpService or whiteboard HttpService.
WebScoket Dispatcher Servlet – handles HTTP upgrade requests and dispatches them to WebSocket endpoints registered in OSGi.