public class HttpMethodConstraintElement extends HttpConstraintElement
HttpMethodConstraint annotation value.| Constructor and Description |
|---|
HttpMethodConstraintElement(java.lang.String methodName)
Constructs an instance with default
HttpConstraintElement value. |
HttpMethodConstraintElement(java.lang.String methodName,
HttpConstraintElement constraint)
Constructs an instance with specified
HttpConstraintElement value. |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getMethodName()
Gets the HTTP method name.
|
getEmptyRoleSemantic, getRolesAllowed, getTransportGuaranteepublic HttpMethodConstraintElement(java.lang.String methodName)
HttpConstraintElement value.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 2616public HttpMethodConstraintElement(java.lang.String methodName,
HttpConstraintElement constraint)
HttpConstraintElement value.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 2616constraint - the HTTPconstraintElement value to assign to the named HTTP method