net.jp.saf.sastruts.method.helpers
インタフェース ErrorHandler

すべてのスーパーインタフェース:
Serializable
既知の実装クラスの一覧:
AbstractErrorHandler, MethodNotAllowedErrorHandler, NotImplementedErrorHandler, ThrowExceptionErrorHandler

public interface ErrorHandler
extends Serializable

HTTPメソッドチェックでエラーとなった時の処理を行うインタフェースです.

作成者:
k-minemoto

メソッドの概要
 String error(HttpServletRequest request, HttpServletResponse response, HttpMethod[] allowed, String method)
          エラー処理を行います.
 

メソッドの詳細

error

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.