Uses of Package
jakarta.servlet.annotation
Package
Description
The jakarta.servlet package contains a number of classes and interfaces that describe and define the contracts between a servlet class and the runtime environment provided for an instance of such a class by a conforming servlet container.
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.
-
ClassDescriptionThis annotation is used to declare the class types that a
ServletContainerInitializer
can handle. -
ClassDescriptionAnnotation that may be specified on a
Servlet
class, indicating that instances of the Servlet expect requests that conform to the multipart/form-data MIME type. -
ClassDescriptionAnnotation that may be specified on a
Servlet
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 transport -
ClassDescriptionDefines the access semantic to be applied to an empty rolesAllowed array.Defines the data protection requirements that must be satisfied by the transport