Skip to content

Commit 52cd9c6

Browse files
dreis2211snicoll
authored andcommitted
Fix compilation error
Closes gh-16476
1 parent 3c203e9 commit 52cd9c6

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

spring-boot-project/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/endpoint/web/reactive/AbstractWebFluxEndpointHandlerMapping.java

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@
2222
import java.util.Collections;
2323
import java.util.LinkedHashMap;
2424
import java.util.Map;
25+
import java.util.Set;
2526
import java.util.function.Supplier;
2627

2728
import org.reactivestreams.Publisher;
@@ -65,6 +66,7 @@
6566
import org.springframework.web.reactive.result.method.RequestMappingInfoHandlerMapping;
6667
import org.springframework.web.server.ResponseStatusException;
6768
import org.springframework.web.server.ServerWebExchange;
69+
import org.springframework.web.util.pattern.PathPattern;
6870
import org.springframework.web.util.pattern.PathPatternParser;
6971

7072
/**
@@ -212,6 +214,11 @@ protected RequestMappingInfo getMappingForMethod(Method method,
212214
return null;
213215
}
214216

217+
@Override
218+
protected Set<PathPattern> getMappingPathPatterns(RequestMappingInfo mapping) {
219+
return mapping.getPatternsCondition().getPatterns();
220+
}
221+
215222
/**
216223
* Return the Handler providing actuator links at the root endpoint.
217224
* @return the links handler

0 commit comments

Comments
 (0)