Hi

in /org/apache/catalina/connector/Request.java it would be nice if error
message if there is a filter/servlet not supporting async would be more
explicit. Here is the code:

1654     @Override
1655     public AsyncContext startAsync(ServletRequest request,
1656             ServletResponse response) {
1657         if (!isAsyncSupported()) {
1658             throw new IllegalStateException("Not supported.");
1659         }

I propose to change it to:

throw new IllegalStateException("A filter or servlet of the current chain
doesn't support asynchronism.");

Romain Manni-Bucau
Twitter: @rmannibucau
Blog: http://rmannibucau.wordpress.com/
LinkedIn: http://fr.linkedin.com/in/rmannibucau
Github: https://github.com/rmannibucau

Reply via email to