Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[jetty-users] Jersey/JAX-RS and Continuations

We're looking to use both Jersey/JAX-RS and Jetty async continuations for implementing a web service, and looking at the JAX-RS spec. (https://jsr311.dev.java.net/nonav/releases/1.1/spec/spec.html) it looks like their API model is incompatible w/ the async continuations model.  Specifically, it stipulates that resource class methods must return a return value and that if it's void, an immediate 204 response is sent.

Can anyone confirm this or explain how Jetty handles JAX-RS?

thx,
Chris


Back to the top