Class ConfigResource

java.lang.Object
com.google.gerrit.server.config.ConfigResource
All Implemented Interfaces:
RestResource
Direct Known Subclasses:
CacheResource, CapabilityResource, ExperimentResource, IndexResource, TaskResource, TopMenuResource

public class ConfigResource extends Object implements RestResource
  • Field Details

    • CONFIG_KIND

      public static final com.google.inject.TypeLiteral<RestView<ConfigResource>> CONFIG_KIND
    • DEFAULT_CACHE_CONTROL

      public static CacheControl DEFAULT_CACHE_CONTROL
      Default cache control that gets set on the 'Cache-Control' header for responses on this resource that are cacheable.

      Not all resources are cacheable and in fact the vast majority might not be. Caching is a trade-off between the freshness of data and the number of QPS that the web UI sends.

  • Constructor Details

    • ConfigResource

      public ConfigResource()