Fix compilation error

Closes gh-16476
This commit is contained in:
dreis2211 2019-04-06 13:40:00 +02:00 committed by Stephane Nicoll
parent 3c203e9b0d
commit 52cd9c6cac
1 changed files with 7 additions and 0 deletions

View File

@ -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