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

Method recycleSessionInfo

java/org/apache/catalina/connector/Request.java:556–570  ·  view source on GitHub ↗

Recycle session-related information.

()

Source from the content-addressed store, hash-verified

554 * Recycle session-related information.
555 */
556 public void recycleSessionInfo() {
557 if (session != null) {
558 try {
559 session.endAccess();
560 } catch (Throwable t) {
561 ExceptionUtils.handleThrowable(t);
562 log.warn(sm.getString("coyoteRequest.sessionEndAccessFail"), t);
563 }
564 }
565 session = null;
566 requestedSessionCookie = false;
567 requestedSessionId = null;
568 requestedSessionURL = false;
569 requestedSessionSSL = false;
570 }
571
572
573 /**

Callers 3

recycleMethod · 0.95
invokeMethod · 0.80
postParseRequestMethod · 0.80

Calls 4

handleThrowableMethod · 0.95
endAccessMethod · 0.65
warnMethod · 0.65
getStringMethod · 0.65

Tested by

no test coverage detected