org.seasar.cubby.action
クラス Direct

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

public class Direct
extends Object

アクションメソッドから直接レスポンスを返すことを示す ActionResult です。

アクションメソッドの戻り値としてこのインスタンスを指定すると、後続の処理はレスポンスに何も出力しません。 アクションメソッド中でレスポンスを出力してください。

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

コンストラクタの概要
Direct()
          インスタンスを生成します。
 
メソッドの概要
 void execute(ActionContext context, HttpServletRequest request, HttpServletResponse response)
          処理を実行します。
 void prerender(ActionContext context)
          何も行いません。
 
クラス java.lang.Object から継承されたメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

コンストラクタの詳細

Direct

public Direct()
インスタンスを生成します。

メソッドの詳細

execute

public void execute(ActionContext context,
                    HttpServletRequest request,
                    HttpServletResponse response)
             throws Exception
処理を実行します。

パラメータ:
context - アクションコンテキスト
request - リクエスト
response - レスポンス
例外:
Exception

prerender

public void prerender(ActionContext context)
何も行いません。 フォワード直前の処理を実行します。

定義:
インタフェース ActionResult 内の prerender
パラメータ:
context - アクションコンテキスト


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