类 RequestMappingEndpoint
- java.lang.Object
- org.springframework.boot.actuate.endpoint.AbstractEndpoint<Map<String,Object>>
- org.springframework.boot.actuate.endpoint.RequestMappingEndpoint
- 所有已实现的接口:
org.springframework.beans.factory.Aware
,Endpoint<Map<String,Object>>
,org.springframework.context.ApplicationContextAware
,org.springframework.context.EnvironmentAware
@ConfigurationProperties(prefix="endpoints.mappings") public class RequestMappingEndpoint extends AbstractEndpoint<Map<String,Object>> implements org.springframework.context.ApplicationContextAware
Endpoint
to expose Spring MVC mappings.
构造器概要
构造器 构造器 说明 RequestMappingEndpoint()
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 protected void
extractHandlerMappings(Collection<org.springframework.web.servlet.handler.AbstractUrlHandlerMapping> handlerMappings, Map<String,Object> result)
protected void
extractHandlerMappings(org.springframework.context.ApplicationContext applicationContext, Map<String,Object> result)
protected void
extractMethodMappings(Collection<org.springframework.web.servlet.handler.AbstractHandlerMethodMapping<?>> methodMappings, Map<String,Object> result)
protected void
extractMethodMappings(org.springframework.context.ApplicationContext applicationContext, Map<String,Object> result)
Map<String,Object>
invoke()
Called to invoke the endpoint.void
setApplicationContext(org.springframework.context.ApplicationContext applicationContext)
void
setHandlerMappings(List<org.springframework.web.servlet.handler.AbstractUrlHandlerMapping> handlerMappings)
Set the handler mappings.void
setMethodMappings(List<org.springframework.web.servlet.handler.AbstractHandlerMethodMapping<?>> methodMappings)
Set the method mappings.从类继承的方法 org.springframework.boot.actuate.endpoint.AbstractEndpoint
getEnvironment, getId, isEnabled, isSensitive, setEnabled, setEnvironment, setId, setSensitive
构造器详细资料
RequestMappingEndpoint
public RequestMappingEndpoint()
方法详细资料
setApplicationContext
public void setApplicationContext(org.springframework.context.ApplicationContext applicationContext) throws org.springframework.beans.BeansException
- 指定者:
setApplicationContext
在接口中org.springframework.context.ApplicationContextAware
- 抛出:
org.springframework.beans.BeansException
setHandlerMappings
public void setHandlerMappings(List<org.springframework.web.servlet.handler.AbstractUrlHandlerMapping> handlerMappings)
Set the handler mappings.- 参数:
handlerMappings
- the handler mappings
setMethodMappings
public void setMethodMappings(List<org.springframework.web.servlet.handler.AbstractHandlerMethodMapping<?>> methodMappings)
Set the method mappings.- 参数:
methodMappings
- the method mappings
extractMethodMappings
protected void extractMethodMappings(org.springframework.context.ApplicationContext applicationContext, Map<String,Object> result)
extractHandlerMappings
protected void extractHandlerMappings(org.springframework.context.ApplicationContext applicationContext, Map<String,Object> result)
extractHandlerMappings
protected void extractHandlerMappings(Collection<org.springframework.web.servlet.handler.AbstractUrlHandlerMapping> handlerMappings, Map<String,Object> result)
extractMethodMappings
protected void extractMethodMappings(Collection<org.springframework.web.servlet.handler.AbstractHandlerMethodMapping<?>> methodMappings, Map<String,Object> result)