Commit 87af1a60 authored by Stephane Nicoll's avatar Stephane Nicoll

Merge pull request #16476 from dreis2211

* pr/16476:
  Fix compilation error
parents 3c203e9b 52cd9c6c
...@@ -22,6 +22,7 @@ import java.util.Collection; ...@@ -22,6 +22,7 @@ import java.util.Collection;
import java.util.Collections; import java.util.Collections;
import java.util.LinkedHashMap; import java.util.LinkedHashMap;
import java.util.Map; import java.util.Map;
import java.util.Set;
import java.util.function.Supplier; import java.util.function.Supplier;
import org.reactivestreams.Publisher; import org.reactivestreams.Publisher;
...@@ -65,6 +66,7 @@ import org.springframework.web.reactive.result.method.RequestMappingInfo; ...@@ -65,6 +66,7 @@ import org.springframework.web.reactive.result.method.RequestMappingInfo;
import org.springframework.web.reactive.result.method.RequestMappingInfoHandlerMapping; import org.springframework.web.reactive.result.method.RequestMappingInfoHandlerMapping;
import org.springframework.web.server.ResponseStatusException; import org.springframework.web.server.ResponseStatusException;
import org.springframework.web.server.ServerWebExchange; import org.springframework.web.server.ServerWebExchange;
import org.springframework.web.util.pattern.PathPattern;
import org.springframework.web.util.pattern.PathPatternParser; import org.springframework.web.util.pattern.PathPatternParser;
/** /**
...@@ -212,6 +214,11 @@ public abstract class AbstractWebFluxEndpointHandlerMapping ...@@ -212,6 +214,11 @@ public abstract class AbstractWebFluxEndpointHandlerMapping
return null; return null;
} }
@Override
protected Set<PathPattern> getMappingPathPatterns(RequestMappingInfo mapping) {
return mapping.getPatternsCondition().getPatterns();
}
/** /**
* Return the Handler providing actuator links at the root endpoint. * Return the Handler providing actuator links at the root endpoint.
* @return the links handler * @return the links handler
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment