MatchableHandlerMapping is backwards compatible
This commit is contained in:
parent
7391f9b392
commit
b1da89344f
|
|
@ -42,7 +42,9 @@ public interface MatchableHandlerMapping extends HandlerMapping {
|
||||||
* @since 5.3
|
* @since 5.3
|
||||||
*/
|
*/
|
||||||
@Nullable
|
@Nullable
|
||||||
PathPatternParser getPatternParser();
|
default PathPatternParser getPatternParser() {
|
||||||
|
return null;
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Determine whether the request matches the given pattern. Use this method
|
* Determine whether the request matches the given pattern. Use this method
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue