Class CrowdBrowserNotCachingFilter
java.lang.Object
com.atlassian.crowd.console.filter.CrowdBrowserNotCachingFilter
- All Implemented Interfaces:
jakarta.servlet.Filter
Prevents IE and Safari user agents from caching REST responses
IE and Safari aggressively cache responses of asynchronous request unless they've headers preventing doing that
- Since:
- 3.1.1
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
CrowdBrowserNotCachingFilter
public CrowdBrowserNotCachingFilter()
-
-
Method Details
-
init
public void init(jakarta.servlet.FilterConfig filterConfig) throws jakarta.servlet.ServletException - Specified by:
init
in interfacejakarta.servlet.Filter
- Throws:
jakarta.servlet.ServletException
-
doFilter
public void doFilter(jakarta.servlet.ServletRequest request, jakarta.servlet.ServletResponse response, jakarta.servlet.FilterChain chain) throws IOException, jakarta.servlet.ServletException - Specified by:
doFilter
in interfacejakarta.servlet.Filter
- Throws:
IOException
jakarta.servlet.ServletException
-
destroy
public void destroy()- Specified by:
destroy
in interfacejakarta.servlet.Filter
-