クラスの使用
jakarta.servlet.HttpMethodConstraintElement
HttpMethodConstraintElement を使用するパッケージ パッケージ 説明 jakarta.servlet jakarta.servlet パッケージには、サーブレットクラスと、準拠するサーブレットコンテナーによってそのようなクラスのインスタンスに提供されるランタイム環境との間の規約を記述および定義する多数のクラスとインターフェースが含まれています。jakarta.servlet 内の HttpMethodConstraintElement 使用
型 HttpMethodConstraintElement の引数を持つ型を返す jakarta.servlet のメソッド 修飾子と型 メソッド 説明 CollectionSE<HttpMethodConstraintElement>ServletSecurityElement. getHttpMethodConstraints()HTTP メソッド固有の制約要素の(おそらく空の)コレクションを取得します。型の型引数を持つ jakarta.servlet のコンストラクターパラメーター HttpMethodConstraintElement コンストラクター 説明 ServletSecurityElement(HttpConstraintElement constraint, CollectionSE<HttpMethodConstraintElement> methodConstraints)デフォルトの Constraint 要素と HTTP メソッド固有の制約要素のコレクションを使用してインスタンスを構築します。ServletSecurityElement(CollectionSE<HttpMethodConstraintElement> methodConstraints)デフォルトのHttpConstraintElement値をデフォルトの Constraint 要素として使用し、HTTP メソッド固有の制約要素のコレクションを使用してインスタンスを構築します。