docs: @Override
      public void sessionDestroyed(HttpSessionEvent event) {
  
          String id = event.getSession().getId();
          if (tc.isDebugEnabled()) {
              Tr.debug(tc, "HttpSession destroyed: HttpSession ID: " + event.getSession().getId());
          }
  
          // close the websocket session from here if the websocket session was secure.
          if (endpointManager != null) {
              endpointManager.httpSessionExpired(id);
          }
      }