|
47 | 47 | import org.springframework.boot.actuate.endpoint.web.WebEndpointsSupplier;
|
48 | 48 | import org.springframework.boot.actuate.endpoint.web.WebServerNamespace;
|
49 | 49 | import org.springframework.boot.actuate.endpoint.web.reactive.AdditionalHealthEndpointPathsWebFluxHandlerMapping;
|
50 |
| -import org.springframework.boot.actuate.endpoint.web.reactive.ControllerEndpointHandlerMapping; |
51 | 50 | import org.springframework.boot.actuate.endpoint.web.reactive.WebFluxEndpointHandlerMapping;
|
52 | 51 | import org.springframework.boot.actuate.health.HealthEndpoint;
|
53 | 52 | import org.springframework.boot.actuate.health.HealthEndpointGroups;
|
@@ -129,12 +128,13 @@ public AdditionalHealthEndpointPathsWebFluxHandlerMapping managementHealthEndpoi
|
129 | 128 | @Bean
|
130 | 129 | @ConditionalOnMissingBean
|
131 | 130 | @SuppressWarnings("removal")
|
132 |
| - public ControllerEndpointHandlerMapping controllerEndpointHandlerMapping( |
| 131 | + @Deprecated(since = "3.3.5", forRemoval = true) |
| 132 | + public org.springframework.boot.actuate.endpoint.web.reactive.ControllerEndpointHandlerMapping controllerEndpointHandlerMapping( |
133 | 133 | org.springframework.boot.actuate.endpoint.web.annotation.ControllerEndpointsSupplier controllerEndpointsSupplier,
|
134 | 134 | CorsEndpointProperties corsProperties, WebEndpointProperties webEndpointProperties) {
|
135 | 135 | EndpointMapping endpointMapping = new EndpointMapping(webEndpointProperties.getBasePath());
|
136 |
| - return new ControllerEndpointHandlerMapping(endpointMapping, controllerEndpointsSupplier.getEndpoints(), |
137 |
| - corsProperties.toCorsConfiguration()); |
| 136 | + return new org.springframework.boot.actuate.endpoint.web.reactive.ControllerEndpointHandlerMapping( |
| 137 | + endpointMapping, controllerEndpointsSupplier.getEndpoints(), corsProperties.toCorsConfiguration()); |
138 | 138 | }
|
139 | 139 |
|
140 | 140 | @Bean
|
|
0 commit comments