Class IndexPreloadingUtil


  • public class IndexPreloadingUtil
    extends Object
    Helper for generating preloading parts of index.html.
    • Method Detail

      • parseRequestedPage

        public static com.google.gerrit.httpd.raw.IndexPreloadingUtil.RequestedPage parseRequestedPage​(String requestedPath)
      • computeChangeRequestsPath

        public static Optional<String> computeChangeRequestsPath​(String requestedURL,
                                                                 com.google.gerrit.httpd.raw.IndexPreloadingUtil.RequestedPage page)
      • computeChangeNum

        public static Optional<Integer> computeChangeNum​(String requestedURL,
                                                         com.google.gerrit.httpd.raw.IndexPreloadingUtil.RequestedPage page)
      • computeDashboardQueryList

        public static List<String> computeDashboardQueryList()