Uses of Package
jakarta.servlet.annotation
-
Packages that use jakarta.servlet.annotation Package Description jakarta.servlet 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.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. -
Classes in jakarta.servlet.annotation used by jakarta.servlet Class Description MultipartConfig This annotation is used to indicate that theServleton which it is declared expects requests to made using themultipart/form-dataMIME type.ServletSecurity Declare this annotation on aServletimplementation class to enforce security constraints on HTTP protocol requests.
The container applies constraints to the URL patterns mapped to each Servlet which declares this annotation.
ServletSecurity.EmptyRoleSemantic Represents the two possible values of the empty role semantic, active when a list of role names is empty.ServletSecurity.TransportGuarantee Represents the two possible values of data transport, encrypted or not. -
Classes in jakarta.servlet.annotation used by jakarta.servlet.annotation Class Description HttpConstraint This annotation represents the security constraints that are applied to all requests with HTTP protocol method types that are not otherwise represented by a correspondingHttpMethodConstraintin aServletSecurityannotation.HttpMethodConstraint Specific security constraints can be applied to different types of request, differentiated by the HTTP protocol method type by using this annotation inside theServletSecurityannotation.ServletSecurity.EmptyRoleSemantic Represents the two possible values of the empty role semantic, active when a list of role names is empty.ServletSecurity.TransportGuarantee Represents the two possible values of data transport, encrypted or not.WebInitParam The annotation used to declare an initialization parameter on aServletorFilter, within aWebFilterorWebServletannotation.
E.g.