|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |
java.lang.Objectorg.seasar.cubby.util.ActionUtils
public class ActionUtils
アクションのユーティリティクラスです。
コンストラクタの概要 | |
---|---|
ActionUtils()
|
メソッドの概要 | |
---|---|
static ActionContext |
actionContext()
アクションコンテキストを取得します。 |
static ActionContext |
actionContext(ServletRequest request)
アクションコンテキストを取得します。 |
static boolean |
isActionClass(Class<?> clazz)
指定されたクラスがアクションクラスかを示します。 |
static boolean |
isActionMethod(Method method)
指定されたメソッドがアクションメソッドかを示します。 |
クラス java.lang.Object から継承されたメソッド |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
コンストラクタの詳細 |
---|
public ActionUtils()
メソッドの詳細 |
---|
public static ActionContext actionContext()
実行中のスレッドに対応する要求の属性からオブジェクトを取得します。
public static ActionContext actionContext(ServletRequest request)
指定された要求の属性からオブジェクトを取得します。
request
- 要求
public static boolean isActionClass(Class<?> clazz)
アクションクラスは以下のいずれかの条件を満たす必要があります。
Action
を実装しているActionClass
で修飾されている
clazz
- クラス
true
、そうでない場合は
false
public static boolean isActionMethod(Method method)
アクションメソッドは以下の条件を満たす必要があります。
ActionResult
method
- メソッド
true
、そうでない場合は
false
|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |