HandlesTypes (Servlet 6.1 API Documentation - Apache Tomcat 11.0.23)
Description: declaration: package: jakarta.servlet.annotation, annotation type: HandlesTypes

# Annotation Interface HandlesTypes

@Target(TYPE) @Retention(RUNTIME) public @interface HandlesTypes
This annotation is used to declare an array of application classes which are passed to a `ServletContainerInitializer`.

Since:
  Servlet 3.0

- ## Required Element Summary

  Required Elements
  Modifier and Type
  Required Element
  Description
  `Class<?>[]`
  `value`
  Declares the classes handled by the `ServletContainerInitializer`.

- ## Element Details

  - ### value

    Class<?>[] value
    Declares the classes handled by the `ServletContainerInitializer`.
    Returns:
      array of classes