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

Method setRequestThread

java/org/apache/coyote/Request.java:1170–1175  ·  view source on GitHub ↗

Set the request thread ID.

()

Source from the content-addressed store, hash-verified

1168 * Set the request thread ID.
1169 */
1170 @SuppressWarnings("deprecation")
1171 public void setRequestThread() {
1172 Thread t = Thread.currentThread();
1173 threadId = t.getId();
1174 getRequestProcessor().setWorkerThreadName(t.getName());
1175 }
1176
1177 /**
1178 * Check if the current thread is the request thread.

Callers 2

asyncDispatchMethod · 0.80
serviceMethod · 0.80

Calls 4

getRequestProcessorMethod · 0.95
setWorkerThreadNameMethod · 0.80
getIdMethod · 0.65
getNameMethod · 0.65

Tested by

no test coverage detected