public class HttpMethodConstraintElement extends HttpConstraintElement
Constructor and Description |
---|
HttpMethodConstraintElement(java.lang.String methodName)
Construct an instance for the given HTTP method name and a default
HttpConstraintElement . |
HttpMethodConstraintElement(java.lang.String methodName,
HttpConstraintElement constraint)
Construct an instance for the given HTTP method name and
HttpConstraintElement . |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getMethodName()
Obtain the name of the HTTP method for which this constraint was
created.
|
getEmptyRoleSemantic, getRolesAllowed, getTransportGuarantee
public HttpMethodConstraintElement(java.lang.String methodName)
HttpConstraintElement
.methodName
- The HTTP method namepublic HttpMethodConstraintElement(java.lang.String methodName, HttpConstraintElement constraint)
HttpConstraintElement
.methodName
- The HTTP method nameconstraint
- The constraint for the given methodCopyright © 2000-2022 Apache Software Foundation. All Rights Reserved.