wro4j-core/src/main/java/ro/isdc/wro/http/handler/factory/ConfigurableRequestHandlerFactory.java
private RequestHandlerFactory newRequestHandlerFactory() {
    final SimpleRequestHandlerFactory factory = new SimpleRequestHandlerFactory();
    final List<RequestHandler> requestHandlers = getConfiguredStrategies();
    for (final RequestHandler requestHandler : requestHandlers) {
      factory.addHandler(requestHandler);
    }
    // use default when none provided
    if (requestHandlers.isEmpty()) {
      LOG.debug("No locators configured. Using Default locator factory.");
      return new DefaultRequestHandlerFactory();
    }
    return factory;
  }
private RequestHandlerFactory newRequestHandlerFactory() {
    final SimpleRequestHandlerFactory factory = new SimpleRequestHandlerFactory();
    final List<RequestHandler> requestHandlers = getConfiguredStrategies();
    for (final RequestHandler requestHandler : requestHandlers) {
      factory.addHandler(requestHandler);
    }
    // use default when none provided
    if (requestHandlers.isEmpty()) {
      LOG.debug("No locators configured. Using Default locator factory.");
      return new DefaultRequestHandlerFactory();
    }
    return factory;
  }
private RequestHandlerFactory newRequestHandlerFactory ( ) { final SimpleRequestHandlerFactory factory = new SimpleRequestHandlerFactory ( ) ; final List < RequestHandler > requestHandlers = getConfiguredStrategies ( ) ; for ( final RequestHandler requestHandler : requestHandlers ) { factory . addHandler ( requestHandler ) ; } // use default when none provided if ( requestHandlers . isEmpty ( ) ) { LOG . debug ( "No locators configured. Using Default locator factory." ) ; return new DefaultRequestHandlerFactory ( ) ; } return factory ; }
{@inheritDoc}
{