HttpMethodConstraint annotation value.
| Modifier and Type | Field and Description |
|---|---|
| private final String |
| Access | Constructor and Description |
|---|---|
| public | HttpMethodConstraintElement(String
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 7231 methodName)Constructs an instance with default |
| public | HttpMethodConstraintElement(String
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 7231 methodName, HttpConstraintElement the HTTPconstraintElement value to assign to the named HTTP method constraint)Constructs an instance with specified |
| Modifier and Type | Method and Description |
|---|---|
| public String |
| methodName | back to summary |
|---|---|
| private final String methodName | |
| HttpMethodConstraintElement | back to summary |
|---|---|
| public HttpMethodConstraintElement(String methodName) Constructs an instance with default
| |
| HttpMethodConstraintElement | back to summary |
|---|---|
| public HttpMethodConstraintElement(String methodName, HttpConstraintElement constraint) Constructs an instance with specified
| |
| getMethodName | back to summary |
|---|---|
| public String getMethodName() Gets the HTTP method name.
| |