code: public static AspectranWebService create(ServletContext servletContext, CoreService rootService) {
          AspectranWebService service = new AspectranWebService(rootService);
          service.setDefaultServletHttpRequestHandler(servletContext);
          AspectranConfig aspectranConfig = rootService.getAspectranConfig();
          if (aspectranConfig != null) {
              WebConfig webConfig = aspectranConfig.getWebConfig();
              if (webConfig != null) {
                  applyWebConfig(service, webConfig);
              }
          }
          setServiceStateListener(service);
          if (service.isLateStart()) {
              try {
                  service.getServiceController().start();
              } catch (Exception e) {
                  throw new AspectranServiceException("Failed to start AspectranWebService");
              }
          }
          return service;
      }
docs: Returns a new instance of {@code AspectranWebService}.
  
  @param servletContext the servlet context
  @param rootService the root service
  @return the instance of {@code AspectranWebService}