public abstract class Query extends HttpCondition implements Parameterized
Condition that inspects the value of
org.ocpsoft.rewrite.servlet.http.event.HttpServletRewrite#getRequestQueryString()| Constructor and Description |
|---|
Query() |
| Modifier and Type | Method and Description |
|---|---|
static Query |
matches(String query)
Return a new
Condition matching against the entire
HttpServletRequest.getQueryString() |
static Query |
parameterExists(String name)
Return a new
Condition matching against the existence of specific parameters
within HttpServletRequest.getQueryString() |
static Query |
valueExists(String valuePattern)
Return a new
Condition matching against the existence of a parameter values
within HttpServletRequest.getQueryString() |
evaluate, evaluateHttpand, andNot, create, or, orNot, wrapclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetRequiredParameterNames, setParameterStorepublic static Query matches(String query)
Condition matching against the entire
HttpServletRequest.getQueryString()
This value may be bound using {param} statements.
See also: #bindsTo(Binding)
public static Query parameterExists(String name)
Condition matching against the existence of specific parameters
within HttpServletRequest.getQueryString()
The values of all matching parameters may be bound. By default, matching values are bound to the
EvaluationContext, and are stored by parameter name.
See also: #bindsTo(Binding)
public static Query valueExists(String valuePattern)
Condition matching against the existence of a parameter values
within HttpServletRequest.getQueryString()
The values of all matching parameter values may be bound. By default, matching values are bound to the
EvaluationContext.
See also: #bindsTo(Binding)
Copyright © 2013 OCPsoft. All Rights Reserved.