Package com.networknt.cache
Class CacheExplorerHandler
- java.lang.Object
-
- com.networknt.cache.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
-
-
Field Summary
-
Fields inherited from interface com.networknt.handler.LightHttpHandler
AUDIT_CONFIG_NAME, AUDIT_ON_ERROR, AUDIT_STACK_TRACE, auditConfig, auditOnError, auditStackTrace, config, CONFIG_NAME, ERROR_NOT_DEFINED
-
-
Constructor Summary
Constructors Constructor Description CacheExplorerHandler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidhandleRequest(io.undertow.server.HttpServerExchange httpServerExchange)-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.networknt.handler.LightHttpHandler
setExchangeStatus, setExchangeStatus, setExchangeStatus
-
-