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

Method expireSession

java/org/apache/catalina/session/ManagerBase.java:1185–1194  ·  view source on GitHub ↗

Expire the session with the given ID. @param sessionId The session ID

(String sessionId)

Source from the content-addressed store, hash-verified

1183 * @param sessionId The session ID
1184 */
1185 public void expireSession(String sessionId) {
1186 Session s = sessions.get(sessionId);
1187 if (s == null) {
1188 if (log.isInfoEnabled()) {
1189 log.info(sm.getString("managerBase.sessionNotFound", sessionId));
1190 }
1191 return;
1192 }
1193 s.expire();
1194 }
1195
1196 /**
1197 * Get the timestamp of the last access for the given session.

Callers

nothing calls this directly

Calls 5

expireMethod · 0.95
getMethod · 0.65
isInfoEnabledMethod · 0.65
infoMethod · 0.65
getStringMethod · 0.65

Tested by

no test coverage detected