logger.debug("Received HTTP GET request at '{}'.", UriBuilder.fromUri(uri).build().toASCIIString());
ModelRepository modelRepository = RESTApplication.getModelRepository();
for(String modelName : modelRepository.getAllModelNamesOfType("sitemap")) {
Sitemap sitemap = (Sitemap) modelRepository.getModel(modelName);
if(sitemap!=null) {
SitemapBean bean = new SitemapBean();
bean.name = StringUtils.removeEnd(modelName, SITEMAP_FILEEXT);
bean.icon = sitemap.getIcon();
bean.label = sitemap.getLabel();
bean.link = UriBuilder.fromUri(uri).path(bean.name).build().toASCIIString();
bean.homepage = new PageBean();