|
rewrite-impl-servlet 1.0.4.Final | |||||||||
| 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.QueryString
public abstract class QueryString
A Condition that inspects the value of
HttpServletRewrite.getRequestQueryString()
| Field Summary | |
|---|---|
protected DefaultBindable<?> |
bindable
|
| Constructor Summary | |
|---|---|
QueryString()
|
|
| Method Summary | |
|---|---|
QueryString |
bindsTo(Binding binding)
Bind the values of this QueryString query to the given Binding. |
List<Binding> |
getBindings()
|
static QueryString |
matches(String pattern)
Return a new Condition matching against the entire
HttpServletRequest.getQueryString() |
static QueryString |
parameterExists(String nameRegex)
Return a new Condition matching against the existence of specific parameters
within HttpServletRequest.getQueryString() |
static QueryString |
valueExists(String valueRegex)
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 |
| Field Detail |
|---|
protected final DefaultBindable<?> bindable
| Constructor Detail |
|---|
public QueryString()
| Method Detail |
|---|
public QueryString bindsTo(Binding binding)
QueryString query to the given Binding.
bindsTo in interface Bindable<QueryString>public List<Binding> getBindings()
getBindings in interface Bindable<QueryString>public static QueryString matches(String pattern)
Condition matching against the entire
HttpServletRequest.getQueryString()
This value may be bound using {param} statements.
See also: bindsTo(Binding)
public static QueryString parameterExists(String nameRegex)
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 QueryString valueExists(String valueRegex)
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-impl-servlet 1.0.4.Final | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||