Hi guys,
on 8.5.2 this code doesn't work anymore (in a valve):
if (!request.isAsync()) {
getNext().invoke(request, response);
} else {
request.getAsyncContext().addListener(...);
getNext().invoke(request, response);
}
Issue is isAsync() = true but getAsyncContext() throws an exception since
isAsyncStarted() = false.
Was it intended?
Romain Manni-Bucau
@rmannibucau <https://twitter.com/rmannibucau> | Blog
<http://rmannibucau.wordpress.com> | Github <https://github.com/rmannibucau> |
LinkedIn <https://www.linkedin.com/in/rmannibucau> | Tomitriber
<http://www.tomitribe.com> | JavaEE Factory
<https://javaeefactory-rmannibucau.rhcloud.com>