wicket
wicket copied to clipboard
experimenting with suspension of requestCycle via servlet 3 async
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
This PR seems to be inactive for too long :( I guess it can be dropped? :)