event.getAsyncContext().addListener(this);
}
@Override
public void onComplete(AsyncEvent event) throws IOException
{
<BUG>completes.incrementAndGet();
}</BUG>
@Override
public void onTimeout(AsyncEvent event) throws IOException
{

event.getAsyncContext().addListener(this);
}
@Override
public void onComplete(AsyncEvent event) throws IOException
{
completes.get().countDown();
}
@Override
public void onTimeout(AsyncEvent event) throws IOException
{
