public class InstallationAwareDelegatingFilterProxy
extends org.springframework.web.filter.DelegatingFilterProxy
DelegatingFilterProxy
needed when Spring hasn't started and the filter is seeing requests. This
happens when Magnolia is in install/update mode. Until the update/install -phase is over it will simply delegate
to the next filter in line.DelegatingFilterProxy
Constructor and Description |
---|
InstallationAwareDelegatingFilterProxy() |
Modifier and Type | Method and Description |
---|---|
protected boolean |
canInitialize() |
void |
doFilter(javax.servlet.ServletRequest request,
javax.servlet.ServletResponse response,
javax.servlet.FilterChain chain) |
destroy, destroyDelegate, findWebApplicationContext, getContextAttribute, getTargetBeanName, initDelegate, initFilterBean, invokeDelegate, isTargetFilterLifecycle, setContextAttribute, setTargetBeanName, setTargetFilterLifecycle
public InstallationAwareDelegatingFilterProxy()
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
doFilter
in class org.springframework.web.filter.DelegatingFilterProxy
IOException
javax.servlet.ServletException
protected boolean canInitialize()
Copyright © 2009–2020 Magnolia International Ltd.. All rights reserved.