Package javax.servlet
Class HttpMethodConstraintElement
- 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(String methodName)
Constructor.HttpMethodConstraintElement(String methodName, HttpConstraintElement constraint)
Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getMethodName()
Get the HTTP method name.-
Methods inherited from class javax.servlet.HttpConstraintElement
getEmptyRoleSemantic, getRolesAllowed, getTransportGuarantee
-
-
-
-
Constructor Detail
-
HttpMethodConstraintElement
public HttpMethodConstraintElement(String methodName)
Constructor.- Parameters:
methodName
- the HTTP method name.
-
HttpMethodConstraintElement
public HttpMethodConstraintElement(String methodName, HttpConstraintElement constraint)
Constructor.- Parameters:
methodName
- the HTTP method name.constraint
- the constraint.
-
-
Method Detail
-
getMethodName
public String getMethodName()
Get the HTTP method name.- Returns:
- the HTTP method name
-
-