RequestMappingHandlerAdapter with
resolving, initializing, and caching annotated methods declared in
@Controller and @ControllerAdvice components.
Assists with the following annotations:
@InitBinder
@ModelAttribute
@RequestMapping
@ExceptionHandler
| Modifier and Type | Field and Description |
|---|---|
| private static final boolean | |
| private final Map | |
| private final Map | |
| private final List | |
| private static final ReflectionUtils. | INIT_BINDER_METHODS
MethodFilter that matches |
| private final Map | |
| private final Map | |
| private final List | |
| private static final Log | |
| private final MethodValidator | |
| private static final ReflectionUtils. | MODEL_ATTRIBUTE_METHODS
MethodFilter that matches |
| private final Map | |
| private final Map | |
| private final List | |
| private final ReactiveAdapterRegistry | |
| private final List | |
| private final Map |
| Access | Constructor and Description |
|---|---|
| pack-priv | ControllerMethodResolver(ArgumentResolverConfigurer customResolvers, ReactiveAdapterRegistry adapterRegistry, ConfigurableApplicationContext context, List<HttpMessageReader<?>> readers, WebBindingInitializer webBindingInitializer)
|
| Modifier and Type | Method and Description |
|---|---|
| private InvocableHandlerMethod | |
| private static List | exceptionHandlerResolvers(ArgumentResolverConfigurer customResolvers, ReactiveAdapterRegistry adapterRegistry, ConfigurableApplicationContext context)
|
| public InvocableHandlerMethod | getExceptionHandlerMethod(Throwable
the exception to find a handler for ex, HandlerMethod the controller method that raised the exception, or
if handlerMethod)null, check only @ControllerAdvice classes.Look for an |
| private SyncInvocableHandlerMethod | |
| public List | getInitBinderMethods(HandlerMethod handlerMethod)
Find |
| public List | getModelAttributeMethods(HandlerMethod handlerMethod)
Find |
| public InvocableHandlerMethod | getRequestMappingMethod(HandlerMethod handlerMethod)
Return an |
| public SessionAttributesHandler | getSessionAttributesHandler(HandlerMethod handlerMethod)
Return the handler for the type-level |
| public boolean | |
| private List | initBinderResolvers(ArgumentResolverConfigurer customResolvers, ReactiveAdapterRegistry adapterRegistry, ConfigurableApplicationContext context)
|
| private void | |
| private static List | initResolvers(ArgumentResolverConfigurer customResolvers, ReactiveAdapterRegistry adapterRegistry, ConfigurableApplicationContext context, boolean supportDataBinding, List<HttpMessageReader<?>> readers)
|
| private static Predicate | |
| private static List | modelMethodResolvers(ArgumentResolverConfigurer customResolvers, ReactiveAdapterRegistry adapterRegistry, ConfigurableApplicationContext context)
|
| private static List | requestMappingResolvers(ArgumentResolverConfigurer customResolvers, ReactiveAdapterRegistry adapterRegistry, ConfigurableApplicationContext context, List<HttpMessageReader<?>> readers)
|
| BEAN_VALIDATION_PRESENT | back to summary |
|---|---|
| private static final boolean BEAN_VALIDATION_PRESENT | |
| exceptionHandlerAdviceCache | back to summary |
|---|---|
| private final Map<ControllerAdviceBean, ExceptionHandlerMethodResolver> exceptionHandlerAdviceCache | |
| exceptionHandlerCache | back to summary |
|---|---|
| private final Map<Class<?>, ExceptionHandlerMethodResolver> exceptionHandlerCache | |
| exceptionHandlerResolvers | back to summary |
|---|---|
| private final List<HandlerMethodArgumentResolver> exceptionHandlerResolvers | |
| INIT_BINDER_METHODS | back to summary |
|---|---|
| private static final ReflectionUtils. MethodFilter that matches | |
| initBinderAdviceCache | back to summary |
|---|---|
| private final Map<ControllerAdviceBean, Set<Method>> initBinderAdviceCache | |
| initBinderMethodCache | back to summary |
|---|---|
| private final Map<Class<?>, Set<Method>> initBinderMethodCache | |
| initBinderResolvers | back to summary |
|---|---|
| private final List<SyncHandlerMethodArgumentResolver> initBinderResolvers | |
| logger | back to summary |
|---|---|
| private static final Log logger | |
| methodValidator | back to summary |
|---|---|
| private final MethodValidator methodValidator
| |
| MODEL_ATTRIBUTE_METHODS | back to summary |
|---|---|
| private static final ReflectionUtils. MethodFilter that matches | |
| modelAttributeAdviceCache | back to summary |
|---|---|
| private final Map<ControllerAdviceBean, Set<Method>> modelAttributeAdviceCache | |
| modelAttributeMethodCache | back to summary |
|---|---|
| private final Map<Class<?>, Set<Method>> modelAttributeMethodCache | |
| modelAttributeResolvers | back to summary |
|---|---|
| private final List<HandlerMethodArgumentResolver> modelAttributeResolvers | |
| reactiveAdapterRegistry | back to summary |
|---|---|
| private final ReactiveAdapterRegistry reactiveAdapterRegistry | |
| requestMappingResolvers | back to summary |
|---|---|
| private final List<HandlerMethodArgumentResolver> requestMappingResolvers | |
| sessionAttributesHandlerCache | back to summary |
|---|---|
| private final Map<Class<?>, SessionAttributesHandler> sessionAttributesHandlerCache | |
| ControllerMethodResolver | back to summary |
|---|---|
| pack-priv ControllerMethodResolver(ArgumentResolverConfigurer customResolvers, ReactiveAdapterRegistry adapterRegistry, ConfigurableApplicationContext context, List<HttpMessageReader<?>> readers, WebBindingInitializer webBindingInitializer) | |
| createAttributeMethod | back to summary |
|---|---|
| private InvocableHandlerMethod createAttributeMethod(Object bean, Method method) | |
| exceptionHandlerResolvers | back to summary |
|---|---|
| private static List | |
| getExceptionHandlerMethod | back to summary |
|---|---|
| public InvocableHandlerMethod getExceptionHandlerMethod(Throwable ex, HandlerMethod handlerMethod) Look for an
| |
| getInitBinderMethod | back to summary |
|---|---|
| private SyncInvocableHandlerMethod getInitBinderMethod(Object bean, Method method) | |
| getInitBinderMethods | back to summary |
|---|---|
| public List Find | |
| getModelAttributeMethods | back to summary |
|---|---|
| public List Find | |
| getRequestMappingMethod | back to summary |
|---|---|
| public InvocableHandlerMethod getRequestMappingMethod(HandlerMethod handlerMethod) Return an | |
| getSessionAttributesHandler | back to summary |
|---|---|
| public SessionAttributesHandler getSessionAttributesHandler(HandlerMethod handlerMethod) Return the handler for the type-level | |
| hasMethodValidator | back to summary |
|---|---|
| public boolean hasMethodValidator() | |
| initBinderResolvers | back to summary |
|---|---|
| private List | |
| initControllerAdviceCaches | back to summary |
|---|---|
| private void initControllerAdviceCaches(ApplicationContext applicationContext) | |
| initResolvers | back to summary |
|---|---|
| private static List | |
| methodParamPredicate | back to summary |
|---|---|
| private static Predicate | |
| modelMethodResolvers | back to summary |
|---|---|
| private static List | |
| requestMappingResolvers | back to summary |
|---|---|
| private static List | |