public class RegexHttpContextActivationFilter extends Object implements HttpContextActivationFilter
HttpContextActivationFilter
that accepts every request that matches a predefined regular expression.Constructor and Description |
---|
RegexHttpContextActivationFilter(Pattern pattern) |
RegexHttpContextActivationFilter(String regex) |
Modifier and Type | Method and Description |
---|---|
boolean |
accepts(javax.servlet.http.HttpServletRequest request)
Determines whether CDI contexts should be active during processing of this request
|
void |
cleanup()
Called by Weld when it is shutting down, allowing the service to perform any cleanup needed.
|
public RegexHttpContextActivationFilter(Pattern pattern)
public RegexHttpContextActivationFilter(String regex)
public boolean accepts(javax.servlet.http.HttpServletRequest request)
HttpContextActivationFilter
accepts
in interface HttpContextActivationFilter
request
- the requestCopyright © 2008-2015. All Rights Reserved.