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

Method stop

java/org/apache/coyote/AbstractProtocol.java:1057–1075  ·  view source on GitHub ↗

Stops the protocol handler. @throws Exception if stop fails

()

Source from the content-addressed store, hash-verified

1055 * @throws Exception if stop fails
1056 */
1057 @Override
1058 public void stop() throws Exception {
1059 if (getLog().isInfoEnabled()) {
1060 getLog().info(sm.getString("abstractProtocolHandler.stop", getName()));
1061 logPortOffset();
1062 }
1063
1064 if (monitorFuture != null) {
1065 monitorFuture.cancel(true);
1066 monitorFuture = null;
1067 }
1068 stopAsyncTimeout();
1069 // Timeout any waiting processor
1070 for (Processor processor : waitingProcessors) {
1071 processor.timeoutAsync(-1);
1072 }
1073
1074 endpoint.stop();
1075 }
1076
1077
1078 /**

Callers

nothing calls this directly

Calls 10

getLogMethod · 0.95
getNameMethod · 0.95
logPortOffsetMethod · 0.95
stopAsyncTimeoutMethod · 0.95
isInfoEnabledMethod · 0.65
infoMethod · 0.65
getStringMethod · 0.65
timeoutAsyncMethod · 0.65
stopMethod · 0.65
cancelMethod · 0.45

Tested by

no test coverage detected