java.lang.Object
javax.servlet.HttpConstraintElement
javax.servlet.HttpMethodConstraintElement
public class HttpMethodConstraintElement extends HttpConstraintElement
The HttpMethodConstraintElement API.
- Author:
- Manfred Riem ([email protected])
-
Constructor Summary
Constructors Constructor Description HttpMethodConstraintElement(java.lang.String methodName)
Constructor.HttpMethodConstraintElement(java.lang.String methodName, HttpConstraintElement constraint)
Constructor. -
Method Summary
Modifier and Type Method Description java.lang.String
getMethodName()
Get the HTTP method name.Methods inherited from class javax.servlet.HttpConstraintElement
getEmptyRoleSemantic, getRolesAllowed, getTransportGuarantee
-
Constructor Details
-
HttpMethodConstraintElement
public HttpMethodConstraintElement(java.lang.String methodName)Constructor.- Parameters:
methodName
- the HTTP method name.
-
HttpMethodConstraintElement
Constructor.- Parameters:
methodName
- the HTTP method name.constraint
- the constraint.
-
-
Method Details
-
getMethodName
public java.lang.String getMethodName()Get the HTTP method name.- Returns:
- the HTTP method name
-