接口 ExposableControllerEndpoint
- 所有超级接口:
ExposableEndpoint<Operation>
,PathMappedEndpoint
public interface ExposableControllerEndpoint extends ExposableEndpoint<Operation>, PathMappedEndpoint
Information describing an endpoint that can be exposed over Spring MVC or Spring WebFlux. Mappings should be discovered directly fromgetController()
andExposableEndpoint.getOperations()
should always return an empty collection.- 从以下版本开始:
- 2.0.0
方法概要
所有方法 实例方法 抽象方法 修饰符和类型 方法 说明 Object
getController()
Return the source controller that containsRequestMapping
methods.从接口继承的方法 org.springframework.boot.actuate.endpoint.ExposableEndpoint
getEndpointId, getOperations, isEnableByDefault
从接口继承的方法 org.springframework.boot.actuate.endpoint.web.PathMappedEndpoint
getRootPath
方法详细资料
getController
Object getController()
Return the source controller that containsRequestMapping
methods.- 返回:
- the source controller