2

Is there a way today within the Jersey API to decouple a client request from the response and asynchronously send back a response?

I guess I am looking for an alternative to the startAsync() method of a HTTPRequest object within Jersey - havent seen something of that sort yet, although I have come across the Atmosphere project - which looks somewhat promising, but are there any other options?

rmoh21
  • 1,405
  • 6
  • 19
  • 36
  • Maybe this question can give you some hints http://stackoverflow.com/questions/7439955/servlet-api-implementation-using-netty – Fermin Silva Apr 09 '12 at 22:51

1 Answers1

2

If you are looking for a client-side async api, look at AsyncWebResource in Jersey client API.

If you mean suspending the request processing on the server side, we are adding that only in Jersey 2.0.

Martin Matula
  • 7,969
  • 1
  • 31
  • 35