public class ServletSecurityElement extends HttpConstraintElement
ServletSecurity アノテーション値の Java クラス表現。| コンストラクターと説明 |
|---|
ServletSecurityElement() デフォルトの HttpConstraintElement 値をデフォルトの Constraint 要素として使用し、HTTP メソッド固有の制約要素を使用せずにインスタンスを構築します。 |
ServletSecurityElement(CollectionSE<HttpMethodConstraintElement> methodConstraints) デフォルトの HttpConstraintElement 値をデフォルトの Constraint 要素として使用し、HTTP メソッド固有の制約要素のコレクションを使用してインスタンスを構築します。 |
ServletSecurityElement(HttpConstraintElement constraint) デフォルトの Constraint 要素を使用し、HTTP メソッド固有の制約要素を使用せずにインスタンスを構築します。 |
ServletSecurityElement(HttpConstraintElement constraint, CollectionSE<HttpMethodConstraintElement> methodConstraints) デフォルトの Constraint 要素と HTTP メソッド固有の制約要素のコレクションを使用してインスタンスを構築します。 |
ServletSecurityElement(ServletSecurity annotation)ServletSecurity アノテーション値からインスタンスを構築します。 |
| 修飾子と型 | メソッドと説明 |
|---|---|
CollectionSE<HttpMethodConstraintElement> | getHttpMethodConstraints()HTTP メソッド固有の制約要素の(おそらく空の)コレクションを取得します。 |
CollectionSE<StringSE> | getMethodNames()HttpMethodConstraints によって指定された HTTP メソッド名のセットを取得します。 |
getEmptyRoleSemantic, getRolesAllowed, getTransportGuaranteecloneSE, equalsSE, finalizeSE, getClassSE, hashCodeSE, notifySE, notifyAllSE, toStringSE, waitSE, waitSE, waitSEpublic ServletSecurityElement()
HttpConstraintElement 値をデフォルトの Constraint 要素として使用し、HTTP メソッド固有の制約要素を使用せずにインスタンスを構築します。public ServletSecurityElement(HttpConstraintElement constraint)
constraint - HttpConstraintElement は、methodConstraints で表現されるもの以外のすべての HTTP メソッドに適用されます。public ServletSecurityElement(CollectionSE<HttpMethodConstraintElement> methodConstraints)
HttpConstraintElement 値をデフォルトの Constraint 要素として使用し、HTTP メソッド固有の制約要素のコレクションを使用してインスタンスを構築します。methodConstraints - HTTP メソッド固有の制約要素のコレクション IllegalArgumentExceptionSE - 重複するメソッド名が検出された場合 public ServletSecurityElement(HttpConstraintElement constraint, CollectionSE<HttpMethodConstraintElement> methodConstraints)
constraint - HttpConstraintElement は、methodConstraints で表現されるもの以外のすべての HTTP メソッドに適用されます。methodConstraints - HTTP メソッド固有の制約要素のコレクション。IllegalArgumentExceptionSE - 重複するメソッド名が検出された場合 public ServletSecurityElement(ServletSecurity annotation)
ServletSecurity アノテーション値からインスタンスを構築します。annotation - アノテーション値 IllegalArgumentExceptionSE - 重複するメソッド名が検出された場合 public CollectionSE<HttpMethodConstraintElement> getHttpMethodConstraints()
許可されている場合、返された Collection への変更は、この ServletSecurityElement に影響してはなりません。
public CollectionSE<StringSE> getMethodNames()
許可されている場合、返された Collection への変更は、この ServletSecurityElement に影響してはなりません。
Copyright © 2019 Eclipse Foundation.
Use is subject to license terms.