|
|
@ -111,7 +111,6 @@ public class WebEndpointAutoConfiguration {
|
|
|
|
@ConditionalOnMissingBean(ControllerEndpointsSupplier.class)
|
|
|
|
@ConditionalOnMissingBean(ControllerEndpointsSupplier.class)
|
|
|
|
public ControllerEndpointDiscoverer controllerEndpointDiscoverer(
|
|
|
|
public ControllerEndpointDiscoverer controllerEndpointDiscoverer(
|
|
|
|
PathMapper webEndpointPathMapper,
|
|
|
|
PathMapper webEndpointPathMapper,
|
|
|
|
ObjectProvider<Collection<OperationInvokerAdvisor>> invokerAdvisors,
|
|
|
|
|
|
|
|
ObjectProvider<Collection<EndpointFilter<ExposableControllerEndpoint>>> filters) {
|
|
|
|
ObjectProvider<Collection<EndpointFilter<ExposableControllerEndpoint>>> filters) {
|
|
|
|
return new ControllerEndpointDiscoverer(this.applicationContext,
|
|
|
|
return new ControllerEndpointDiscoverer(this.applicationContext,
|
|
|
|
webEndpointPathMapper, filters.getIfAvailable(Collections::emptyList));
|
|
|
|
webEndpointPathMapper, filters.getIfAvailable(Collections::emptyList));
|
|
|
@ -149,7 +148,6 @@ public class WebEndpointAutoConfiguration {
|
|
|
|
@ConditionalOnMissingBean(ServletEndpointsSupplier.class)
|
|
|
|
@ConditionalOnMissingBean(ServletEndpointsSupplier.class)
|
|
|
|
public ServletEndpointDiscoverer servletEndpointDiscoverer(
|
|
|
|
public ServletEndpointDiscoverer servletEndpointDiscoverer(
|
|
|
|
ApplicationContext applicationContext, PathMapper webEndpointPathMapper,
|
|
|
|
ApplicationContext applicationContext, PathMapper webEndpointPathMapper,
|
|
|
|
ObjectProvider<Collection<OperationInvokerAdvisor>> invokerAdvisors,
|
|
|
|
|
|
|
|
ObjectProvider<Collection<EndpointFilter<ExposableServletEndpoint>>> filters) {
|
|
|
|
ObjectProvider<Collection<EndpointFilter<ExposableServletEndpoint>>> filters) {
|
|
|
|
return new ServletEndpointDiscoverer(applicationContext,
|
|
|
|
return new ServletEndpointDiscoverer(applicationContext,
|
|
|
|
webEndpointPathMapper,
|
|
|
|
webEndpointPathMapper,
|
|
|
|