net.jp.saf.sastruts.method.helpers.impl
クラス NotImplementedErrorHandler
java.lang.Object
net.jp.saf.sastruts.method.helpers.impl.AbstractErrorHandler
net.jp.saf.sastruts.method.helpers.impl.NotImplementedErrorHandler
- すべての実装されたインタフェース:
- Serializable, ErrorHandler
public class NotImplementedErrorHandler
- extends AbstractErrorHandler
ステータス501「Not Implemented」を返すハンドラです.
- 作成者:
- k-minemoto
- 関連項目:
- 直列化された形式
| クラス java.lang.Object から継承されたメソッド |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
forward
protected String forward
NotImplementedErrorHandler
public NotImplementedErrorHandler()
setForward
public void setForward(String forward)
- エラー時のフォワード先を設定します.
- パラメータ:
forward - フォワード先. デフォルトはnull
error
public String error(HttpServletRequest request,
HttpServletResponse response,
HttpMethod[] allowed,
String method)
- エラー処理を行います.
- パラメータ:
request - HttpServletRequestresponse - HttpServletResponseallowed - 許可されているHttpMethodの配列method - 実際に呼び出されたメソッド
- 戻り値:
- フォワード先のパス. フォワードしない場合nullを返すこと.
Copyright © 2013 k-minemoto. All Rights Reserved.