code: public WebAppContext addWarApp(String war, String contextPath) throws JettyBootstrapException {
          WarAppJettyHandler warAppJettyHandler = new WarAppJettyHandler(getInitializedConfiguration());
          warAppJettyHandler.setWar(war);
          warAppJettyHandler.setContextPath(contextPath);
  
          WebAppContext webAppContext = warAppJettyHandler.getHandler();
          handlers.addHandler(webAppContext);
  
          return webAppContext;
      }
docs: Add a War application specifying the context path.
  
  @param war
  the path to a war file
  @param contextPath
  the path (base URL) to make the war available
  @return WebAppContext
  @throws JettyBootstrapException
  on failure