Class PortalContainerInitializedFilter
java.lang.Object
org.exoplatform.container.web.AbstractFilter
org.exoplatform.ws.frameworks.servlet.PortalContainerInitializedFilter
- All Implemented Interfaces:
jakarta.servlet.Filter
public class PortalContainerInitializedFilter
extends org.exoplatform.container.web.AbstractFilter
Created by The eXo Platform SAS .
Servlet Filter that is used to initialize and remove the portal container from the ThreadLocal of PortalContainer, it relies on PortalContainer.getCurrentInstance to retrieve the right portal container.
Servlet Filter that is used to initialize and remove the portal container from the ThreadLocal of PortalContainer, it relies on PortalContainer.getCurrentInstance to retrieve the right portal container.
- Version:
- $Id: $
- Author:
- Gennady Azarenkov
-
Field Summary
Fields inherited from class org.exoplatform.container.web.AbstractFilter
config, servletContextName -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.exoplatform.container.web.AbstractFilter
afterInit, getContainer, getServletContext, init, requirePortalEnvironment
-
Constructor Details
-
PortalContainerInitializedFilter
public PortalContainerInitializedFilter()
-
-
Method Details
-
doFilter
public void doFilter(jakarta.servlet.ServletRequest request, jakarta.servlet.ServletResponse response, jakarta.servlet.FilterChain chain) throws IOException, jakarta.servlet.ServletException initializes PortalContainer instance.- Throws:
IOExceptionjakarta.servlet.ServletException- See Also:
-
Filter.doFilter(jakarta.servlet.ServletRequest, jakarta.servlet.ServletResponse, jakarta.servlet.FilterChain)
-
destroy
public void destroy()
-