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 Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static org.jboss.weld.servlet.spi.HttpContextActivationFiltergetContextActivationFilter(BeanManagerImpl manager, jakarta.servlet.ServletContext context)Returns the rightHttpContextActivationFilter.
-
-
-
Method Detail
-
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:
-
-