Upon more googling, it looks like you need to explicitly enable async support using `sh.setAsyncSupported(true);`, at least with Jetty. Not sure how to do that in Netty (if it's even possible, because looking at the code I have found no mention of a similar method, so far)
Will keep digging :) 2015-09-09 10:05 GMT+02:00 Gianluca Stivan <[email protected]>: > I tried the basic example and can indeed confirm it works, thank you! > Next I will try the Swagger example (which seems a bit more complex > because of how tightly integrated with Jetty it is). > > Regarding the topic of AsyncResponse (which interests me as well), I tried > adding a @Suspended annotation, but I'm getting a NullPointerException: > > Details and code here -> > https://gist.github.com/yawnt/a9f5d154709811026a79 > > Any idea, by any chance? > Thank you very much :) > > Gianluca >
