src/main/java/webcrawley/crawler/urlchecker/UrlChecker.java
public static List<String> checkUrls(final List<Url> urls, final CrawlerConfiguration crawlerConfiguration) {
        return urls
                .parallelStream()
                .filter(url -> validateUrl(url, crawlerConfiguration))
                .map(Url::getCompleteUrl)
                .collect(Collectors.toList());
    }
/**
     * Applies the crawler configuration to the list of urls.
     *
     * @param urls                 URLs to search through.
     * @param crawlerConfiguration Configuration to qualify a web page.
     * @return List of qualified urls.
     */
Applies the crawler configuration to the list of urls.
@param urls                 URLs to search through.
@param crawlerConfiguration Configuration to qualify a web page.
@return List of qualified urls.
Applies the crawler configuration to the list of urls . @param urls URLs to search through . @param crawlerConfiguration Configuration to qualify a web page . @return List of qualified urls .
public static List<String> checkUrls(final List<Url> urls, final CrawlerConfiguration crawlerConfiguration) {
        return urls
                .parallelStream()
                .filter(url -> validateUrl(url, crawlerConfiguration))
                .map(Url::getCompleteUrl)
                .collect(Collectors.toList());
    }
public static List < String > checkUrls ( final List < Url > urls , final CrawlerConfiguration crawlerConfiguration ) { return urls . parallelStream ( ) . filter ( url -> validateUrl ( url , crawlerConfiguration ) ) . map ( Url :: getCompleteUrl ) . collect ( Collectors . toList ( ) ) ; }
Applies the crawler configuration to the list of urls.
Applies the crawler configuration to the list of urls .