|
DRAFT | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjavax.servlet.HttpConstraintElement
javax.servlet.HttpMethodConstraintElement
public class HttpMethodConstraintElement
Java Class represntation of an HttpMethodConstraint annotation value.
| Constructor Summary | |
|---|---|
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. |
|
| Method Summary | |
|---|---|
java.lang.String |
getMethodName()
Gets the HTTP method name. |
| Methods inherited from class javax.servlet.HttpConstraintElement |
|---|
getEmptyRoleSemantic, getRolesAllowed, getTransportGuarantee |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public 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 2616
public 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| Method Detail |
|---|
public java.lang.String getMethodName()
|
DRAFT | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
Copyright © 2009 Sun Microsystems, Inc. All Rights Reserved. Use is subject to license terms.
Generated on 24-November-2009 03:24