Class CacheExplorerHandler

  • All Implemented Interfaces:
    LightHttpHandler, io.undertow.server.HttpHandler

    public class CacheExplorerHandler
    extends Object
    implements LightHttpHandler
    This is one of the adm handlers that is used to explore the cache. It has an optional query parameter to specify the cache name. If the cache name is not specified, it will return all the general info about caches. If the cache name is specified, it will return the cache key and value pairs in a list to the caller. If a user knows the cache name, he can use the cache name to get the cache directly from the CacheManager.
    Author:
    Steve Hu
    • Constructor Detail

      • CacheExplorerHandler

        public CacheExplorerHandler()
    • Method Detail

      • handleRequest

        public void handleRequest​(io.undertow.server.HttpServerExchange httpServerExchange)
                           throws Exception
        Specified by:
        handleRequest in interface io.undertow.server.HttpHandler
        Throws:
        Exception