2.8 javax.servlet.annotation package

This section describes the list of annotations included in the javax.servlet.annotation package.

Annotation list
Annotation nameFunctionality
@HandlesTypesThis annotation specifies the class type that deals with the implementation class of the ServletContainerInitializer interface.
@HttpConstraintThis annotation specifies the default security constraint.
@HttpMethodConstraintThis annotation specifies the security constraints of the HTTP method.
@MultipartConfigThis annotation specifies the settings for the Servlet that deals with multipart/form-data requests.
@ServletSecurityThis annotation specifies the Servlet security constraints.
@WebInitParamThis annotation specifies the initial parameters of Servlet or filter.
@WebFilterThis annotation specifies the filer.
@WebListenerThis annotation specifies the listener.
@WebServletThis annotation specifies the Servlet.
Organization of this section
2.8.1 @HandlesTypes
2.8.2 @HttpConstraint
2.8.3 @HttpMethodConstraint
2.8.4 @MultipartConfig
2.8.5 @ServletSecurity
2.8.6 @WebInitParam
2.8.7 @WebFilter
2.8.8 @WebListener
2.8.9 @WebServlet