Class ServletUtils
java.lang.Object
org.jboss.weld.module.web.util.servlet.ServletUtils
Utilities for working with Servlet API.
- Author:
- Jozef Hartinger
-
Method Summary
Modifier and TypeMethodDescriptionstatic org.jboss.weld.servlet.spi.HttpContextActivationFiltergetContextActivationFilter(BeanManagerImpl manager, jakarta.servlet.ServletContext context) Returns the rightHttpContextActivationFilter.
-
Method Details
-
getContextActivationFilter
public static org.jboss.weld.servlet.spi.HttpContextActivationFilter getContextActivationFilter(BeanManagerImpl manager, jakarta.servlet.ServletContext context) Returns the rightHttpContextActivationFilter. If one is set through the SPI it has precedence. Otherwise, if a mapping is set using web.xml, a newRegexHttpContextActivationFilteris constructed and returned. By default,AcceptingHttpContextActivationFilteris used.- Parameters:
manager-context-- Returns:
-