code: private HttpSession getMatchingHttpSession(List<HttpCookie> cookies, final HttpSessionTokensSet siteTokens) {
  		Collection<HttpSession> sessionsCopy;
  		synchronized (sessions) {
  			sessionsCopy = new ArrayList<>(sessions);
  		}
  		return CookieBasedSessionManagementHelper.getMatchingHttpSession(sessionsCopy, cookies, siteTokens);
  	}
docs: Gets the matching http session for a particular message containing a list of cookies.
  
  @param siteTokens the tokens
  @param cookies the cookies present in the request header of the message
  @return the matching http session, if any, or null if no existing session was found to match
  all the tokens