Package jakarta.servlet.annotation
package jakarta.servlet.annotation
The jakarta.servlet.annotation package contains a number of annotations that allow users to use annotations to declare servlets, filters, listeners and specify the metadata for the declared component. @since Servlet 3.0
-
ClassDescriptionThis annotation is used to declare the class types that a
ServletContainerInitializer
can handle.This annotation is used within theServletSecurity
annotation to represent the security constraints to be applied to all HTTP protocol methods for which a correspondingHttpMethodConstraint
element does NOT occur within theServletSecurity
annotation.This annotation is used within theServletSecurity
annotation to represent security constraints on specific HTTP protocol messages.Annotation that may be specified on aServlet
class, indicating that instances of the Servlet expect requests that conform to the multipart/form-data MIME type.This annotation is used on a Servlet implementation class to specify security constraints to be enforced by a Servlet container on HTTP protocol messages.Defines the access semantic to be applied to an empty rolesAllowed array.Defines the data protection requirements that must be satisfied by the transportAnnotation used to declare a servlet filter.This annotation is used on a Servlet or Filter implementation class to specify an initialization parameter.This annotation is used to declare a WebListener.Annotation used to declare a servlet.