Relax handler supports checks in RequestMappingHandlerAdapter
Issue: SPR-17420
This commit is contained in:
@@ -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