Package javax.servlet
Class HttpMethodConstraintElement
- java.lang.Object
- 
- javax.servlet.HttpConstraintElement
- 
- javax.servlet.HttpMethodConstraintElement
 
 
- 
 public class HttpMethodConstraintElement extends HttpConstraintElement Programmatic equivalent of a security constraint defined for a single HTTP method.- Since:
- Servlet 3.0
 
- 
- 
Constructor SummaryConstructors Constructor Description HttpMethodConstraintElement(java.lang.String methodName)Construct an instance for the given HTTP method name and a defaultHttpConstraintElement.HttpMethodConstraintElement(java.lang.String methodName, HttpConstraintElement constraint)Construct an instance for the given HTTP method name andHttpConstraintElement.
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetMethodName()Obtain the name of the HTTP method for which this constraint was created.- 
Methods inherited from class javax.servlet.HttpConstraintElementgetEmptyRoleSemantic, getRolesAllowed, getTransportGuarantee
 
- 
 
- 
- 
- 
Constructor Detail- 
HttpMethodConstraintElementpublic HttpMethodConstraintElement(java.lang.String methodName) Construct an instance for the given HTTP method name and a defaultHttpConstraintElement.- Parameters:
- methodName- The HTTP method name
 
 - 
HttpMethodConstraintElementpublic HttpMethodConstraintElement(java.lang.String methodName, HttpConstraintElement constraint)Construct an instance for the given HTTP method name andHttpConstraintElement.- Parameters:
- methodName- The HTTP method name
- constraint- The constraint for the given method
 
 
- 
 
-