Class ServletUtils

java.lang.Object
org.jboss.weld.module.web.util.servlet.ServletUtils

public class ServletUtils extends Object
Utilities for working with Servlet API.
Author:
Jozef Hartinger
  • Method Details

    • getContextActivationFilter

      public static org.jboss.weld.servlet.spi.HttpContextActivationFilter getContextActivationFilter(BeanManagerImpl manager, jakarta.servlet.ServletContext context)
      Returns the right HttpContextActivationFilter. If one is set through the SPI it has precedence. Otherwise, if a mapping is set using web.xml, a new RegexHttpContextActivationFilter is constructed and returned. By default, AcceptingHttpContextActivationFilter is used.
      Parameters:
      manager -
      context -
      Returns: