MCPcopy Index your code
hub / github.com/apache/tomcat / asyncTimeout

Method asyncTimeout

java/org/apache/coyote/AsyncStateMachine.java:353–366  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

351
352
353 synchronized boolean asyncTimeout() {
354 if (state == AsyncState.STARTED) {
355 updateState(AsyncState.TIMING_OUT);
356 return true;
357 } else if (state == AsyncState.COMPLETING || state == AsyncState.DISPATCHING ||
358 state == AsyncState.DISPATCHED) {
359 // NOOP - App called complete() or dispatch() between the
360 // timeout firing and execution reaching this point
361 return false;
362 } else {
363 throw new IllegalStateException(
364 sm.getString("asyncStateMachine.invalidAsyncState", "asyncTimeout()", state));
365 }
366 }
367
368
369 synchronized boolean asyncDispatch() {

Callers 1

actionMethod · 0.80

Calls 2

updateStateMethod · 0.95
getStringMethod · 0.65

Tested by

no test coverage detected