netty5/example/src/main
Sergey Polovko 68bbd4e966 Handle only those http requests that equal to adjusted websocket path
Motivation:

It will be easier to support websockets in server application by using WebSocketServerProtocolHandshakeHandler class and not reinvent its functionality. But currently it handles all http requests as if they were websocket handshake requests.

Modifications:

Check if http request path is equals to adjusted websocket path.
Fixed example of websocket server implementation.

Result:

WebSocketServerProtocolHandshakeHandler handles only websocket handshake requests.
2016-03-04 08:36:14 +01:00
..
java/io/netty/example Handle only those http requests that equal to adjusted websocket path 2016-03-04 08:36:14 +01:00
resources Add HTTP/2 Netty tiles example 2015-05-18 14:16:54 -07:00