public static Predicate < RequestHandler > basePackage ( final String basePackage ) { return input -> declaringClass ( input ) . map ( handlerPackage ( basePackage ) ) . orElse ( true ) ; }
Predicate that matches RequestHandler with given base package name for the class of the handler method . This predicate includes all request handlers matching the provided basePackage