This section describes the list of annotations included in the javax.servlet.annotation package.
Annotation name | Functionality |
---|---|
@HandlesTypes | This annotation specifies the class type that deals with the implementation class of the ServletContainerInitializer interface. |
@HttpConstraint | This annotation specifies the default security constraint. |
@HttpMethodConstraint | This annotation specifies the security constraints of the HTTP method. |
@MultipartConfig | This annotation specifies the settings for the Servlet that deals with multipart/form-data requests. |
@ServletSecurity | This annotation specifies the Servlet security constraints. |
@WebInitParam | This annotation specifies the initial parameters of Servlet or filter. |
@WebFilter | This annotation specifies the filer. |
@WebListener | This annotation specifies the listener. |
@WebServlet | This annotation specifies the Servlet. |