@EndpointWebExtension(endpoint=CachesEndpoint.class) public class CachesEndpointWebExtension extends Object
@EndpointWebExtension
for the CachesEndpoint
.Constructor and Description |
---|
CachesEndpointWebExtension(CachesEndpoint delegate) |
Modifier and Type | Method and Description |
---|---|
WebEndpointResponse<CachesEndpoint.CacheEntry> |
cache(String cache,
String cacheManager) |
WebEndpointResponse<Void> |
clearCache(String cache,
String cacheManager) |
public CachesEndpointWebExtension(CachesEndpoint delegate)
@ReadOperation public WebEndpointResponse<CachesEndpoint.CacheEntry> cache(@Selector String cache, @Nullable String cacheManager)
@DeleteOperation public WebEndpointResponse<Void> clearCache(@Selector String cache, @Nullable String cacheManager)