org.apache.wicket.portlet
Class PortletFilter
java.lang.Object
org.apache.wicket.protocol.http.WicketFilter
org.apache.wicket.portlet.PortletFilter
- All Implemented Interfaces:
- Filter
public class PortletFilter
- extends WicketFilter
This class subclasses the original WicketFilter to add the necessary porlet
functionality. It is responsible for the initialization of all portlet
specific settings of the WebApplication and wraps the portlet request and
portlet response objects by an http servlet request / response wrapper.
- Author:
- Peter Pastrnak
| Methods inherited from class org.apache.wicket.protocol.http.WicketFilter |
checkIfRedirectRequired, destroy, getClassLoader, getFilterConfig, getFilterPath, getFilterPathFromAnnotation, getFilterPathFromConfig, getFilterPathFromWebXml, getRelativePath, init, setFilterPath |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SHARED_RESOURCE_URL_PORTLET_WINDOW_ID_PREFIX
public static final String SHARED_RESOURCE_URL_PORTLET_WINDOW_ID_PREFIX
- See Also:
- Constant Field Values
PortletFilter
public PortletFilter()
getApplicationFactory
protected IWebApplicationFactory getApplicationFactory()
- Hack to access the application object (TODO: remove)
- Overrides:
getApplicationFactory in class WicketFilter
- See Also:
WicketFilter.getApplicationFactory()
init
public void init(boolean isServlet,
FilterConfig filterConfig)
throws ServletException
- Overrides:
init in class WicketFilter
- Throws:
ServletException
doFilter
public void doFilter(ServletRequest servletRequest,
ServletResponse servletResponse,
FilterChain filterChain)
throws IOException,
ServletException
- Specified by:
doFilter in interface Filter- Overrides:
doFilter in class WicketFilter
- Throws:
IOException
ServletException
Copyright © 2015. All Rights Reserved.