@ -75,39 +76,39 @@ public final class ConsumesRequestCondition extends AbstractRequestCondition<Con
@@ -75,39 +76,39 @@ public final class ConsumesRequestCondition extends AbstractRequestCondition<Con
@ -52,28 +54,29 @@ public final class HeadersRequestCondition extends AbstractRequestCondition<Head
@@ -52,28 +54,29 @@ public final class HeadersRequestCondition extends AbstractRequestCondition<Head
@ -97,6 +100,15 @@ public final class HeadersRequestCondition extends AbstractRequestCondition<Head
@@ -97,6 +100,15 @@ public final class HeadersRequestCondition extends AbstractRequestCondition<Head
@ -42,22 +43,22 @@ public final class ParamsRequestCondition extends AbstractRequestCondition<Param
@@ -42,22 +43,22 @@ public final class ParamsRequestCondition extends AbstractRequestCondition<Param
@ -84,6 +85,15 @@ public final class ParamsRequestCondition extends AbstractRequestCondition<Param
@@ -84,6 +85,15 @@ public final class ParamsRequestCondition extends AbstractRequestCondition<Param
@ -53,21 +54,21 @@ public final class PatternsRequestCondition extends AbstractRequestCondition<Pat
@@ -53,21 +54,21 @@ public final class PatternsRequestCondition extends AbstractRequestCondition<Pat
@ -94,25 +95,28 @@ public final class PatternsRequestCondition extends AbstractRequestCondition<Pat
@@ -94,25 +95,28 @@ public final class PatternsRequestCondition extends AbstractRequestCondition<Pat
@ -126,31 +130,21 @@ public final class PatternsRequestCondition extends AbstractRequestCondition<Pat
@@ -126,31 +130,21 @@ public final class PatternsRequestCondition extends AbstractRequestCondition<Pat
@ -92,43 +93,45 @@ public final class ProducesRequestCondition extends AbstractRequestCondition<Pro
@@ -92,43 +93,45 @@ public final class ProducesRequestCondition extends AbstractRequestCondition<Pro
@ -62,16 +62,15 @@ public final class RequestMethodsRequestCondition extends AbstractRequestConditi
@@ -62,16 +62,15 @@ public final class RequestMethodsRequestCondition extends AbstractRequestConditi
@ -98,6 +97,15 @@ public final class RequestMethodsRequestCondition extends AbstractRequestConditi
@@ -98,6 +97,15 @@ public final class RequestMethodsRequestCondition extends AbstractRequestConditi
@ -78,12 +92,12 @@ public final class RequestMappingInfo implements RequestCondition<RequestMapping
@@ -78,12 +92,12 @@ public final class RequestMappingInfo implements RequestCondition<RequestMapping
@ -430,6 +444,10 @@ public final class RequestMappingInfo implements RequestCondition<RequestMapping
@@ -430,6 +444,10 @@ public final class RequestMappingInfo implements RequestCondition<RequestMapping
@Nullable
privateString[]produces;
privatebooleanhasContentType;
privatebooleanhasAccept;
@Nullable
privateStringmappingName;
@ -438,6 +456,7 @@ public final class RequestMappingInfo implements RequestCondition<RequestMapping
@@ -438,6 +456,7 @@ public final class RequestMappingInfo implements RequestCondition<RequestMapping
@ -462,6 +481,12 @@ public final class RequestMappingInfo implements RequestCondition<RequestMapping
@@ -462,6 +481,12 @@ public final class RequestMappingInfo implements RequestCondition<RequestMapping
@ -498,31 +523,50 @@ public final class RequestMappingInfo implements RequestCondition<RequestMapping
@@ -498,31 +523,50 @@ public final class RequestMappingInfo implements RequestCondition<RequestMapping
assertThat(match.getPatterns().iterator().next().getPatternString()).as("Trailing slash should be insensitive to useSuffixPatternMatch settings (SPR-6164, SPR-5636)").isEqualTo("/foo");
@ -76,37 +77,40 @@ public final class ConsumesRequestCondition extends AbstractRequestCondition<Con
@@ -76,37 +77,40 @@ public final class ConsumesRequestCondition extends AbstractRequestCondition<Con
@ -55,26 +56,29 @@ public final class HeadersRequestCondition extends AbstractRequestCondition<Head
@@ -55,26 +56,29 @@ public final class HeadersRequestCondition extends AbstractRequestCondition<Head
@ -98,6 +102,15 @@ public final class HeadersRequestCondition extends AbstractRequestCondition<Head
@@ -98,6 +102,15 @@ public final class HeadersRequestCondition extends AbstractRequestCondition<Head
@ -157,7 +170,7 @@ public final class HeadersRequestCondition extends AbstractRequestCondition<Head
@@ -157,7 +170,7 @@ public final class HeadersRequestCondition extends AbstractRequestCondition<Head
@ -48,22 +48,24 @@ public final class ParamsRequestCondition extends AbstractRequestCondition<Param
@@ -48,22 +48,24 @@ public final class ParamsRequestCondition extends AbstractRequestCondition<Param
@ -88,6 +90,15 @@ public final class ParamsRequestCondition extends AbstractRequestCondition<Param
@@ -88,6 +90,15 @@ public final class ParamsRequestCondition extends AbstractRequestCondition<Param
@ -64,7 +67,7 @@ public final class PatternsRequestCondition extends AbstractRequestCondition<Pat
@@ -64,7 +67,7 @@ public final class PatternsRequestCondition extends AbstractRequestCondition<Pat
@ -79,7 +82,7 @@ public final class PatternsRequestCondition extends AbstractRequestCondition<Pat
@@ -79,7 +82,7 @@ public final class PatternsRequestCondition extends AbstractRequestCondition<Pat
@ -97,7 +100,7 @@ public final class PatternsRequestCondition extends AbstractRequestCondition<Pat
@@ -97,7 +100,7 @@ public final class PatternsRequestCondition extends AbstractRequestCondition<Pat
@ -117,18 +120,7 @@ public final class PatternsRequestCondition extends AbstractRequestCondition<Pat
@@ -117,18 +120,7 @@ public final class PatternsRequestCondition extends AbstractRequestCondition<Pat
@ -144,6 +136,31 @@ public final class PatternsRequestCondition extends AbstractRequestCondition<Pat
@@ -144,6 +136,31 @@ public final class PatternsRequestCondition extends AbstractRequestCondition<Pat
@ -157,20 +174,6 @@ public final class PatternsRequestCondition extends AbstractRequestCondition<Pat
@@ -157,20 +174,6 @@ public final class PatternsRequestCondition extends AbstractRequestCondition<Pat
@ -197,6 +200,15 @@ public final class PatternsRequestCondition extends AbstractRequestCondition<Pat
@@ -197,6 +200,15 @@ public final class PatternsRequestCondition extends AbstractRequestCondition<Pat
@ -205,18 +217,13 @@ public final class PatternsRequestCondition extends AbstractRequestCondition<Pat
@@ -205,18 +217,13 @@ public final class PatternsRequestCondition extends AbstractRequestCondition<Pat
@ -236,9 +243,6 @@ public final class PatternsRequestCondition extends AbstractRequestCondition<Pat
@@ -236,9 +243,6 @@ public final class PatternsRequestCondition extends AbstractRequestCondition<Pat
@ -257,7 +261,7 @@ public final class PatternsRequestCondition extends AbstractRequestCondition<Pat
@@ -257,7 +261,7 @@ public final class PatternsRequestCondition extends AbstractRequestCondition<Pat
@ -96,41 +97,45 @@ public final class ProducesRequestCondition extends AbstractRequestCondition<Pro
@@ -96,41 +97,45 @@ public final class ProducesRequestCondition extends AbstractRequestCondition<Pro
@ -63,11 +64,15 @@ public final class RequestMethodsRequestCondition extends AbstractRequestConditi
@@ -63,11 +64,15 @@ public final class RequestMethodsRequestCondition extends AbstractRequestConditi
@ -94,6 +99,15 @@ public final class RequestMethodsRequestCondition extends AbstractRequestConditi
@@ -94,6 +99,15 @@ public final class RequestMethodsRequestCondition extends AbstractRequestConditi
@ -80,12 +94,12 @@ public final class RequestMappingInfo implements RequestCondition<RequestMapping
@@ -80,12 +94,12 @@ public final class RequestMappingInfo implements RequestCondition<RequestMapping
@ -427,7 +441,7 @@ public final class RequestMappingInfo implements RequestCondition<RequestMapping
@@ -427,7 +441,7 @@ public final class RequestMappingInfo implements RequestCondition<RequestMapping
@ -439,6 +453,10 @@ public final class RequestMappingInfo implements RequestCondition<RequestMapping
@@ -439,6 +453,10 @@ public final class RequestMappingInfo implements RequestCondition<RequestMapping
privateString[]produces=newString[0];
privatebooleanhasContentType;
privatebooleanhasAccept;
@Nullable
privateStringmappingName;
@ -471,6 +489,12 @@ public final class RequestMappingInfo implements RequestCondition<RequestMapping
@@ -471,6 +489,12 @@ public final class RequestMappingInfo implements RequestCondition<RequestMapping
@ -508,19 +532,26 @@ public final class RequestMappingInfo implements RequestCondition<RequestMapping
@@ -508,19 +532,26 @@ public final class RequestMappingInfo implements RequestCondition<RequestMapping
@ -165,9 +166,11 @@ public class PatternsRequestConditionTests {
@@ -165,9 +166,11 @@ public class PatternsRequestConditionTests {
match=condition.getMatchingCondition(request);
assertThat(match).isNotNull();
assertThat(match.getPatterns().iterator().next()).as("Trailing slash should be insensitive to useSuffixPatternMatch settings (SPR-6164, SPR-5636)").isEqualTo("/foo/");
assertThat(match.getPatterns().iterator().next())
.as("Trailing slash should be insensitive to useSuffixPatternMatch settings (SPR-6164, SPR-5636)")