[undertow-dev] AsyncContext.setTimeout()

Bill Burke bburke at redhat.com
Mon Aug 5 19:41:41 EDT 2013


Am I reading this correctly from the Javadocs?  setTimeout() can only be 
called within the thread that suspended the request?

IllegalStateException - if this method is called after the 
container-initiated dispatch, during which one of the 
ServletRequest#startAsync methods was called, has returned to the container
-- 
Bill Burke
JBoss, a division of Red Hat
http://bill.burkecentral.com


More information about the undertow-dev mailing list