Browse Source

Polish doc on RequestMappingHandlerMapping#isHandler

pull/1439/merge
QBNemo 8 years ago committed by Rossen Stoyanchev
parent
commit
94618c4f37
  1. 3
      spring-webmvc/src/main/java/org/springframework/web/servlet/mvc/method/annotation/RequestMappingHandlerMapping.java

3
spring-webmvc/src/main/java/org/springframework/web/servlet/mvc/method/annotation/RequestMappingHandlerMapping.java

@ -168,7 +168,8 @@ public class RequestMappingHandlerMapping extends RequestMappingInfoHandlerMappi @@ -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) {

Loading…
Cancel
Save