Merge pull request #16476 from dreis2211

* pr/16476:
  Fix compilation error
pull/16478/head
Stephane Nicoll 6 years ago
commit 87af1a60df

@ -22,6 +22,7 @@ import java.util.Collection;
import java.util.Collections;
import java.util.LinkedHashMap;
import java.util.Map;
import java.util.Set;
import java.util.function.Supplier;
import org.reactivestreams.Publisher;
@ -65,6 +66,7 @@ import org.springframework.web.reactive.result.method.RequestMappingInfo;
import org.springframework.web.reactive.result.method.RequestMappingInfoHandlerMapping;
import org.springframework.web.server.ResponseStatusException;
import org.springframework.web.server.ServerWebExchange;
import org.springframework.web.util.pattern.PathPattern;
import org.springframework.web.util.pattern.PathPatternParser;
/**
@ -212,6 +214,11 @@ public abstract class AbstractWebFluxEndpointHandlerMapping
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 links handler

Loading…
Cancel
Save