public class RequestMappingEndpoint extends AbstractEndpoint<Map<String,Object>> implements ApplicationContextAware
Endpoint to expose Spring MVC mappings.| Constructor and Description |
|---|
RequestMappingEndpoint() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
extractHandlerMappings(ApplicationContext applicationContext,
Map<String,Object> result) |
protected void |
extractHandlerMappings(Collection<AbstractUrlHandlerMapping> handlerMappings,
Map<String,Object> result) |
protected void |
extractMethodMappings(ApplicationContext applicationContext,
Map<String,Object> result) |
protected void |
extractMethodMappings(Collection< |
Map<String,Object> |
invoke()
Called to invoke the endpoint.
|
void |
setApplicationContext(ApplicationContext applicationContext) |
void |
setHandlerMappings(List<AbstractUrlHandlerMapping> handlerMappings) |
void |
setMethodMappings(List< |
getId, isEnabled, isSensitive, setEnabled, setId, setSensitivepublic void setApplicationContext(ApplicationContext applicationContext) throws BeansException
setApplicationContext in interface ApplicationContextAwareBeansExceptionpublic void setHandlerMappings(List<AbstractUrlHandlerMapping> handlerMappings)
handlerMappings - the mappings to setpublic void setMethodMappings(List<> methodMappings)
methodMappings - the method mappings to setpublic Map<String,Object> invoke()
Endpointprotected void extractMethodMappings(ApplicationContext applicationContext, Map<String,Object> result)
protected void extractHandlerMappings(ApplicationContext applicationContext, Map<String,Object> result)
protected void extractHandlerMappings(Collection<AbstractUrlHandlerMapping> handlerMappings, Map<String,Object> result)
protected void extractMethodMappings(Collection<> methodMappings, Map<String,Object> result)
Copyright © 2014 Pivotal Software, Inc.. All rights reserved.