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

Method isRequestThread

java/org/apache/coyote/Request.java:1182–1185  ·  view source on GitHub ↗

Check if the current thread is the request thread. @return true if the current thread is the request thread

()

Source from the content-addressed store, hash-verified

1180 * @return {@code true} if the current thread is the request thread
1181 */
1182 @SuppressWarnings("deprecation")
1183 public boolean isRequestThread() {
1184 return Thread.currentThread().getId() == threadId;
1185 }
1186
1187 // -------------------- Per-Request "notes" --------------------
1188

Callers 8

onDataAvailableMethod · 0.95
setReadListenerMethod · 0.95
asyncCompleteMethod · 0.95
asyncDispatchMethod · 0.95
asyncErrorMethod · 0.95
setReadListenerMethod · 0.95
setWriteListenerMethod · 0.95
setWriteListenerMethod · 0.45

Calls 1

getIdMethod · 0.65

Tested by 1

onDataAvailableMethod · 0.76