|
rewrite-config-servlet 2.0.0.Alpha6 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.ocpsoft.rewrite.config.DefaultConditionBuilder
org.ocpsoft.rewrite.servlet.config.HttpCondition
org.ocpsoft.rewrite.servlet.config.Query
public abstract class Query
A Condition that inspects the value of
org.ocpsoft.rewrite.servlet.http.event.HttpServletRewrite#getRequestQueryString()
| Constructor Summary | |
|---|---|
Query()
|
|
| Method Summary | |
|---|---|
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() |
| Methods inherited from class org.ocpsoft.rewrite.servlet.config.HttpCondition |
|---|
evaluate, evaluateHttp |
| Methods inherited from class org.ocpsoft.rewrite.config.DefaultConditionBuilder |
|---|
and, andNot, create, or, orNot, wrap |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.ocpsoft.rewrite.param.Parameterized |
|---|
getRequiredParameterNames, setParameterStore |
| Constructor Detail |
|---|
public Query()
| Method Detail |
|---|
public 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)
|
rewrite-config-servlet 2.0.0.Alpha6 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||