jp.morpho.webapp.action.impl
クラス ActionHandlerChainImpl

java.lang.Object
  |
  +--jp.morpho.webapp.action.impl.ActionHandlerChainImpl
すべての実装インタフェース:
ActionHandlerChain, java.io.Serializable

public class ActionHandlerChainImpl
extends java.lang.Object
implements ActionHandlerChain, java.io.Serializable

ActionMappingManager の実装です。 ActionMappingManagerImpl が返すアクションハンドラチェインで、ActionHandlerChain の基本動作を実装します。

新たに ActionMappingManager を実装する場合は、ActionHandlerChain インタフェースの実装としてこのクラスを使用するか、または 新たに ActionHandlerChain インタフェースを実装して必要なメソッドを定義します。

作成者:
Kumiko Hiroi
関連項目:
直列化された形式

コンストラクタの概要
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
 

コンストラクタの詳細

ActionHandlerChainImpl

public ActionHandlerChainImpl(ActionMappingManager amm,
                              java.lang.String servletPath,
                              java.lang.String status,
                              java.lang.String action)

FrameworkContextAdapter を作成します。

パラメータ:
amm - アクションマッピングマネージャ
servletPath - 要求を受け取ったサーブレットのパス
status - 要求を処理するステータスの値
action - 要求を処理するアクションの値
メソッドの詳細

doActionHandler

public void doActionHandler(HttpActionRequest request,
                            HttpActionResponse response)
                     throws ActionHandlerException

チェーン内の次のアクションハンドラを呼び出します。 呼び出し中のアクションハンドラがチェーン内の最後のアクションハンドラである場合は、アクションビューを応答にインクルードします。

定義:
インタフェース ActionHandlerChain 内の doActionHandler
パラメータ:
request - チェーンに沿って渡す要求
response - チェーンに沿って渡す応答
例外:
ActionHandlerException - アクションハンドラの通常の処理を妨げる例外が発生した場合
関連項目:
ActionHandlerChain.doActionHandler(HttpActionRequest, HttpActionResponse)

cancelActionHandlers

public void cancelActionHandlers()
定義:
インタフェース ActionHandlerChain 内の cancelActionHandlers
関連項目:
ActionHandlerChain.cancelActionHandlers()

cancelActionView

public void cancelActionView()
定義:
インタフェース ActionHandlerChain 内の cancelActionView
関連項目:
ActionHandlerChain.cancelActionView()

skipActionHandlers

public void skipActionHandlers(int skip)
定義:
インタフェース ActionHandlerChain 内の skipActionHandlers
関連項目:
ActionHandlerChain.skipActionHandlers(int)