410893 async support defaults to false for spec created servlets and filters
fixed up continuations for differen isAsyncStarted behaviour
This commit is contained in:
parent
d6d5c04273
commit
6ed36160f0
|
@ -166,7 +166,17 @@ public class Servlet3Continuation implements Continuation
|
||||||
@Override
|
@Override
|
||||||
public boolean isSuspended()
|
public boolean isSuspended()
|
||||||
{
|
{
|
||||||
return _request.isAsyncStarted();
|
if (_request.isAsyncStarted())
|
||||||
|
return true;
|
||||||
|
try
|
||||||
|
{
|
||||||
|
return _request.getAsyncContext()!=null;
|
||||||
|
}
|
||||||
|
catch(IllegalStateException e)
|
||||||
|
{
|
||||||
|
// ignored
|
||||||
|
}
|
||||||
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* ------------------------------------------------------------ */
|
/* ------------------------------------------------------------ */
|
||||||
|
|
Loading…
Reference in New Issue