Package com.google.gerrit.server.config
Class ConfigResource
java.lang.Object
com.google.gerrit.server.config.ConfigResource
- All Implemented Interfaces:
RestResource
- Direct Known Subclasses:
CacheResource
,CapabilityResource
,ExperimentResource
,IndexResource
,TaskResource
,TopMenuResource
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.google.gerrit.extensions.restapi.RestResource
RestResource.HasLastModified
-
Field Summary
Modifier and TypeFieldDescriptionstatic final com.google.inject.TypeLiteral
<RestView<ConfigResource>> static CacheControl
Default cache control that gets set on the 'Cache-Control' header for responses on this resource that are cacheable. -
Constructor Summary
-
Method Summary
-
Field Details
-
CONFIG_KIND
-
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()
-