File tree 1 file changed +1
-9
lines changed
spring-webmvc/src/main/java/org/springframework/web/servlet/function
1 file changed +1
-9
lines changed Original file line number Diff line number Diff line change @@ -61,7 +61,7 @@ public Optional<Resource> apply(ServerRequest request) {
61
61
}
62
62
63
63
pathContainer = this .pattern .extractPathWithinPattern (pathContainer );
64
- String path = processPath (pathContainer .value ());
64
+ String path = ResourceHandlerUtils . normalizeInputPath (pathContainer .value ());
65
65
if (ResourceHandlerUtils .shouldIgnoreInputPath (path )) {
66
66
return Optional .empty ();
67
67
}
@@ -84,14 +84,6 @@ public Optional<Resource> apply(ServerRequest request) {
84
84
}
85
85
}
86
86
87
- /**
88
- * Process the given resource path.
89
- * <p>By default, this method delegates to {@link ResourceHandlerUtils#normalizeInputPath}.
90
- */
91
- protected String processPath (String path ) {
92
- return ResourceHandlerUtils .normalizeInputPath (path );
93
- }
94
-
95
87
@ Override
96
88
public String toString () {
97
89
return this .pattern + " -> " + this .location ;
You can’t perform that action at this time.
0 commit comments