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

Packages that use HandlerTypePredicate.Builder
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.Builder in org.springframework.web.method

Methods in org.springframework.web.method that return HandlerTypePredicate.Builder
Modifier and Type
Method
Description
`final HandlerTypePredicate.Builder`
HandlerTypePredicate.Builder.`annotation(Class<? extends Annotation>... annotations)`
Match types that are annotated with one of the given annotations.
`HandlerTypePredicate.Builder`
HandlerTypePredicate.Builder.`assignableType(Class<?>... types)`
Match handlers that are assignable to a given type.
`HandlerTypePredicate.Builder`
HandlerTypePredicate.Builder.`basePackage(String... packages)`
Match handlers declared under a base package, for example, "org.example".
`HandlerTypePredicate.Builder`
HandlerTypePredicate.Builder.`basePackageClass(Class<?>... packageClasses)`
Type-safe alternative to `HandlerTypePredicate.forBasePackage(String...)` to specify a base package through a class.
`static HandlerTypePredicate.Builder`
HandlerTypePredicate.`builder()`
Return a builder for a `HandlerTypePredicate`.