|
|||||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | ||||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | ||||||||||
java.lang.Object | +--jp.morpho.webapp.action.impl.ActionHandlerChainImpl
ActionMappingManager の実装です。 ActionMappingManagerImpl が返すアクションハンドラチェインで、ActionHandlerChain の基本動作を実装します。
新たに ActionMappingManager を実装する場合は、ActionHandlerChain インタフェースの実装としてこのクラスを使用するか、または 新たに ActionHandlerChain インタフェースを実装して必要なメソッドを定義します。
| コンストラクタの概要 | |
ActionHandlerChainImpl(ActionMappingManager amm,
java.lang.String servletPath,
java.lang.String status,
java.lang.String action)
FrameworkContextAdapter を作成します。 |
|
| メソッドの概要 | |
void |
cancelActionHandlers()
|
void |
cancelActionView()
|
void |
doActionHandler(HttpActionRequest request,
HttpActionResponse response)
チェーン内の次のアクションハンドラを呼び出します。 |
void |
skipActionHandlers(int skip)
|
| クラス java.lang.Object から継承したメソッド |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| コンストラクタの詳細 |
public ActionHandlerChainImpl(ActionMappingManager amm,
java.lang.String servletPath,
java.lang.String status,
java.lang.String action)
FrameworkContextAdapter を作成します。
amm - アクションマッピングマネージャservletPath - 要求を受け取ったサーブレットのパスstatus - 要求を処理するステータスの値action - 要求を処理するアクションの値| メソッドの詳細 |
public void doActionHandler(HttpActionRequest request,
HttpActionResponse response)
throws ActionHandlerException
チェーン内の次のアクションハンドラを呼び出します。 呼び出し中のアクションハンドラがチェーン内の最後のアクションハンドラである場合は、アクションビューを応答にインクルードします。
ActionHandlerChain 内の doActionHandlerrequest - チェーンに沿って渡す要求response - チェーンに沿って渡す応答
ActionHandlerException - アクションハンドラの通常の処理を妨げる例外が発生した場合ActionHandlerChain.doActionHandler(HttpActionRequest, HttpActionResponse)public void cancelActionHandlers()
ActionHandlerChain 内の cancelActionHandlersActionHandlerChain.cancelActionHandlers()public void cancelActionView()
ActionHandlerChain 内の cancelActionViewActionHandlerChain.cancelActionView()public void skipActionHandlers(int skip)
ActionHandlerChain 内の skipActionHandlersActionHandlerChain.skipActionHandlers(int)
|
|||||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | ||||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | ||||||||||