How can I do long-polling using netty framework? Say for example I fetch http://localhost/waitforx
http://localhost/waitforx
but waitforx is asynchronous because it has
waitforx
You can use netty-socketio project. It's implementation of Socket.IO server with long polling support. On web side you can use Socket.IO client javascript lib.