java.lang.Object
jakarta.servlet.HttpConstraintElement
jakarta.servlet.HttpMethodConstraintElement
-
Constructor Summary
ConstructorDescriptionHttpMethodConstraintElement
(String methodName) Constructs an instance with defaultHttpConstraintElement
value.HttpMethodConstraintElement
(String methodName, HttpConstraintElement constraint) Constructs an instance with specifiedHttpConstraintElement
value. -
Method Summary
Methods inherited from class jakarta.servlet.HttpConstraintElement
getEmptyRoleSemantic, getRolesAllowed, getTransportGuarantee
-
Constructor Details
-
HttpMethodConstraintElement
Constructs an instance with defaultHttpConstraintElement
value.- Parameters:
methodName
- the name of an HTTP protocol method. The name must not be null, or the empty string, and must be a legitimate HTTP Method name as defined by RFC 7231
-
HttpMethodConstraintElement
Constructs an instance with specifiedHttpConstraintElement
value.- Parameters:
methodName
- the name of an HTTP protocol method. The name must not be null, or the empty string, and must be a legitimate HTTP Method name as defined by RFC 7231constraint
- the HTTPconstraintElement value to assign to the named HTTP method
-
-
Method Details
-
getMethodName
-