Class ActuatorWebMvcProvider
java.lang.Object
org.springdoc.core.providers.ActuatorProvider
org.springdoc.webmvc.core.providers.ActuatorWebMvcProvider
- All Implemented Interfaces:
EventListener,org.springframework.beans.factory.Aware,org.springframework.context.ApplicationContextAware,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, applicationContext, 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) 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, setApplicationContextMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.springframework.context.ApplicationListener
supportsAsyncExecution
-
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) Instantiates a new Actuator web mvc provider.- Parameters:
serverProperties- the server propertiesspringDocConfigProperties- the spring doc config propertiesmanagementServerProperties- the management server propertieswebEndpointProperties- the web endpoint properties
-
-
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
-