Class StaticModuleConstants

java.lang.Object
com.google.gerrit.httpd.raw.StaticModuleConstants

public final class StaticModuleConstants extends Object
Various constants related to StaticModule

Methods of the StaticModule are not used internally in google, so moving public constants into the StaticModuleConstants allows to exclude StaticModule from the google-hosted gerrit hosts.

  • Field Details

    • CACHE

      public static final String CACHE
      See Also:
    • POLYGERRIT_INDEX_PATHS

      public static final com.google.common.collect.ImmutableList<String> POLYGERRIT_INDEX_PATHS
      Paths at which we should serve the main PolyGerrit application index.html.

      Supports "/*" as a trailing wildcard.