public class RegexHttpContextActivationFilter extends java.lang.Object implements HttpContextActivationFilter
HttpContextActivationFilter that accepts every request that matches a predefined regular expression.| Constructor and Description |
|---|
RegexHttpContextActivationFilter(java.util.regex.Pattern pattern) |
RegexHttpContextActivationFilter(java.lang.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(java.util.regex.Pattern pattern)
public RegexHttpContextActivationFilter(java.lang.String regex)
public boolean accepts(HttpServletRequest request)
HttpContextActivationFilteraccepts in interface HttpContextActivationFilterrequest - the requestCopyright © 2015. All Rights Reserved.