public class DefaultParametersControl extends java.lang.Object implements ParametersControl
Constructor and Description |
---|
DefaultParametersControl(java.lang.String originalPattern,
Converters converters,
Evaluator evaluator) |
DefaultParametersControl(java.lang.String originalPattern,
java.util.Map<java.lang.String,java.lang.String> parameterPatterns,
Converters converters,
Evaluator evaluator) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
apply(java.lang.String[] values)
Applies a list of values to
|
void |
fillIntoRequest(java.lang.String uri,
MutableRequest request)
Inserts parameters extracted from the uri into the request parameters.
|
java.lang.String |
fillUri(java.lang.String[] paramNames,
java.lang.Object... paramValues)
creates a uri based on those parameter values
|
boolean |
matches(java.lang.String uri)
wether the uri matches this uri
|
public DefaultParametersControl(java.lang.String originalPattern, java.util.Map<java.lang.String,java.lang.String> parameterPatterns, Converters converters, Evaluator evaluator)
public DefaultParametersControl(java.lang.String originalPattern, Converters converters, Evaluator evaluator)
public java.lang.String fillUri(java.lang.String[] paramNames, java.lang.Object... paramValues)
ParametersControl
fillUri
in interface ParametersControl
public boolean matches(java.lang.String uri)
ParametersControl
matches
in interface ParametersControl
public void fillIntoRequest(java.lang.String uri, MutableRequest request)
ParametersControl
fillIntoRequest
in interface ParametersControl
public java.lang.String apply(java.lang.String[] values)
ParametersControl
apply
in interface ParametersControl
Copyright © 2013 Caelum. All Rights Reserved.