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(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(HttpServletRequest request)
HttpContextActivationFilteraccepts in interface HttpContextActivationFilterrequest - the requestCopyright © 2016. All Rights Reserved.