Package org.springdoc.webmvc.core
Class ActuatorWebMvcProvider
java.lang.Object
org.springdoc.core.providers.ActuatorProvider
org.springdoc.webmvc.core.ActuatorWebMvcProvider
- All Implemented Interfaces:
EventListener,org.springframework.context.ApplicationListener<org.springframework.boot.web.context.WebServerInitializedEvent>
The type Web mvc actuator provider.
- Author:
- bnasslahsen
-
Field Summary
Fields inherited from class org.springdoc.core.providers.ActuatorProvider
actuatorWebServer, applicationWebServer, managementApplicationContext, managementServerProperties, serverProperties, springDocConfigProperties, webEndpointProperties -
Constructor Summary
ConstructorsConstructorDescriptionActuatorWebMvcProvider(org.springframework.boot.autoconfigure.web.ServerProperties serverProperties, SpringDocConfigProperties springDocConfigProperties, Optional<org.springframework.boot.actuate.autoconfigure.web.server.ManagementServerProperties> managementServerProperties, Optional<org.springframework.boot.actuate.autoconfigure.endpoint.web.WebEndpointProperties> webEndpointProperties, Optional<org.springframework.boot.actuate.endpoint.web.servlet.WebMvcEndpointHandlerMapping> webMvcEndpointHandlerMapping, Optional<org.springframework.boot.actuate.endpoint.web.servlet.ControllerEndpointHandlerMapping> controllerEndpointHandlerMapping) Instantiates a new Actuator web mvc provider. -
Method Summary
Modifier and TypeMethodDescriptionMap<org.springframework.web.servlet.mvc.method.RequestMappingInfo,org.springframework.web.method.HandlerMethod> Methods inherited from class org.springdoc.core.providers.ActuatorProvider
getActuatorPath, getActuatorPort, getApplicationPort, getBasePath, getTag, isRestController, isUseManagementPort, onApplicationEvent
-
Constructor Details
-
ActuatorWebMvcProvider
public ActuatorWebMvcProvider(org.springframework.boot.autoconfigure.web.ServerProperties serverProperties, SpringDocConfigProperties springDocConfigProperties, Optional<org.springframework.boot.actuate.autoconfigure.web.server.ManagementServerProperties> managementServerProperties, Optional<org.springframework.boot.actuate.autoconfigure.endpoint.web.WebEndpointProperties> webEndpointProperties, Optional<org.springframework.boot.actuate.endpoint.web.servlet.WebMvcEndpointHandlerMapping> webMvcEndpointHandlerMapping, Optional<org.springframework.boot.actuate.endpoint.web.servlet.ControllerEndpointHandlerMapping> controllerEndpointHandlerMapping) Instantiates a new Actuator web mvc provider.- Parameters:
serverProperties- the server propertiesspringDocConfigProperties- the spring doc config propertiesmanagementServerProperties- the management server propertieswebEndpointProperties- the web endpoint propertieswebMvcEndpointHandlerMapping- the web mvc endpoint handler mappingcontrollerEndpointHandlerMapping- the controller endpoint handler mapping
-
-
Method Details
-
getMethods
public Map<org.springframework.web.servlet.mvc.method.RequestMappingInfo,org.springframework.web.method.HandlerMethod> getMethods()- Specified by:
getMethodsin classActuatorProvider
-
getContextPath
- Overrides:
getContextPathin classActuatorProvider
-