private boolean dumpRequest(Request request) {

        // check if the resource request exists.
        if (request.resource != null)
            if (!this.resources.contains(request.resource)) {
                System.out.println("error: Dump request resource ["
                        + request.resource + "] does not exists");
                return false;
            }

        // check if the site request exists.
        if (request.site != null)
            if (!this.siteMap.containsKey(request.site)) {
                System.out.println("error: Dump request site [" + request.site
                        + "] does not exists");
                return false;
            }

        // Dump all sites
        if (request.site == null) {
            for (Site site : sites) {
                // Check if the site is running
                if (site.isRunning())
                    System.out.println(site.exeRequest(request));
                else
                    System.out.println("Site [" + site.getSiteNum()
                            + "] == Fail");
            }
            return true;
        }

        // Dump one site
        Site site = this.siteMap.get(request.site);
        // Check if the site is running
        if (site.isRunning())
            System.out.println(site.exeRequest(request));
        else
            System.out.println("Site [" + site.getSiteNum() + "] == Fail");
        return true;
    }