net.jp.saf.sastruts.method.helpers.impl
クラス ThrowExceptionErrorHandler

java.lang.Object
  上位を拡張 net.jp.saf.sastruts.method.helpers.impl.AbstractErrorHandler
      上位を拡張 net.jp.saf.sastruts.method.helpers.impl.ThrowExceptionErrorHandler
すべての実装されたインタフェース:
Serializable, ErrorHandler

public class ThrowExceptionErrorHandler
extends AbstractErrorHandler

MethodNotAllowedRuntimeExceptionを発生させるハンドラです.

作成者:
k-minemoto
関連項目:
直列化された形式

コンストラクタの概要
ThrowExceptionErrorHandler()
           
 
メソッドの概要
 String error(HttpServletRequest request, HttpServletResponse response, HttpMethod[] allowed, String method)
          エラー処理を行います.
 
クラス net.jp.saf.sastruts.method.helpers.impl.AbstractErrorHandler から継承されたメソッド
allowHeaderValue, throwMethodNotAllowedRuntimeException
 
クラス java.lang.Object から継承されたメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

コンストラクタの詳細

ThrowExceptionErrorHandler

public ThrowExceptionErrorHandler()
メソッドの詳細

error

public String error(HttpServletRequest request,
                    HttpServletResponse response,
                    HttpMethod[] allowed,
                    String method)
エラー処理を行います.

パラメータ:
request - HttpServletRequest
response - HttpServletResponse
allowed - 許可されているHttpMethodの配列
method - 実際に呼び出されたメソッド
戻り値:
フォワード先のパス. フォワードしない場合nullを返すこと.


Copyright © 2013 k-minemoto. All Rights Reserved.