Added clear caches features.
This commit is contained in:
parent
40fa91feb4
commit
0017f5a84e
2 changed files with 9 additions and 3 deletions
|
@ -63,6 +63,15 @@ public class KissDispatcher
|
|||
this.annotationHooks = AnnotationUtils.getAnnotationHooks();
|
||||
}
|
||||
|
||||
/**
|
||||
* Clear.
|
||||
*/
|
||||
public void clear()
|
||||
{
|
||||
this.cache.clear();
|
||||
KissDispatcherFactory.instance().clearCache();
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the annotation hooks.
|
||||
*
|
||||
|
|
|
@ -32,9 +32,6 @@ import jakarta.servlet.http.HttpServletResponse;
|
|||
/**
|
||||
* The Class KissDispatcher.
|
||||
*
|
||||
* According that URL is under UTF-8 format. Set Tomcat connector if needs
|
||||
* (<connector … URIEncoding="UTF-8" … />).
|
||||
*
|
||||
*/
|
||||
public class KissDispatcherServlet extends HttpServlet
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue