org.seasar.cubby.controller.impl
クラス ActionProcessorImpl

java.lang.Object
  上位を拡張 org.seasar.cubby.controller.impl.ActionProcessorImpl
すべての実装されたインタフェース:
ActionProcessor

public class ActionProcessorImpl
extends Object
implements ActionProcessor

リクエストのパスを元にアクションメソッドを決定して実行するクラスの実装です。

導入されたバージョン:
1.0.0
作成者:
baba

コンストラクタの概要
ActionProcessorImpl()
           
 
メソッドの概要
 ActionResult process(HttpServletRequest request, HttpServletResponse response, FilterChain chain)
          リクエストのパスを元にアクションメソッドを決定して実行します。
 void setActionContext(ActionContext context)
          アクションのコンテキストを設定します。
 void setActionDefBuilder(ActionDefBuilder actionDefBuilder)
          アクションの定義を組み立てるビルダを設定します。
 
クラス java.lang.Object から継承されたメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

コンストラクタの詳細

ActionProcessorImpl

public ActionProcessorImpl()
メソッドの詳細

setActionContext

public void setActionContext(ActionContext context)
アクションのコンテキストを設定します。

パラメータ:
context - アクションのコンテキスト

setActionDefBuilder

public void setActionDefBuilder(ActionDefBuilder actionDefBuilder)
アクションの定義を組み立てるビルダを設定します。

パラメータ:
actionDefBuilder - アクションの定義を組み立てるビルダ

process

public ActionResult process(HttpServletRequest request,
                            HttpServletResponse response,
                            FilterChain chain)
                     throws Exception
リクエストのパスを元にアクションメソッドを決定して実行します。

定義:
インタフェース ActionProcessor 内の process
パラメータ:
request - リクエスト
response - レスポンス
chain - フィルターチェイン
戻り値:
実行結果。アクションメソッドが存在しない場合はnull。
例外:
Exception - アクションの実行時に例外が発生した場合


Copyright ツゥ 2006-2008 The Seasar Foundation. All Rights Reserved.