Top Annotations
module tomcat.embed.core

Package jakarta.servlet.annotation


Annotation Summary

Modifier and TypeAnnotation and Description
public @interface
HandlesTypes

This annotation is used to declare an array of application classes which are passed to a jakarta.servlet.ServletContainerInitializer.

public @interface
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 corresponding jakarta.servlet.annotation.HttpMethodConstraint in a jakarta.servlet.annotation.ServletSecurity annotation.

public @interface
HttpMethodConstraint

Specific security constraints can be applied to different types of request, differentiated by the HTTP protocol method type by using this annotation inside the jakarta.servlet.annotation.ServletSecurity annotation.

public @interface
MultipartConfig

This annotation is used to indicate that the jakarta.servlet.Servlet on which it is declared expects requests to made using the multipart/form-data MIME type.

public @interface
ServletSecurity

Declare this annotation on a jakarta.servlet.Servlet implementation class to enforce security constraints on HTTP protocol requests.

public @interface
WebFilter

The annotation used to declare a Servlet jakarta.servlet.Filter.

public @interface
WebInitParam

The annotation used to declare an initialization parameter on a jakarta.servlet.Servlet or jakarta.servlet.Filter, within a jakarta.servlet.annotation.WebFilter or jakarta.servlet.annotation.WebServlet annotation.

public @interface
WebListener

The annotation used to declare a listener for various types of event, in a given web application context.

public @interface
WebServlet

This annotation is used to declare the configuration of a jakarta.servlet.Servlet.