|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |
java.lang.Object org.seasar.cubby.action.SendError
public class SendError
エラーのレスポンスを返すことを示す ActionResult
です。
アクションメソッドの戻り値としてこのインスタンスを指定すると、エラーのレスポンスを返します。
コンストラクタの概要 | |
---|---|
SendError(int statusCode)
インスタンスを生成します。 |
|
SendError(int statusCode,
String message)
インスタンスを生成します。 |
メソッドの概要 | |
---|---|
void |
execute(Action action,
Class<? extends Action> actionClass,
Method method,
HttpServletRequest request,
HttpServletResponse response)
処理を実行します。 |
クラス java.lang.Object から継承されたメソッド |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
コンストラクタの詳細 |
---|
public SendError(int statusCode)
statusCode
- ステータスコードHttpServletResponse.sendError(int)
public SendError(int statusCode, String message)
statusCode
- ステータスコードmessage
- メッセージHttpServletResponse.sendError(int, String)
メソッドの詳細 |
---|
public void execute(Action action, Class<? extends Action> actionClass, Method method, HttpServletRequest request, HttpServletResponse response) throws Exception
ActionResult
内の execute
action
- アクションactionClass
- アクションクラスmethod
- アクションメソッドrequest
- リクエストresponse
- レスポンス
Exception
|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |