netty5/example/src/main
Sergey Polovko 2e6544fc0e 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 09:52:14 +01:00
..
java/io/netty/example Handle only those http requests that equal to adjusted websocket path 2016-03-04 09:52:14 +01:00
resources Add logLevel property to enable different log levels for the examples. 2014-11-21 10:48:13 +09:00