Interface SitemapInfo


  • @ProviderType
    public interface SitemapInfo
    An info object with details about a sitemap/sitemap-index.
    • Method Detail

      • getStoragePath

        @Nullable
        @Nullable String getStoragePath()
        Returns the resource path to the resource the sitemap is stored at. May return null if the sitemap or sitemap-index is served on-demand.
        Returns:
      • getUrl

        @NotNull
        @NotNull String getUrl()
        Returns the absolute, external url for the sitemap/sitemap-index.
        Returns:
      • getSize

        int getSize()
        Returns the size of the sitemap in bytes. -1 for sitemap-index or sitemaps served on-demand.
        Returns:
      • getEntries

        int getEntries()
        Returns the number of urls in the sitemap. -1 for sitemap-index or sitemaps served on-demand.
        Returns: