@ManagementContextConfiguration(proxyBeanMethods=false) @ConditionalOnWebApplication(type=REACTIVE) @ConditionalOnClass(value={org.springframework.web.reactive.DispatcherHandler.class,org.springframework.http.server.reactive.HttpHandler.class}) @ConditionalOnBean(value=WebEndpointsSupplier.class) @EnableConfigurationProperties(value=CorsEndpointProperties.class) public class WebFluxEndpointManagementContextConfiguration extends Object
@ManagementContextConfiguration
for Reactive
@Endpoint
concerns.Constructor and Description |
---|
WebFluxEndpointManagementContextConfiguration() |
Modifier and Type | Method and Description |
---|---|
ControllerEndpointHandlerMapping |
controllerEndpointHandlerMapping(ControllerEndpointsSupplier controllerEndpointsSupplier,
CorsEndpointProperties corsProperties,
WebEndpointProperties webEndpointProperties) |
AdditionalHealthEndpointPathsWebFluxHandlerMapping |
managementHealthEndpointWebFluxHandlerMapping(WebEndpointsSupplier webEndpointsSupplier,
HealthEndpointGroups groups) |
WebFluxEndpointHandlerMapping |
webEndpointReactiveHandlerMapping(WebEndpointsSupplier webEndpointsSupplier,
ControllerEndpointsSupplier controllerEndpointsSupplier,
EndpointMediaTypes endpointMediaTypes,
CorsEndpointProperties corsProperties,
WebEndpointProperties webEndpointProperties,
Environment environment) |
public WebFluxEndpointManagementContextConfiguration()
@Bean @ConditionalOnMissingBean public WebFluxEndpointHandlerMapping webEndpointReactiveHandlerMapping(WebEndpointsSupplier webEndpointsSupplier, ControllerEndpointsSupplier controllerEndpointsSupplier, EndpointMediaTypes endpointMediaTypes, CorsEndpointProperties corsProperties, WebEndpointProperties webEndpointProperties, Environment environment)
@Bean @ConditionalOnManagementPort(value=DIFFERENT) @ConditionalOnAvailableEndpoint(endpoint=HealthEndpoint.class, exposure=WEB) @ConditionalOnBean(value=HealthEndpoint.class) public AdditionalHealthEndpointPathsWebFluxHandlerMapping managementHealthEndpointWebFluxHandlerMapping(WebEndpointsSupplier webEndpointsSupplier, HealthEndpointGroups groups)
@Bean @ConditionalOnMissingBean public ControllerEndpointHandlerMapping controllerEndpointHandlerMapping(ControllerEndpointsSupplier controllerEndpointsSupplier, CorsEndpointProperties corsProperties, WebEndpointProperties webEndpointProperties)