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

ActionResult を使用しているパッケージ
org.seasar.cubby.action アプリケーション開発者が使用するビューコントローラー部分を提供します。 
org.seasar.cubby.examples.guice.action   
org.seasar.cubby.examples.s2.action   
org.seasar.cubby.examples.spring.action   
org.seasar.cubby.internal.controller フレームワーク内部のコントローラに関する機能を提供します。 
org.seasar.cubby.plugin プラグイン機能を提供します。 
org.seasar.cubby.plugins.s2.unit S2Container 向けに Cubby の単体テストをサポートするクラスを提供します。 
org.seasar.cubby.unit JUnit によるテストをサポートするクラスを提供します。 
org.seasar.cubby.validator 入力検証に関する機能を提供します。 
 

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

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

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

ActionResult を返す org.seasar.cubby.examples.guice.action のメソッド
 ActionResult HelloAction.back()
           
 ActionResult IndexAction.index()
           
 ActionResult HelloAction.index()
           
 ActionResult HelloAction.message()
           
 

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

ActionResult を返す org.seasar.cubby.examples.s2.action のメソッド
 ActionResult HelloAction.back()
           
 ActionResult IndexAction.index()
           
 ActionResult HelloAction.index()
           
 ActionResult HelloAction.message()
           
 

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

ActionResult を返す org.seasar.cubby.examples.spring.action のメソッド
 ActionResult HelloAction.back()
           
 ActionResult IndexAction.index()
           
 ActionResult HelloAction.index()
           
 ActionResult HelloAction.message()
           
 

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

ActionResult を返す org.seasar.cubby.internal.controller のメソッド
 ActionResult ActionResultWrapper.getActionResult()
          ラップされた ActionResult を取得します。
 

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

ActionResult を返す org.seasar.cubby.plugin のメソッド
 ActionResult ActionResultInvocation.getActionResult()
          アクションの実行結果を取得します。
 ActionResult Plugin.invokeAction(ActionInvocation invocation)
          アクションメソッドを実行します。
 ActionResult AbstractPlugin.invokeAction(ActionInvocation invocation)
          アクションメソッドを実行します。
 ActionResult Plugin.invokeValidation(ValidationInvocation invocation)
          入力検証を実行します。
 ActionResult AbstractPlugin.invokeValidation(ValidationInvocation invocation)
          入力検証を実行します。
 

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

ActionResult を返す org.seasar.cubby.plugins.s2.unit のメソッド
protected  ActionResult CubbyTestCase.processAction(HttpServletRequest request, HttpServletResponse response)
          アクションメソッドを実行します。
protected  ActionResult CubbyTestCase.processAction(String path)
          指定されたパスのアクションメソッドを実行します。
 

ActionResult 型のパラメータを持つ org.seasar.cubby.plugins.s2.unit のメソッド
static void CubbyTestCase.assertPathEquals(Class<? extends ActionResult> expectedType, String expectedPath, ActionResult actual)
          指定された ActionResult の型とパスを検証します。
static void CubbyTestCase.assertPathEquals(Class<? extends ActionResult> expectedType, String expectedPath, ActionResult actual, String characterEncoding)
          指定された ActionResult の型とパスを検証します。
static void CubbyTestCase.assertPathEquals(String message, Class<? extends ActionResult> expectedType, String expectedPath, ActionResult actual)
          指定された ActionResult の型とパスを検証します。
static void CubbyTestCase.assertPathEquals(String message, Class<? extends ActionResult> expectedType, String expectedPath, ActionResult actual, String characterEncoding)
          指定された ActionResult の型とパスを検証します。
 

ActionResult 型の型引数を持つ org.seasar.cubby.plugins.s2.unit のメソッドパラメータ
static void CubbyTestCase.assertPathEquals(Class<? extends ActionResult> expectedType, String expectedPath, ActionResult actual)
          指定された ActionResult の型とパスを検証します。
static void CubbyTestCase.assertPathEquals(Class<? extends ActionResult> expectedType, String expectedPath, ActionResult actual, String characterEncoding)
          指定された ActionResult の型とパスを検証します。
static void CubbyTestCase.assertPathEquals(String message, Class<? extends ActionResult> expectedType, String expectedPath, ActionResult actual)
          指定された ActionResult の型とパスを検証します。
static void CubbyTestCase.assertPathEquals(String message, Class<? extends ActionResult> expectedType, String expectedPath, ActionResult actual, String characterEncoding)
          指定された ActionResult の型とパスを検証します。
 

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

ActionResult 型の型パラメータを持つ org.seasar.cubby.unit のクラス
protected static class CubbyAssert.ActionResultAssert<T extends ActionResult,E>
           
protected static class CubbyAssert.PathAssert<T extends ActionResult>
           
 

ActionResult を返す org.seasar.cubby.unit のメソッド
static ActionResult CubbyRunner.processAction(HttpServletRequest request, HttpServletResponse response, Filter... filters)
          リクエストに応じたアクションを実行します。
static ActionResult CubbyRunner.processAction(ServletContext servletContext, HttpServletRequest request, HttpServletResponse response, Filter... filters)
          リクエストに応じたアクションを実行します。
static ActionResult CubbyRunner.processActionAndExecuteActionResult(HttpServletRequest request, HttpServletResponse response, Filter... filters)
          リクエストに応じたアクションを実行し、その結果の ActionResult も実行します。
static ActionResult CubbyRunner.processActionAndExecuteActionResult(ServletContext servletContext, HttpServletRequest request, HttpServletResponse response, Filter... filters)
          リクエストに応じたアクションを実行し、その結果の ActionResult も実行します。
 

ActionResult 型のパラメータを持つ org.seasar.cubby.unit のメソッド
protected static
<E> void
CubbyAssert.assertActionResult(String message, Class<? extends ActionResult> expectedType, ActionResult actualResult, List<CubbyAssert.ActionResultAssert<?,E>> asserters, E expected, Object... args)
           
static void CubbyAssert.assertPathEquals(Class<? extends ActionResult> expectedType, String expectedPath, ActionResult actual)
          指定された ActionResult の型とパスを検証します。
static void CubbyAssert.assertPathEquals(Class<? extends ActionResult> expectedType, String expectedPath, ActionResult actual, String characterEncoding)
          指定された ActionResult の型とパスを検証します。
static void CubbyAssert.assertPathEquals(String message, Class<? extends ActionResult> expectedType, String expectedPath, ActionResult actual)
          指定された ActionResult の型とパスを検証します。
static void CubbyAssert.assertPathEquals(String message, Class<? extends ActionResult> expectedType, String expectedPath, ActionResult actual, String characterEncoding)
          指定された ActionResult の型とパスを検証します。
 void CubbyAssert.ActionResultAssert.assertType(String message, ActionResult actualResult, E expected, Object... args)
           
 

ActionResult 型の型引数を持つ org.seasar.cubby.unit のメソッドパラメータ
protected static
<E> void
CubbyAssert.assertActionResult(String message, Class<? extends ActionResult> expectedType, ActionResult actualResult, List<CubbyAssert.ActionResultAssert<?,E>> asserters, E expected, Object... args)
           
static void CubbyAssert.assertPathEquals(Class<? extends ActionResult> expectedType, String expectedPath, ActionResult actual)
          指定された ActionResult の型とパスを検証します。
static void CubbyAssert.assertPathEquals(Class<? extends ActionResult> expectedType, String expectedPath, ActionResult actual, String characterEncoding)
          指定された ActionResult の型とパスを検証します。
static void CubbyAssert.assertPathEquals(String message, Class<? extends ActionResult> expectedType, String expectedPath, ActionResult actual)
          指定された ActionResult の型とパスを検証します。
static void CubbyAssert.assertPathEquals(String message, Class<? extends ActionResult> expectedType, String expectedPath, ActionResult actual, String characterEncoding)
          指定された ActionResult の型とパスを検証します。
 

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

ActionResult を返す org.seasar.cubby.validator のメソッド
 ActionResult DefaultValidationRules.fail(String errorPage)
          入力検証にエラーがあった場合に呼び出されます。
 ActionResult ValidationRules.fail(String errorPage)
          入力検証にエラーがあった場合に呼び出されます。
 ActionResult ValidationFailBehaviour.getValidationErrorActionResult(ActionContext actionContext)
          入力検証でエラーがあった場合に画面遷移を制御するための ActionResult を取得します。
 

ActionResult 型のパラメータを持つ org.seasar.cubby.validator のコンストラクタ
ValidationException(ActionResult actionResult)
          新規例外を構築します。
 



Copyright © 2006-2010 The Seasar Foundation. All Rights Reserved.