public class JiraJohnson503Filter
extends com.atlassian.johnson.filters.Johnson503Filter
Johnson503Filter
with awareness of the startup page.
Differs from the superclass by only calling Johnson503Filter.handleError(com.atlassian.johnson.JohnsonEventContainer, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)
if there are
startup-preventing events in the container (as opposed to any event at all).
This lets us put (for example) warnings into the container without every
request receiving a 503 response.
Constructor and Description |
---|
JiraJohnson503Filter() |
Modifier and Type | Method and Description |
---|---|
void |
doFilter(javax.servlet.ServletRequest servletRequest,
javax.servlet.ServletResponse servletResponse,
javax.servlet.FilterChain filterChain) |
handleError, handleNotSetup
public void doFilter(javax.servlet.ServletRequest servletRequest, javax.servlet.ServletResponse servletResponse, javax.servlet.FilterChain filterChain) throws IOException, javax.servlet.ServletException
doFilter
in interface javax.servlet.Filter
doFilter
in class com.atlassian.johnson.filters.AbstractJohnsonFilter
IOException
javax.servlet.ServletException
Copyright © 2002-2023 Atlassian. All Rights Reserved.