Class PortalCheckInitFilter

java.lang.Object
org.exoplatform.container.web.AbstractFilter
org.gatein.portal.init.PortalCheckInitFilter
All Implemented Interfaces:
jakarta.servlet.Filter

public class PortalCheckInitFilter extends org.exoplatform.container.web.AbstractFilter
A filter for checking a flag if Root Container is properly initialized. If not, filter will send 503 response to user avoiding accessing portal whe is being started.
Author:
Lucas Ponce
  • Field Summary

    Fields inherited from class org.exoplatform.container.web.AbstractFilter

    config, servletContextName
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
     
    void
    doFilter(jakarta.servlet.ServletRequest req, jakarta.servlet.ServletResponse resp, jakarta.servlet.FilterChain chain)
     

    Methods inherited from class org.exoplatform.container.web.AbstractFilter

    afterInit, getContainer, getServletContext, init, requirePortalEnvironment

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • PortalCheckInitFilter

      public PortalCheckInitFilter()
  • Method Details

    • doFilter

      public void doFilter(jakarta.servlet.ServletRequest req, jakarta.servlet.ServletResponse resp, jakarta.servlet.FilterChain chain) throws IOException, jakarta.servlet.ServletException
      Throws:
      IOException
      jakarta.servlet.ServletException
    • destroy

      public void destroy()