public class SiteWicketFilter
extends org.apache.wicket.protocol.http.WicketFilter
SiteApplication) kicks in via the framework.provideApplication(String, ServletRequest),
setupWicketContext(HttpServletRequest, HttpServletResponse)| Modifier and Type | Field and Description |
|---|---|
static SiteApplication |
SITE_APPLICATION_INSTANCE
Deprecated.
PLEASE USE
SiteApplication.get() where possible. |
| Constructor and Description |
|---|
SiteWicketFilter() |
| Modifier and Type | Method and Description |
|---|---|
void |
doFilter(javax.servlet.ServletRequest request,
javax.servlet.ServletResponse response,
javax.servlet.FilterChain chain) |
Pattern |
getProvideApplicationRelPathRegEx()
Parent class isWicketRequest() is private however it does not provide Wicket
Application to all request threads. |
void |
init(javax.servlet.FilterConfig filterConfig) |
protected boolean |
provideApplication(String relativePath,
javax.servlet.ServletRequest request)
Parent class isWicketRequest() is private however it does not provide Wicket
Application to all request threads. |
protected void |
setAppSettings()
|
public static SiteApplication SITE_APPLICATION_INSTANCE
SiteApplication.get() where possible.public void init(javax.servlet.FilterConfig filterConfig)
throws javax.servlet.ServletException
init in interface javax.servlet.Filterinit in class org.apache.wicket.protocol.http.WicketFilterjavax.servlet.ServletExceptionprotected boolean provideApplication(String relativePath, javax.servlet.ServletRequest request)
Application to all request threads.
In some cases we may need to override this to provide it to specific non-Wicket requests.relativePath - of the requestrequest - as ServletRequestpublic void doFilter(javax.servlet.ServletRequest request,
javax.servlet.ServletResponse response,
javax.servlet.FilterChain chain)
throws IOException,
javax.servlet.ServletException
doFilter in interface javax.servlet.FilterdoFilter in class org.apache.wicket.protocol.http.WicketFilterIOExceptionjavax.servlet.ServletExceptionprotected void setAppSettings()
public Pattern getProvideApplicationRelPathRegEx()
Application to all request threads.
In some cases we may need to override this to provide it to specific non-Wicket requests.request - as ServletRequestCopyright © 2018. All rights reserved.