|
|
@ -65,8 +65,7 @@ class RequestPredicateFactory {
|
|
|
|
|
|
|
|
|
|
|
|
private Parameter getAllRemainingPathSegmentsParameter(Parameter[] selectorParameters) {
|
|
|
|
private Parameter getAllRemainingPathSegmentsParameter(Parameter[] selectorParameters) {
|
|
|
|
Parameter trailingPathsParameter = null;
|
|
|
|
Parameter trailingPathsParameter = null;
|
|
|
|
for (int i = 0; i < selectorParameters.length; i++) {
|
|
|
|
for (Parameter selectorParameter : selectorParameters) {
|
|
|
|
Parameter selectorParameter = selectorParameters[i];
|
|
|
|
|
|
|
|
Selector selector = selectorParameter.getAnnotation(Selector.class);
|
|
|
|
Selector selector = selectorParameter.getAnnotation(Selector.class);
|
|
|
|
if (selector.match() == Match.ALL_REMAINING) {
|
|
|
|
if (selector.match() == Match.ALL_REMAINING) {
|
|
|
|
Assert.state(trailingPathsParameter == null,
|
|
|
|
Assert.state(trailingPathsParameter == null,
|
|
|
|