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