public class ServletUtils extends Object
Modifier and Type | Method and Description |
---|---|
static org.jboss.weld.servlet.spi.HttpContextActivationFilter |
getContextActivationFilter(BeanManagerImpl manager,
javax.servlet.ServletContext context)
Returns the right
HttpContextActivationFilter . |
public static org.jboss.weld.servlet.spi.HttpContextActivationFilter getContextActivationFilter(BeanManagerImpl manager, javax.servlet.ServletContext context)
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.manager
- context
- Copyright © 2016. All rights reserved.