Class GetCache
- java.lang.Object
-
- com.google.gerrit.server.restapi.config.GetCache
-
- All Implemented Interfaces:
RestReadView<CacheResource>
,RestView<CacheResource>
public class GetCache extends Object implements RestReadView<CacheResource>
-
-
Constructor Summary
Constructors Constructor Description GetCache()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ListCaches.CacheInfo
apply(CacheResource rsrc)
Process the view operation by reading from the resource.
-
-
-
Method Detail
-
apply
public ListCaches.CacheInfo apply(CacheResource rsrc)
Description copied from interface:RestReadView
Process the view operation by reading from the resource.- Specified by:
apply
in interfaceRestReadView<CacheResource>
- Parameters:
rsrc
- resource to read.- Returns:
- result to return to the client. Use
BinaryResult
to avoid automatic conversion to JSON.
-
-