wicket icon indicating copy to clipboard operation
wicket copied to clipboard

experimenting with suspension of requestCycle via servlet 3 async

Open svenmeier opened this issue 8 years ago • 1 comments

Let's discuss how Wicket could support async processing.

Idea is to allow suspending the current RequestCycle, example's LinkPage shows the usage.

Notes:

  • async-supported has to be enabled on the filter in web.xml (I did so for ComponentReferenceApplication)
  • pageAccessSynchronizer uses the requestCycle now instead of the thread , since two threads might process the same pages successively - is that a valid approach?(PageAccessSynchronizerTest has to be adapted)
  • I changed ServletWebRequest to use its own contextPath instead of calling httpServletRequest#getContextPath(), since the latter returns null during async processing

svenmeier avatar Feb 18 '17 10:02 svenmeier

This PR seems to be inactive for too long :( I guess it can be dropped? :)

solomax avatar May 04 '22 10:05 solomax