public class QuickReloadFilter extends Object implements javax.servlet.Filter
There is no login or permission check to make it as fast as possible (no binding to DB conn or querying) so it will leak content ids and their last update timestamp, as they are not sensitive data so it is not a security issue. However the class should be kept as is without adding any extra information to the returned JSON string like page titles.
Constructor and Description |
---|
QuickReloadFilter(QuickReloadCaches caches) |
Modifier and Type | Method and Description |
---|---|
void |
destroy() |
void |
doFilter(javax.servlet.ServletRequest request,
javax.servlet.ServletResponse response,
javax.servlet.FilterChain chain) |
void |
init(javax.servlet.FilterConfig filterConfig) |
public QuickReloadFilter(QuickReloadCaches caches)
public void init(javax.servlet.FilterConfig filterConfig) throws javax.servlet.ServletException
init
in interface javax.servlet.Filter
javax.servlet.ServletException
public void doFilter(javax.servlet.ServletRequest request, javax.servlet.ServletResponse response, javax.servlet.FilterChain chain) throws IOException, javax.servlet.ServletException
doFilter
in interface javax.servlet.Filter
IOException
javax.servlet.ServletException
public void destroy()
destroy
in interface javax.servlet.Filter
Copyright © 2003–2020 Atlassian. All rights reserved.