public class ServletMapping extends HttpCondition implements Parameterized
Condition responsible for comparing URLs to Servlet Mappings.| Modifier and Type | Method and Description |
|---|---|
boolean |
evaluateHttp(HttpServletRewrite event,
EvaluationContext context) |
Set<String> |
getRequiredParameterNames() |
RegexParameterizedPatternBuilder |
getResourceExpression() |
static ServletMapping |
includes(String resource)
Create a condition which returns true if the given resource is mapped by any
Servlet instances registered
within the current application, and returns false if no Servlet will handle the resource. |
void |
setParameterStore(ParameterStore store) |
evaluatepublic boolean evaluateHttp(HttpServletRewrite event, EvaluationContext context)
evaluateHttp in class HttpConditionpublic static ServletMapping includes(String resource)
Servlet instances registered
within the current application, and returns false if no Servlet will handle the resource.public RegexParameterizedPatternBuilder getResourceExpression()
public Set<String> getRequiredParameterNames()
getRequiredParameterNames in interface Parameterizedpublic void setParameterStore(ParameterStore store)
setParameterStore in interface ParameterizedCopyright © 2013 OCPsoft. All Rights Reserved.