[undertow-dev] AsyncContext.setTimeout()

Stuart Douglas sdouglas at redhat.com
Tue Aug 6 01:48:50 EDT 2013


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

Yes, although it looks like I have not actually implemented this. I will change it to do what the javadocs say, as otherwise I may have to change it in future if a test is added to the TCK. 

Stuart

> 
> 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
> _______________________________________________
> undertow-dev mailing list
> undertow-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/undertow-dev
> 


More information about the undertow-dev mailing list