|
||||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||
java.lang.Objectorg.talika.tarsis.filters.AbstractFilter
org.talika.tarsis.filters.CommandFilter
org.talika.tarsis.filters.cache.CacheFilter
Cache filter checks if command is cacheable and then sets no cache HTTP response headers.
| Constructor Summary | |
|---|---|
CacheFilter()
|
|
| Method Summary | |
|---|---|
void |
doFilter(javax.servlet.ServletRequest servletRequest,
javax.servlet.ServletResponse servletResponse,
javax.servlet.FilterChain filterChain)
Checks if command is cacheable and then sets no cache HTTP response headers. |
| Methods inherited from class org.talika.tarsis.filters.CommandFilter |
|---|
destroy, findCommand, getCommandFactory, init |
| Methods inherited from class org.talika.tarsis.filters.AbstractFilter |
|---|
getContext, getFilterConfig, getLogger |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public CacheFilter()
| Method Detail |
public void doFilter(javax.servlet.ServletRequest servletRequest,
javax.servlet.ServletResponse servletResponse,
javax.servlet.FilterChain filterChain)
throws java.io.IOException,
javax.servlet.ServletException
doFilter in interface javax.servlet.FilterdoFilter in class AbstractFilterservletRequest - ServletRequest the ServletRequest object
that contains the client's request.servletResponse - ServletResponse the ServletResponse object
that contains the servlet's response.filterChain - FilterChain invocation chain of filtered request.
java.io.IOException - if an input or output exception occurs
javax.servlet.ServletException - if an exception has occurred that interferes with the
filter's normal operationFilter.doFilter(ServletRequest, ServletResponse, FilterChain)
|
||||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||