public class HttpMethodConstraintElement extends HttpConstraintElement
HttpMethodConstraintアノテーションの値を表現するJavaクラスです。| コンストラクタと説明 |
|---|
HttpMethodConstraintElement(String methodName)
デフォルトの
HttpConstraintElementの値でインスタンスを生成します。 |
HttpMethodConstraintElement(String methodName,
HttpConstraintElement constraint)
指定された
HttpConstraintElementの値でインスタンスを生成します。 |
| 修飾子とタイプ | メソッドと説明 |
|---|---|
String |
getMethodName()
HTTPメソッドの名前を取得します。
|
getEmptyRoleSemantic, getRolesAllowed, getTransportGuaranteepublic HttpMethodConstraintElement(String methodName)
HttpConstraintElementの値でインスタンスを生成します。methodName - HTTPプロトコルのメソッドの名前、valueはnullや空の文字列であってはならず、RFC 2616で定義されたHTTPメソッド名である必要があるpublic HttpMethodConstraintElement(String methodName, HttpConstraintElement constraint)
HttpConstraintElementの値でインスタンスを生成します。methodName - HTTPプロトコルのメソッドの名前、valueはnullや空の文字列であってはならず、RFC 2616で定義されたHTTPメソッド名である必要があるconstraint - 名前を指定されたHTTPメソッドに割り当てられるHTTPconstraintElementの値public String getMethodName()
Copyright © 1999-2017, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms. Portions Copyright © 1999-2002 The Apache Software Foundation. Portions Copyright © 2017- @megascus. Translated by @megascus.