mirror of
https://github.com/spring-projects/spring-framework.git
synced 2026-09-20 04:09:04 +00:00
Relax handler supports checks in RequestMappingHandlerAdapter
Issue: SPR-17420
This commit is contained in:
+1
-1
@@ -178,7 +178,7 @@ public class RequestMappingHandlerAdapter implements HandlerAdapter, Application
|
||||
|
||||
@Override
|
||||
public boolean supports(Object handler) {
|
||||
return HandlerMethod.class.equals(handler.getClass());
|
||||
return handler instanceof HandlerMethod;
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
Reference in New Issue
Block a user