Internal refactor of the WebSocket connection implementation
Move WebSocket related code from Http1xConnectionBase to its own ConnectionBase subclass in order to simplify Http1xConnectionBase and ease its maintenance. The WebSocket connection has now its own Netty handler instead of relying on the HTTP/1.x handler. The HTTP/1.x handler now does not need to take in account WebSocket frames and WebSocket state.
Simplify server WebSocket code by moving the code related to WebSocket accept/reject API to a WebSocket implementation that proxies an accepted WebSocket using the same approach than ClientWebSocket
Internal refactor of the WebSocket connection implementation
Http1xConnectionBase
to its ownConnectionBase
subclass in order to simplifyHttp1xConnectionBase
and ease its maintenance. The WebSocket connection has now its own Netty handler instead of relying on the HTTP/1.x handler. The HTTP/1.x handler now does not need to take in account WebSocket frames and WebSocket state.WebSocket
using the same approach thanClientWebSocket