MCPcopy Create free account
hub / github.com/apache/tomcat / start

Method start

java/org/apache/catalina/core/AsyncContextImpl.java:294–305  ·  view source on GitHub ↗
(final Runnable run)

Source from the content-addressed store, hash-verified

292 }
293
294 @Override
295 public void start(final Runnable run) {
296 if (log.isTraceEnabled()) {
297 logDebug("start ");
298 }
299 // Local copy in case of concurrent recycling
300 Context context = this.context;
301 // Ensures local copy is valid
302 check();
303 Runnable wrapper = new RunnableWrapper(run, context, this.request.getCoyoteRequest());
304 this.request.getCoyoteRequest().action(ActionCode.ASYNC_RUN, wrapper);
305 }
306
307 @Override
308 public void addListener(AsyncListener listener) {

Callers

nothing calls this directly

Calls 5

logDebugMethod · 0.95
checkMethod · 0.95
isTraceEnabledMethod · 0.65
actionMethod · 0.65
getCoyoteRequestMethod · 0.45

Tested by

no test coverage detected