commit
73a96c5152
|
|
@ -40,7 +40,7 @@ import org.springframework.util.StringUtils;
|
|||
* <p>Composability methods on {@link Predicate} can be used :
|
||||
* <pre class="code">
|
||||
* Predicate<Class<?>> predicate =
|
||||
* HandlerTypePredicate.forAnnotation(RestController)
|
||||
* HandlerTypePredicate.forAnnotation(RestController.class)
|
||||
* .and(HandlerTypePredicate.forBasePackage("org.example"));
|
||||
* </pre>
|
||||
*
|
||||
|
|
|
|||
Loading…
Reference in New Issue