# Uses of Class
org.springframework.web.method.HandlerTypePredicate

Packages that use HandlerTypePredicate
Package
Description
org.springframework.web.method
Common infrastructure for handler method processing, as used by Spring MVC's `org.springframework.web.servlet.mvc.method` package.

## Uses of HandlerTypePredicate in org.springframework.web.method

Methods in org.springframework.web.method that return HandlerTypePredicate
Modifier and Type
Method
Description
`HandlerTypePredicate`
HandlerTypePredicate.Builder.`build()`
`static HandlerTypePredicate`
HandlerTypePredicate.`forAnnotation(Class<? extends Annotation>... annotations)`
Match handlers annotated with a specific annotation.
`static HandlerTypePredicate`
HandlerTypePredicate.`forAnyHandlerType()`
`Predicate` that applies to any handlers.
`static HandlerTypePredicate`
HandlerTypePredicate.`forAssignableType(Class<?>... types)`
Match handlers that are assignable to a given type.
`static HandlerTypePredicate`
HandlerTypePredicate.`forBasePackage(String... packages)`
Match handlers declared under a base package, for example, "org.example".
`static HandlerTypePredicate`
HandlerTypePredicate.`forBasePackageClass(Class<?>... packageClasses)`
Type-safe alternative to `forBasePackage(String...)` to specify a base package through a class.