code: public void setSessionHandler(SessionHandler sessionHandler) {
          handler.setSessionsEnabled(sessionHandler != null);
          handler.setSessionHandler(sessionHandler);
      }
docs: Set the session handler.
  
  @param sessionHandler The sessionHandler to set.