Polish doc on RequestMappingHandlerMapping#isHandler

This commit is contained in:
QBNemo 2017-05-24 17:17:54 +08:00 committed by Rossen Stoyanchev
parent e81651b657
commit 94618c4f37
1 changed files with 2 additions and 1 deletions

View File

@ -168,7 +168,8 @@ public class RequestMappingHandlerMapping extends RequestMappingInfoHandlerMappi
/**
* {@inheritDoc}
* Expects a handler to have a type-level @{@link Controller} annotation.
* <p>Expects a handler to have either a type-level @{@link Controller}
* annotation or a type-level @{@link RequestMapping} annotation.
*/
@Override
protected boolean isHandler(Class<?> beanType) {