code: public HttpSession getSession(boolean create)
      {
          // 321485
          if (TraceComponent.isAnyTracingEnabled()&&logger.isLoggable (Level.FINE)) {  //306998.15
              logger.logp(Level.FINE, CLASS_NAME,"getSession", "create " + String.valueOf(create) + ", this -> "+this);
          }
          if (WCCustomProperties.CHECK_REQUEST_OBJECT_IN_USE){
              checkRequestObjectInUse();
          }
          // return _connContext.getSessionAPISupport().getSession(create);
          return _requestContext.getSession(create, ((WebAppDispatcherContext) this.getDispatchContext()).getWebApp());
      }
docs: Returns the session as an HttpSession. This does all of the "magic"
  to create the session if it doesn't already exist.