インタフェース
org.seasar.cubby.action.ActionResult の使用

ActionResult を使用しているパッケージ
org.seasar.cubby.action アプリケーション開発者が使用するビューコントローラー部分を提供します。 
org.seasar.cubby.controller Cubbyフレームワークが使用するビューコントローラに関する機能を提供します。 
org.seasar.cubby.controller.impl Cubbyフレームワークが使用するビューコントローラに関する機能の実装を提供します。 
org.seasar.cubby.unit Cubbyの単体テストをサポートするクラスを提供します。 
 

org.seasar.cubby.action での ActionResult の使用
 

ActionResult を実装している org.seasar.cubby.action のクラス
 class Direct
          アクションメソッドから直接レスポンスを返すことを示す ActionResult です。
 class Forward
          指定されたパスにフォワードする ActionResult です。
 class Json
          JSON 形式のレスポンスを返す ActionResult です。
 class Redirect
          指定されたパスにリダイレクトする ActionResult です。
 

org.seasar.cubby.controller での ActionResult の使用
 

ActionResult を返す org.seasar.cubby.controller のメソッド
 ActionResult ActionContext.invoke()
          このコンテキストが保持するアクションを実行します。
 ActionResult ActionProcessor.process(HttpServletRequest request, HttpServletResponse response, FilterChain chain)
          リクエストのパスを元にアクションメソッドを決定して実行します。
 

org.seasar.cubby.controller.impl での ActionResult の使用
 

ActionResult を返す org.seasar.cubby.controller.impl のメソッド
 ActionResult ActionContextImpl.invoke()
          このコンテキストが保持するアクションを実行します。
 ActionResult ActionProcessorImpl.process(HttpServletRequest request, HttpServletResponse response, FilterChain chain)
          リクエストのパスを元にアクションメソッドを決定して実行します。
 

org.seasar.cubby.unit での ActionResult の使用
 

ActionResult を返す org.seasar.cubby.unit のメソッド
protected  ActionResult CubbyTestCase.processAction(String orginalPath)
          アクションメソッドを実行します。
 

ActionResult 型のパラメータを持つ org.seasar.cubby.unit のメソッド
static void CubbyTestCase.assertPathEquals(Class<? extends ActionResult> resultClass, String expectedPath, ActionResult actualResult)
          ActionResultの型とパスをチェックします。
 

Method parameters in org.seasar.cubby.unit with type arguments of type ActionResult
static void CubbyTestCase.assertPathEquals(Class<? extends ActionResult> resultClass, String expectedPath, ActionResult actualResult)
          ActionResultの型とパスをチェックします。
 



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